Comment 6 for bug 505788

Revision history for this message
Babu (kalakrishnan) wrote : Re: [Bug 505788] Re: Error on upgrade - Jaunty

Output of "apt-cache policy pdns-recursor"
-------------------------------------
pdns-recursor:
  Installed: 3.1.7-2ubuntu0.1
  Candidate: 3.1.7-2ubuntu0.2
  Version table:
     3.1.7-2ubuntu0.2 0
        500 http://in.archive.ubuntu.com jaunty-updates/universe Packages
        500 http://in.archive.ubuntu.com jaunty-security/universe Packages
 *** 3.1.7-2ubuntu0.1 0
        100 /var/lib/dpkg/status
     3.1.7-2 0
        500 http://in.archive.ubuntu.com jaunty/universe Packages
----------------------------------

Output of "dpkg -l pdns-recursor"

Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
iFR pdns-recursor 3.1.7-2ubuntu0 PowerDNS recursor

--------------------------------------------------------

Note that these are the outputs of the system after the failure in upgrading
the package. I haven't done anything further with it.

On Wed, Jan 13, 2010 at 10:58 PM, Imre Gergely <email address hidden> wrote:

> What version of pdns-recursor do you have installed currently? Please
> paste output of the following commands:
>
> apt-cache policy pdns-recursor
> dpkg -l 'pdns-recursor'
>
> Did you try to install a package manually? Did you edit the init script
> by any change between installs?
>
> --
> Error on upgrade - Jaunty
> https://bugs.launchpad.net/bugs/505788
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “pdns-recursor” package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: pdns-recursor
>
> On trying to update pdns-recursor through Update manager, the following
> error was reported :
>
> 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)
> 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.
>
> Tried reinstall using the command :
>
> sudo apt-get install --reinstall pdns-recursor
>
> Returns the error :
>
> 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)
>
> ProblemType: Package
> Architecture: i386
> DistroRelease: Ubuntu 9.04
> ErrorMessage: subprocess new pre-removal script returned error exit status
> 1
> Package: pdns-recursor 3.1.7-2ubuntu0.1
> SourcePackage: pdns-recursor
> Title: package pdns-recursor 3.1.7-2ubuntu0.1 failed to install/upgrade:
> subprocess new pre-removal script returned error exit status 1
> Uname: Linux 2.6.30-02063004-generic i686
>
> To unsubscribe from this bug, go to:
>
> https://bugs.launchpad.net/ubuntu/+source/pdns-recursor/+bug/505788/+subscribe
>