opencryptoki version churn has broken some systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
opencryptoki (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
In the ongoing version churn of opencryptoki and libopencryptoki0, we have users who are in the following state:
Our archive (and apt-cache policy agrees) has version 2.3.1+dfsg-3ubuntu4 for both opencryptoki and libopencryptoki0.
But installed on the system are libopencryptoki0 2.3.1+dfsg-3ubuntu4 and and opencryptoki 2.3.1+dfsg-
apt-get dist-upgrade fails:
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
opencryptoki : Depends: libopencryptoki0 (= 2.3.1+dfsg-
E: Unmet dependencies. Try using -f.
and apt-get -f install fails:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
opencryptoki
The following packages will be upgraded:
opencryptoki
1 upgraded, 0 newly installed, 0 to remove and 518 not upgraded.
1 not fully installed or removed.
Need to get 0 B/49.7 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]?
dpkg: dependency problems prevent configuration of opencryptoki:
opencryptoki depends on libopencryptoki0 (= 2.3.1+dfsg-
Version of libopencryptoki0 on system is 2.3.1+dfsg-
dpkg: error processing opencryptoki (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
opencryptoki
E: Sub-process /usr/bin/dpkg returned an error code (1)
This is particularly bad because it cannot be automatically fixed. Our normal procedure (dpkg --configure -a, apt-get -f install, apt-get dist-upgrade) is unable to resolve the problem.
ping