apt-get broken after upgrade to edgy eft (courier-authdaemon package)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
High
|
Michael Vogt | ||
courier-authlib (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Edgy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: courier-authdaemon
My friend recently upgraded to Edgy Eft (6.10) and has encountered a problem with the courier-authdaemon package. It doesn't want to upgrade or remove and (dist-)upgrade also doesn't work anymore because it tells us to -f install first, but as you can see below, that just causes more errors.
I ssh'ed into my friends computer to try and fix the problem, but it seems like something is horribly broken. See here:
*** -f install ***
1 pieterjan@ubuntuX $ LC_ALL=C sudo apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
courier-
The following NEW packages will be installed:
courier-authlib
The following packages will be upgraded:
courier-
1 upgraded, 1 newly installed, 0 to remove and 493 not upgraded.
1 not fully installed or removed.
Need to get 0B/83.9kB of archives.
After unpacking 164kB of additional disk space will be used.
Do you want to continue [Y/n]?
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:
Aborted
2 pieterjan@ubuntuX $ Errors were encountered while processing:
courier-authdaemon
*** dist-upgrade ***
8 pieterjan@ubuntuX $ LC_ALL=C sudo apt-get dist-upgrade Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
courier-
E: Unmet dependencies. Try using -f.
*** install courier-base and its deps ***
10 pieterjan@ubuntuX $ LC_ALL=C sudo apt-get install courier-base courier-authlib courier-
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
courier-authlib: Conflicts: courier-authdaemon (< 0.58) but 0.47-13ubuntu5.1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
*** policy courier-authdaemon ***
12 pieterjan@ubuntuX $ LC_ALL=C apt-cache policy courier-authdaemon
courier-authdaemon:
Installed: 0.47-13ubuntu5.1
Candidate: 0.58-4ubuntu1
Version table:
0.58-4ubuntu1 0
500 http://
*** 0.47-13ubuntu5.1 0
500 http://
100 /var/lib/
0.47-13ubuntu5 0
500 http://
Changed in courier-authlib: | |
status: | Unconfirmed → Confirmed |
Changed in courier-authlib: | |
status: | In Progress → New |
Manual remove of the package also doesn't work (you could already see that in apt-get -f install)
*** remove ***
13 pieterjan@ubuntuX $ LC_ALL=C sudo apt-get remove courier-authdaemon authdaemon authdaemon :_S_construct NULL not valid
Reading package lists... Done
Building dependency tree... Done
The following packages were automatically installed and are no longer required:
courier-
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
courier-
0 upgraded, 0 newly installed, 1 to remove and 493 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 201kB disk space will be freed.
Do you want to continue [Y/n]?
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:
Aborted
14 pieterjan@ubuntuX $ Errors were encountered while processing:
courier-authdaemon