Package: pdns-recursor
Version: 3.1.7.1-4
Severity: normal

Hello.

I have pdns-recursor installed, but disabled on system startup:

$ cat /etc/default/pdns-recursor
# Variables for PowerDNS recursor
#
# Set START to yes to start the pdns-recursor
START=no

Upgrade fails with the following error:

Preparing to replace pdns-recursor 3.1.7.1-4 (using 
.../pdns-recursor_3.1.7.2-1_amd64.deb) ...
Stopping PowerDNS recursor: pdns-recursor (failed) failed!
invoke-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-recursor (failed) failed!
invoke-rc.d: initscript pdns-recursor, action "stop" failed.
dpkg: error processing 
/var/cache/apt/archives/pdns-recursor_3.1.7.2-1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
postinst called with unknown argument `abort-upgrade'
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/pdns-recursor_3.1.7.2-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: error processing pdns-recursor (--configure):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting configuration.
Errors were encountered while processing:
 pdns-recursor


Perhaps init.d script should check if START is no at the beginning and exit with
success status. But may be there is a better way to fix this.

Regards,
  Dmitry

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pdns-recursor depends on:
ii  adduser                       3.112      add and remove users and groups
ii  libc6                         2.10.2-5   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.2-9  GCC support library
ii  liblua5.1-0                   5.1.4-5    Simple, extensible, embeddable pro
ii  libstdc++6                    4.4.2-9    The GNU Standard C++ Library v3
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip

Versions of packages pdns-recursor recommends:
pn  pdns-doc                      <none>     (no description available)

pdns-recursor suggests no packages.

-- debconf-show failed



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

Reply via email to