Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libwww-curl-perl libberkeleydb-perl libdigest-sha1-perl Use 'apt-get autoremove' to remove them. The following packages will be upgraded: pdns-recursor 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0B/446kB of archives. After this operation, 0B of additional disk space will be used. (Reading database ... 224913 files and directories currently installed.) Preparing to replace pdns-recursor 3.1.7-2ubuntu0.1 (using .../pdns-recursor_3.1.7-2ubuntu0.2_i386.deb) ... + [ -x /etc/init.d/pdns-recursor ] + [ -x /usr/sbin/invoke-rc.d ] + invoke-rc.d pdns-recursor stop + set -e + . /lib/lsb/init-functions + FANCYTTY= + [ -e /etc/lsb-base-logging.sh ] + . /etc/lsb-base-logging.sh + PATH=/sbin:/bin:/usr/sbin:/usr/bin + DESC=PowerDNS recursor + NAME=pdns_recursor + DAEMON=/usr/sbin/pdns_recursor + awk -F= /^socket-dir=/ {print $2} /etc/powerdns/recursor.conf + PIDDIR= + [ -z ] + PIDDIR=/var/run + PIDFILE=/var/run/pdns_recursor.pid + test -x /usr/sbin/pdns_recursor + [ -r /etc/default/pdns-recursor ] + . /etc/default/pdns-recursor + START=yes + stop_resolvconf + [ -x /sbin/resolvconf ] + /sbin/resolvconf -d lo.pdns-recursor + return 0 + log_daemon_msg Stopping PowerDNS recursor pdns-recursor + [ -z Stopping PowerDNS recursor ] + log_use_usplash + [ n = y ] + type usplash_write + usplash_write TEXT Stopping PowerDNS recursor pdns-recursor + log_to_console log_daemon_msg Stopping PowerDNS recursor pdns-recursor + [ n != y ] + [ no != yes ] + readlink /proc/self/fd/0 + stdin=/dev/pts/3 + [ /dev/pts/3 != /dev/pts/3 ] + return 0 + log_use_fancy_output + TPUT=/usr/bin/tput + EXPR=/usr/bin/expr + [ -t 1 ] + [ xxterm != ] + [ xxterm != xdumb ] + [ -x /usr/bin/tput ] + [ -x /usr/bin/expr ] + /usr/bin/tput hpa 60 + /usr/bin/tput setaf 1 + [ -z ] + FANCYTTY=1 + true + /usr/bin/tput xenl + /usr/bin/tput cols + COLS=85 + [ 85 ] + [ 85 -gt 6 ] + /usr/bin/expr 85 - 7 + COL=78 + printf * Stopping PowerDNS recursor pdns-recursor * Stopping PowerDNS recursor pdns-recursor + /usr/bin/expr 85 - 1 + /usr/bin/tput hpa 84 + printf + stop + set +e + start-stop-daemon --stop --quiet --retry=HUP/30/TERM/5/KILL/5 --pidfile /var/run/pdns_recursor.pid --name pdns_recursor + RETVAL=1 + [ 1 = 2 ] + rm -f /var/run/pdns_recursor.pid + return 1 invoke-rc.d: initscript pdns-recursor, action "stop" failed. + exit 1 dpkg: warning - old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... + set -e + . /lib/lsb/init-functions + FANCYTTY= + [ -e /etc/lsb-base-logging.sh ] + . /etc/lsb-base-logging.sh + PATH=/sbin:/bin:/usr/sbin:/usr/bin + DESC=PowerDNS recursor + NAME=pdns_recursor + DAEMON=/usr/sbin/pdns_recursor + awk -F= /^socket-dir=/ {print $2} /etc/powerdns/recursor.conf + PIDDIR= + [ -z ] + PIDDIR=/var/run + PIDFILE=/var/run/pdns_recursor.pid + test -x /usr/sbin/pdns_recursor + [ -r /etc/default/pdns-recursor ] + . /etc/default/pdns-recursor + START=yes + stop_resolvconf + [ -x /sbin/resolvconf ] + /sbin/resolvconf -d lo.pdns-recursor + return 0 + log_daemon_msg Stopping PowerDNS recursor pdns-recursor + [ -z Stopping PowerDNS recursor ] + log_use_usplash + [ n = y ] + type usplash_write + usplash_write TEXT Stopping PowerDNS recursor pdns-recursor + log_to_console log_daemon_msg Stopping PowerDNS recursor pdns-recursor + [ n != y ] + [ no != yes ] + readlink /proc/self/fd/0 + stdin=/dev/pts/3 + [ /dev/pts/3 != /dev/pts/3 ] + return 0 + log_use_fancy_output + TPUT=/usr/bin/tput + EXPR=/usr/bin/expr + [ -t 1 ] + [ xxterm != ] + [ xxterm != xdumb ] + [ -x /usr/bin/tput ] + [ -x /usr/bin/expr ] + /usr/bin/tput hpa 60 + /usr/bin/tput setaf 1 + [ -z ] + FANCYTTY=1 + true + /usr/bin/tput xenl + /usr/bin/tput cols + COLS=85 + [ 85 ] + [ 85 -gt 6 ] + /usr/bin/expr 85 - 7 + COL=78 + printf * Stopping PowerDNS recursor pdns-recursor * Stopping PowerDNS recursor pdns-recursor + /usr/bin/expr 85 - 1 + /usr/bin/tput hpa 84 + printf + stop + set +e + start-stop-daemon --stop --quiet --retry=HUP/30/TERM/5/KILL/5 --pidfile /var/run/pdns_recursor.pid --name pdns_recursor + RETVAL=1 + [ 1 = 2 ] + rm -f /var/run/pdns_recursor.pid + return 1 invoke-rc.d: initscript pdns-recursor, action "stop" failed. dpkg: error processing /var/cache/apt/archives/pdns-recursor_3.1.7-2ubuntu0.2_i386.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 post-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/pdns-recursor_3.1.7-2ubuntu0.2_i386.deb