E: Sub-process /usr/bin/dpkg returned an error code (1)
  • The installation of version 2.0.3 was the perfect debian 6.0
    There is no error occurred by the end of the installation.
    In version 2.1.1 is experiencing the error shown below.
    I've made ​​many attempts and is always the same error.
    I do not know what to do, I've read several posts and made several attempts and the problem repeats itself.
    Anyone had this problem and found a solution that solves?


    * Database Installation
     * Creating Airtime database user
      * Database user 'airtime' created.
     * Creating Airtime database
      * Database 'airtime' already exists.
    Unable to open PDO connection [wrapped: SQLSTATE[08006] [7] FATAL:  database "airtime" does not exist]
    Database connection problem.
    Check if database 'airtime' exists with corresponding permissions.
    * Creating /etc/airtime
    * Creating /etc/monit/conf.d/monit-airtime-generic.cfg
    * Creating /etc/cron.d/airtime-crons
    * Creating /usr/lib/airtime
    * Creating symbolic links in /usr/bin
    * Creating /var/log/airtime
    * Creating /usr/share/airtime
    * Creating /var/log/airtime
    * Creating /var/tmp/airtime
    * Waiting for media-monitor processes to start...
    Starting Airtime Media Monitor: Done.
    dpkg: error processing airtime (--configure):
     subprocess installed post-installation script returned error exit status 1
    Processing triggers for python-support ...
    Errors were encountered while processing:
     airtime
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Post edited by Adam Thomas at 2012-09-28 08:05:03