[Pkg-pulseaudio-devel] Bug#498457: Upgrade fails when pulseaudio is already running

Nigel McNie nigel at mcnie.name
Wed Sep 10 05:48:06 UTC 2008


Package: pulseaudio
Version: 0.9.10-3
Severity: important

On upgrading to latest pulseaudio:

nigel at freud:~$ sudo apt-get -f install
[sudo] password for nigel: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  rubygems
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up pulseaudio (0.9.10-3) ...
Starting PulseAudio Daemon/usr/bin/pulseaudio already running.
invoke-rc.d: initscript pulseaudio, action "start" failed.
dpkg: error processing pulseaudio (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 pulseaudio
E: Sub-process /usr/bin/dpkg returned an error code (1)

No, the postinst can't start it because it's already running.

I traced it to this section in /var/lib/dpkg/pulseaudio.postinst:

# Automatically added by dh_installinit
if [ -x "/etc/init.d/pulseaudio" ]; then
    update-rc.d pulseaudio defaults 25 15 >/dev/null
    if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
        invoke-rc.d pulseaudio start || exit $?
    else
        /etc/init.d/pulseaudio start || exit $?
    fi
fi
# End automatically added section

Maybe it's debhelper's fault, I dunno :)

It might be related to bug #488754 also.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24.4-vs2.2.0.5.0.7.080408
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pulseaudio depends on:
ii  adduser                       3.110      add and remove users and groups
ii  libasound2                    1.0.16-2   ALSA library
ii  libasyncns0                   0.3-1      Asyncronous name service query lib
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.
ii  libdbus-1-3                   1.2.1-3    simple interprocess messaging syst
ii  libflac8                      1.2.1-1.2  Free Lossless Audio Codec - runtim
ii  libltdl3                      1.5.26-4   A system independent dlopen wrappe
ii  libogg0                       1.1.3-4    Ogg Bitstream Library
ii  liboil0.3                     0.3.15-1   Library of Optimized Inner Loops
ii  libpulsecore5                 0.9.10-3   PulseAudio sound server core
ii  libsamplerate0                0.1.4-1    audio rate conversion library
ii  libsndfile1                   1.0.17-4   Library for reading/writing audio 
ii  libwrap0                      7.6.q-16   Wietse Venema's TCP wrappers libra
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip

Versions of packages pulseaudio recommends:
ii  gstreamer0.10-pulseaudio     0.9.7-2     GStreamer plugin for PulseAudio
ii  libasound2-plugins           1.0.16-1+b1 ALSA library additional plugins
ii  padevchooser                 0.9.3-2     PulseAudio Device Chooser
ii  paprefs                      0.9.6-2     PulseAudio Preferences
ii  pulseaudio-esound-compat     0.9.10-3    PulseAudio ESD compatibility layer
ii  pulseaudio-module-hal        0.9.10-3    HAL device detection module for Pu
ii  pulseaudio-module-x11        0.9.10-3    X11 module for PulseAudio sound se

Versions of packages pulseaudio suggests:
ii  paman                0.9.4-1             PulseAudio Manager
ii  pavucontrol          0.9.6+svn20080426-1 PulseAudio Volume Control
ii  pavumeter            0.9.3-1             PulseAudio Volume Meter
ii  pulseaudio-utils     0.9.10-3            Command line tools for the PulseAu

-- no debconf information






More information about the Pkg-pulseaudio-devel mailing list