Upgrade to edgy: can't resolve courier packages dependency
Mario Vukelic
mario.vukelic at dantian.org
Sun Apr 8 08:52:17 UTC 2007
On Sun, 2007-04-08 at 05:00 +0100, marc wrote:
> Extract templates from packages: 100%
> Preconfiguring packages ...
> dpkg: error processing courier-authdaemon (--remove):
> Package is in a very bad inconsistent state - you should
> reinstall it before attempting a removal.
> terminate called after throwing an instance of 'std::logic_error'
> what(): basic_string::_S_construct NULL not valid
> Errors were encountered while processing:
> courier-authdaemon
> Aborted (core dumped)
Ok, courier-authdaemon is indeed borked. I am afraid (at least I can't
think of another option) you have to force a reinstall:
dpkg -i
--force-all /var/cache/apt/archives/courier-authdaemon<version>.deb
This is a bit dangerous (see the output of "dpkg --force-help" and man
dpkg), but it should bring the package into a consistent state again.
Follow up with alternating between "apt-get -f install" and "aptitude
dist-upgrade".
More information about the ubuntu-users
mailing list