[Bug 505788] Re: Error on upgrade - Jaunty

Babu kalakrishnan at gmail.com
Tue Jan 19 23:48:15 UTC 2010


No luck - even purge seems to fail. This is my console output on trying that :
--------------------------------------------------------------------------
$ sudo apt-get --purge remove pdns-recursor
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  pdns-recursor*
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 1114kB disk space will be freed.
Do you want to continue [Y/n]? y
dpkg: error processing pdns-recursor (--purge):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 pdns-recursor
E: Sub-process /usr/bin/dpkg returned an error code (1)
========================================================

I then tried the reinstall as suggested by apt-get, and that too failed with the following output :
--------------------------------------------------------------------------
$ sudo apt-get --reinstall install pdns-recursor
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  pdns-recursor
1 upgraded, 0 newly installed, 0 to remove and 3 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.
Selecting previously deselected package pdns-recursor.
(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) ...
 * Stopping PowerDNS recursor pdns-recursor                                          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                                          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
E: Sub-process /usr/bin/dpkg returned an error code (1)
========================================================

Please advice on further course of action.

-- 
Error on upgrade - Jaunty
https://bugs.launchpad.net/bugs/505788
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list