Upgrade to edgy: can't resolve courier packages dependency
marc
gmane at auxbuss.com
Sun Apr 8 04:00:39 UTC 2007
Mario Vukelic said...
> On Sat, 2007-04-07 at 02:58 +0100, marc wrote:
>
> > > Also, what happens if you do sudo "sudo aptitude dist-upgrade" instead
> > > of "sudo aptitude upgrade"?
>
> Since there are 150 packages to be upgraded, and aptitude's
> recommendation is reasonable, I would continue with this, if possible in
> your current situation (no update possible).
I grabbed the appropriate IPs and amended sources.list to use these.
After downloading another 0.25Gb it failed with:
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)
> Then continue with
> alternating "apt-get -f install" and "aptitude dist-upgrade" until,
> hopefully, it sorts itself out.
$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies...Done
The following extra packages will be installed:
courier-authdaemon courier-authlib
The following NEW packages will be installed
courier-authlib
The following packages will be upgraded:
courier-authdaemon
1 upgraded, 1 newly installed, 0 to remove and 185 not upgraded.
3 not fully installed or removed.
Need to get 0B/298kB of archives.
After unpacking 164kB of additional disk space will be used.
Do you want to continue [Y/n]? y
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
Aborted (core dumped)
Errors were encountered while processing:
courier-authdaemon
$ sudo aptitude dist-upgrade
[1]
> > Note that I can't currently do an aptitude update because DNS is
> > inoperative.
>
> This is bad since packages might need to be fetched from the network.
> Also, your dependency problems might possibly stem from the fact that
> apt's package info is not fully up to date. It would certainly help if
> you could get then network operational.
The network is operational; it's DNS that is borked. I've no idea what
edgy does, but it appears to install a local DNS server - I didn't ask
for it, nor do I want it - and because that's failed, then there is no
DNS on the machine. This was a fully operational, problem-free machine
before attempting the upgrade.
--
Cheers,
Marc
[1]
$ sudo aptitude dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initialising package states... Done
Writing extended state information... Done
Building tag database... Done
The following packages are BROKEN:
gamin hpijs python2.4-libxslt1
The following packages are unused and will be REMOVED:
courier-base gtk2-engines-clearlooks gtk2-engines-mist gtk2-engines-
smooth
The following NEW packages will be automatically installed:
courier-authlib dash dvipost fam libgda2-bin p7zip-full python-
numeric-ext python-scientific sdparm startup-tasks
system-services tasksel tasksel-data tex4ht-common upstart upstart-
compat-sysv upstart-logd util-linux-locales
The following packages will be automatically REMOVED:
python2.4-htmlgen python2.4-libxml2 sysvinit
The following packages have been kept back:
konversation
The following NEW packages will be installed:
courier-authlib dash dvipost fam libgda2-bin p7zip-full python-
numeric-ext python-scientific sdparm startup-tasks
system-services tasksel tasksel-data tex4ht-common upstart upstart-
compat-sysv upstart-logd util-linux-locales
The following packages will be REMOVED:
python2.4-htmlgen python2.4-libxml2 sysvinit
The following packages will be upgraded:
<snip>
185 packages upgraded, 18 newly installed, 7 to remove and 1 not
upgraded.
Need to get 2206kB/275MB of archives. After unpacking 26.4MB will be
freed.
The following packages have unmet dependencies:
gamin: Conflicts: fam but 2.7.0-10ubuntu1 is to be installed.
python2.4-libxslt1: Depends: python2.4-libxml2 (>= 2.6.17) but it is
not installable
hpijs: Conflicts: hplip-ppds (< 1.6.9-0ubuntu2) but 0.9.7-4ubuntu1 is
installed.
Resolving dependencies...
The following actions will resolve these dependencies:
Keep the following packages at their current version:
fam [Not Installed]
hpijs [2.1.7+0.9.7-4ubuntu1 (now)]
kscreensaver [4:3.5.2-0ubuntu4 (now)]
ksmserver [4:3.5.2-0ubuntu27 (now)]
libeel2-2 [2.14.3-0ubuntu1 (now)]
libeel2-data [2.14.3-0ubuntu1 (now)]
nautilus [2.14.3-0ubuntu1 (now)]
nautilus-cd-burner [2.14.3-0ubuntu1 (now)]
python-htmlgen [2.2.2-10ubuntu3 (now)]
python-libxml2 [2.6.24.dfsg-1ubuntu1 (now)]
python2.4-htmlgen [2.2.2-10ubuntu3 (now)]
python2.4-libxml2 [2.6.24.dfsg-1ubuntu1 (now)]
Score is -69
Accept this solution? [Y/n/q/?] y
The following packages are unused and will be REMOVED:
courier-base gtk2-engines-clearlooks gtk2-engines-mist gtk2-engines-
smooth
The following NEW packages will be automatically installed:
courier-authlib dash dvipost libgda2-bin p7zip-full python-numeric-ext
python-scientific sdparm startup-tasks
system-services tasksel tasksel-data tex4ht-common upstart upstart-
compat-sysv upstart-logd util-linux-locales
The following packages will be automatically REMOVED:
sysvinit
The following packages have been kept back:
hpijs konversation kscreensaver ksmserver libeel2-2 libeel2-data
nautilus nautilus-cd-burner python-htmlgen python-libxml2
The following NEW packages will be installed:
courier-authlib dash dvipost libgda2-bin p7zip-full python-numeric-ext
python-scientific sdparm startup-tasks
system-services tasksel tasksel-data tex4ht-common upstart upstart-
compat-sysv upstart-logd util-linux-locales
The following packages will be REMOVED:
sysvinit
The following packages will be upgraded:
<snip>
176 packages upgraded, 17 newly installed, 5 to remove and 10 not
upgraded.
Need to get 0B/272MB of archives. After unpacking 25.7MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
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
Aborted (core dumped)
Errors were encountered while processing:
courier-authdaemon
More information about the ubuntu-users
mailing list