Bug#247804: dpkg - start-stop-daemon fails if proc is not mounted
Package: dpkg
Severity: important
Version: 1.10.20
If proc is not mounted, start-stop-daemon fails with exit code 2, leading
to lots of broken packages upon installation or removal:
root@scorpio:~# dpkg --purge cupsys
(Reading database ... 44399 files and directories currently installed.)
Removing cupsys ...
Stopping printing system service: cupsdstart-stop-daemon: nothing in /proc - not mounted?
invoke-rc.d: initscript cupsys, action "stop" failed.
dpkg: error processing cupsys (--purge):
subprocess pre-removal script returned error exit status 2
Starting printing system service: cupsdstart-stop-daemon: nothing in /proc - not mounted?
invoke-rc.d: initscript cupsys, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
cupsys
root@scorpio:~#
-- System Information:
Debian Release: testing/unstable
Architecture: i386
--
The UNIX Guru's View of Sex: gawk; talk; nice; date; wine; grep;\
touch; unzip; strip; touch; gasp; finger; gasp; mount; fsck; more;\
yes; gasp; umount; make clean; make mrproper; sleep
Reply to: