package pulseaudio 0.9.10-2ubuntu9.2 failed to install/upgrade: subprocess post-installation script returned error exit status 2

Bug #317461 reported by sanra
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: pulseaudio

Not able to install pulse audio. There is a crash ,probably in package manager when updating this.

Description: Ubuntu 8.10
Release: 8.10

package name: pulseaudio sound server.
Version: 0.9.10-2ubuntu9.2

Expected:
Pulse audio to install

What happened:
Pulse audio failed to install

Terminal Output:

apt-get install pulseaudio

==============
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  texi2html diffstat linux-headers-2.6.27-7 libraw1394-dev libavutil-dev quilt
  libdc1394-22-dev libltdl7-dev libimlib2-dev libgif-dev libtheora-dev libtool
  doxygen ogmtools linux-headers-2.6.27-7-generic vorbis-tools libgsm1-dev
  libungif4-dev
Use 'apt-get autoremove' to remove them.
Suggested packages:
  pavumeter pavucontrol paman paprefs padevchooser
The following NEW packages will be installed:
  pulseaudio
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/339kB of archives.
After this operation, 1401kB of additional disk space will be used.
Selecting previously deselected package pulseaudio.
(Reading database ... 157953 files and directories currently installed.)
Unpacking pulseaudio (from .../pulseaudio_0.9.10-2ubuntu9.2_amd64.deb) ...
Processing triggers for man-db ...
Setting up pulseaudio (0.9.10-2ubuntu9.2) ...
/usr/sbin/update-rc.d: 1: Syntax error: "(" unexpected
dpkg: error processing pulseaudio (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 pulseaudio
E: Sub-process /usr/bin/dpkg returned an error code (1)
======================

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 2
Package: pulseaudio 0.9.10-2ubuntu9.2
SourcePackage: pulseaudio
Title: package pulseaudio 0.9.10-2ubuntu9.2 failed to install/upgrade: subprocess post-installation script returned error exit status 2
Uname: Linux 2.6.27-9-generic x86_64

Revision history for this message
sanra (rao-sanath) wrote :
Revision history for this message
Daniel T Chen (crimsun) wrote :

This error is a very odd one to receive, because it's actually referring to an error in /usr/sbin/update-rc.d. What is the first (leading vertical edge, or top) line of /usr/sbin/update-rc.d?

Changed in pulseaudio:
status: New → Incomplete
Revision history for this message
alo_joe (jaybanez) wrote :

Here is the file update-rc.d

Revision history for this message
sanra (rao-sanath) wrote : Re: [Bug 317461] Re: package pulseaudio 0.9.10-2ubuntu9.2 failed to install/upgrade: subprocess post-installation script returned error exit status 2

Hi,

  Thanks for the information, error is solved now.

On Mon, Jan 19, 2009 at 11:48 AM, alo_joe <email address hidden> wrote:

> Here is the file update-rc.d
>
> ** Attachment added: "update-rc.d"
> http://launchpadlibrarian.net/21351531/update-rc.d
>
> --
> package pulseaudio 0.9.10-2ubuntu9.2 failed to install/upgrade: subprocess
> post-installation script returned error exit status 2
> https://bugs.launchpad.net/bugs/317461
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "pulseaudio" source package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: pulseaudio
>
> Not able to install pulse audio. There is a crash ,probably in package
> manager when updating this.
>
> Description: Ubuntu 8.10
> Release: 8.10
>
> package name: pulseaudio sound server.
> Version: 0.9.10-2ubuntu9.2
>
> Expected:
> Pulse audio to install
>
> What happened:
> Pulse audio failed to install
>
> Terminal Output:
>
> apt-get install pulseaudio
>
> ==============
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages were automatically installed and are no longer
> required:
> texi2html diffstat linux-headers-2.6.27-7 libraw1394-dev libavutil-dev
> quilt
> libdc1394-22-dev libltdl7-dev libimlib2-dev libgif-dev libtheora-dev
> libtool
> doxygen ogmtools linux-headers-2.6.27-7-generic vorbis-tools libgsm1-dev
> libungif4-dev
> Use 'apt-get autoremove' to remove them.
> Suggested packages:
> pavumeter pavucontrol paman paprefs padevchooser
> The following NEW packages will be installed:
> pulseaudio
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/339kB of archives.
> After this operation, 1401kB of additional disk space will be used.
> Selecting previously deselected package pulseaudio.
> (Reading database ... 157953 files and directories currently installed.)
> Unpacking pulseaudio (from .../pulseaudio_0.9.10-2ubuntu9.2_amd64.deb) ...
> Processing triggers for man-db ...
> Setting up pulseaudio (0.9.10-2ubuntu9.2) ...
> /usr/sbin/update-rc.d: 1: Syntax error: "(" unexpected
> dpkg: error processing pulseaudio (--configure):
> subprocess post-installation script returned error exit status 2
> Errors were encountered while processing:
> pulseaudio
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> ======================
>
> ProblemType: Package
> Architecture: amd64
> DistroRelease: Ubuntu 8.10
> ErrorMessage: subprocess post-installation script returned error exit
> status 2
> Package: pulseaudio 0.9.10-2ubuntu9.2
> SourcePackage: pulseaudio
> Title: package pulseaudio 0.9.10-2ubuntu9.2 failed to install/upgrade:
> subprocess post-installation script returned error exit status 2
> Uname: Linux 2.6.27-9-generic x86_64
>

--
Thanks & Rgds,
Sanath.S.Rao.
+46761307440.

Daniel T Chen (crimsun)
Changed in pulseaudio:
status: Incomplete → Invalid
Revision history for this message
pfaffman (pfaffman) wrote :

The problem is that the postinst script contains "multiuser," which is deprecated. It's not fixed as of the current version on 2009.12.09, but editing /var/lib/dpkg/info/pulseaudio.postinst and replacing "multiuser" with "defaults" fixes the problem.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 317461] Re: package pulseaudio 0.9.10-2ubuntu9.2 failed to install/upgrade: subprocess post-installation script returned error exit status 2

On Wed, Dec 9, 2009 at 12:08 PM, pfaffman <email address hidden> wrote:
> The problem is that the postinst script contains "multiuser," which is
> deprecated.  It's not fixed as of the current version on 2009.12.09, but
> editing /var/lib/dpkg/info/pulseaudio.postinst  and replacing
> "multiuser" with "defaults" fixes the problem.

No, in 8.10 this symptom is caused by a non-Ubuntu version of sysv-rc
being installed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.