package pulseaudio 1:0.9.14-0ubuntu16 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
Bug #357201 reported by
Mark Nevill
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pulseaudio (Ubuntu) |
Fix Released
|
Medium
|
Daniel T Chen |
Bug Description
Binary package hint: pulseaudio
/etc/init.
start-stop-daemon -p $PIDFILE --stop --retry TERM/3 --oknodo || status=$?
the || results in status only begin set when its non-0 -> log_end_msg exists with status 1 -> script "fails" -> update "fails". the correct version is simply to move "status=$?" onto a new line or use ";" instead of "||".
$ lsb_release -rd
Description: Ubuntu jaunty (development branch)
Release: 9.04
Related branches
lp://staging/~crimsun/pulseaudio/ubuntu
- Luke Yelavich: Pending requested
Changed in pulseaudio (Ubuntu): | |
assignee: | nobody → crimsun |
importance: | Undecided → Medium |
status: | New → In Progress |
To post a comment you must log in.
The log from the failed update attempt:
Log started: 2009-04-07 19:54:41 1%3a0.9. 14-0ubuntu17_ amd64.deb) ... pulse/pid' found running; none killed. apt/archives/ pulseaudio_ 1%3a0.9. 14-0ubuntu17_ amd64.deb (--unpack): apt/archives/ pulseaudio_ 1%3a0.9. 14-0ubuntu17_ amd64.deb
(Reading database ... 452462 files and directories currently installed.)
Preparing to replace pulseaudio 1:0.9.14-0ubuntu16 (using .../pulseaudio_
* Stopping system PulseAudio Daemon invoke-rc.d: initscript pulseaudio, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
* Stopping system PulseAudio Daemon No process in pidfile `/var/run/
invoke-rc.d: initscript pulseaudio, action "stop" failed.
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 1
* Starting system PulseAudio Daemon ^M[ OK ]
Errors were encountered while processing:
/var/cache/
Log ended: 2009-04-07 19:54:43