Bugzilla – Bug 6574
Upgrading with apt-get fails if slimserver isn't running
Last modified: 2008-12-18 11:12:53 UTC
My upgrade from slimserver=7.0 to squeezecenter=7.0-16145 failed. This is because the install script assumed that slimserver was already running, and failed miserably when it tried to stop it. Below is a transcript of what happened (my locale is Norwegian, but I guess you get the general idea): Hent:1 http://debian.slimdevices.com unstable/main squeezecenter 7.0-16145 [17,3MB] Henta 17,3MB på 44s (392kB/s) (Leser database ... 47048 filer og kataloger er installerte.) Fjerner slimserver ... Stopping SqueezeCenter Audio Server No slimserver_safe found running; none killed. invoke-rc.d: initscript slimserver, action "stop" failed. dpkg: Feil ved behandling av slimserver (--remove): underprosessen pre-removal script returnerte feilstatus 1 Starting SqueezeCenter Audio Server. Det oppsto feil ved behandling av: slimserver E: Sub-process /usr/bin/dpkg returned an error code (1) Det lyktes ikke å installere en pakke. Prøver å gjenopprette:
Note that this is why the RPM scriptlets use a "|| :" to force a zero exit status. I don't know whether this or a similar trick is common in the Debian world.
Matt: you fixed this, right?
This was a known issue with the old Debian package. Newer packages should not exhibit this behavior. I have adjusted the start-stop-daemon options to include -o, which means that whether or not the daemon was running, exit with status '0' so the script will continue.
This bug is being closed since it was resolved for a version which is now released! Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html If you are still seeing this bug, please re-open it and we will consider it for a future release.