E: Sub-process /usr/bin/dpkg returned an error code (1) - Airtime Upgrade error
  •  I got these errors when using sudo apt-get dist-upgrade for an automated Debian 6 install:
    *** Verifying your system environment, running airtime-check-system ***
    AIRTIME_STATUS_URL             = http://localhost/api/status/format/json/api_key %%api_key%%
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = UNKNOWN
    MACHINE_ARCHITECTURE           = UNKNOWN
    TOTAL_MEMORY_MBYTES            = UNKNOWN
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = UNKNOWN
    OS                             = Debian GNU/Linux 6.0.4 (squeeze) i686
    CPU                            = Intel(R) Xeon(R) CPU           L5420  @ 2.50GHz
    WEB_SERVER                     = A
    PLAYOUT_ENGINE_PROCESS_ID      = FAILED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    PLAYOUT_ENGINE_MEM_PERC        = 0%
    PLAYOUT_ENGINE_CPU_PERC        = 0%
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    MEDIA_MONITOR_PROCESS_ID       = FAILED
    MEDIA_MONITOR_RUNNING_SECONDS  = 0
    MEDIA_MONITOR_MEM_PERC         = 0%
    MEDIA_MONITOR_CPU_PERC         = 0%
    SHOW_RECORDER_PROCESS_ID       = FAILED
    SHOW_RECORDER_RUNNING_SECONDS  = 0
    SHOW_RECORDER_MEM_PERC         = 0%
    SHOW_RECORDER_CPU_PERC         = 0%
    RABBITMQ_PROCESS_ID            = FAILED
    RABBITMQ_RUNNING_SECONDS       = 0
    RABBITMQ_MEM_PERC              = 0%
    RABBITMQ_CPU_PERC              = 0%
    -- There appears to be a problem with your Airtime installation.
    dpkg: error processing airtime (--configure):
     subprocess installed post-installation script returned error exit status 1
    Setting up dbus (1.2.24-4+squeeze1) ...
    configured to not write apport reports
    Starting system message bus: dbus.
    Setting up mp3gain (1.5.1-4) ...
    Setting up vorbisgain (0.36-3.1) ...
    Errors were encountered while processing:
     airtime
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@li134-12:~# ^C

    Any ideas?
  • 1 Comment sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    you have more than one problem ;)

    - the first thing to do : backup your postgresql database
    - remove airtime : apt-get remove --purge airtime

    doing remove airtime delete everything !
    and reintstall it
    don't forget to restore your postgresql database ;)

    the second problem is your host configuration
    apache airtime configuration is based on names and not ip