On Thursday, 2012/04/05, you wrote: > On tor, 2012-04-05 at 14:26 +0200, cobaco wrote: > > Package: dirmngr > > Version: 1.1.0-3 > > > > Package upgrade fails when the service is not running, running > > 'service dirmngr start' before trying again allowed the upgrade to > > proceed. > > > > Relevant output of apt-get update is below: > > > > Preparing to replace dirmngr 1.1.0-2 > > (using .../dirmngr_1.1.0-3_i386.deb) ... > > Stopping DirMngr: dirmngr failed! > > invoke-rc.d: initscript dirmngr, action "stop" failed. > > dpkg: warning: subprocess old pre-removal script returned error exit > > status 3 > > Well, this is the prerm script of the old package, so it presumably has > nothing to do with the new package. Stopping a stopped service again > has always worked, and I can't reproduce any problems with it.
> Are you by any chance using a new lsb-base? $ dpkg -s lsb-base | grep Version Version: 4.1+Debian0 which is the current version in sid > Could there be any problems with that? the lsb-base README.Debian.gz implies following exitcodes are returned currently: 0 program is running or service is OK 1 program is dead and /var/run pid file exists 2 program is dead and /var/lock lock file exists 3 program is not running 4 program or service status is unknown 5-99 reserved for future LSB use 100-149 reserved for distribution use 150-199 reserved for application use 200-254 reserved and 3 is indeed the exit code I get when sending stop command to the dirmngr init-d script when dirmngr is not running => so that indeed seems to be it -- Cheers, Cobaco (aka Bart Cornelis)
signature.asc
Description: This is a digitally signed message part.