Bug#406428: Error on upgrade from 3.1.3-2: initscript pdns-recursor, action stop failed. [...] old ( new) pre-removal script returned error exit status 1

2007-02-04 Thread Julian Mehnle
package pdns-recursor
retitle 406428 pdns-recursor: initscript stop action fails if pdns-recursor 
not running (e.g. if disabled in current runlevel), makes prerm script fail
thanks

It seems that the pdns-recursor initscript's stop action fails if pdns-
recursor is not running, e.g. if it has been disabled for the current
runlevel.  In effect, this causes the prerm script fail, e.g. on package
upgrades.

The initscript should tolerate pdns-recursor not running.


pgpLnISaB1f7P.pgp
Description: PGP signature


Bug#406428: Error on upgrade from 3.1.3-2: initscript pdns-recursor, action stop failed. [...] old ( new) pre-removal script returned error exit status 1

2007-01-10 Thread Julian Mehnle
Package: pdns-recursor
Version: 3.1.4-1
Severity: important

I just tried upgrading my slightly older Debian Testing system including
the pdns-recursor package on it.  When it came to upgrading pdns-recursor,
this is what happened:

Preparing to replace pdns-recursor 3.1.3-2 (using 
.../pdns-recursor_3.1.4-1_i386.deb) ...
Stopping PowerDNS recursor: pdns-recursorinvoke-rc.d: initscript 
pdns-recursor, action stop failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Stopping PowerDNS recursor: pdns-recursorinvoke-rc.d: initscript 
pdns-recursor, action stop failed.
dpkg: error processing 
/var/cache/apt/archives/pdns-recursor_3.1.4-1_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
[...]
Errors were encountered while processing:
 /var/cache/apt/archives/pdns-recursor_3.1.4-1_i386.deb

Repeated attempts didn't help.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (600, 'testing'), (90, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages pdns-recursor depends on:
ii  libc62.3.6.ds1-8 GNU C Library: Shared libraries
ii  libgcc1  1:4.1.1-19  GCC support library
ii  libstdc++6   4.1.1-19The GNU Standard C++ Library v3

Versions of packages pdns-recursor recommends:
ii  pdns-doc  2.9.20-7.0+spf PowerDNS manual

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]