Dependency problems withconflicting libnss3-0d and libnss3-1d packages break gutsy to hardy upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nss (Ubuntu) |
Fix Released
|
Undecided
|
John Vivirito | ||
Hardy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Text-based upgrade on gutsy amd64 system (sudo do-release-upgrade --devel-release) failed. Upon trying to rectify manually I discover the following problems that I'm not managing to solve. It seems the dependencies of Evolution and Thunderbird conflict in that libnss301d and libnss3-0d which they depend respectively are incompatible and try to install the same file:
$ sudo apt-get dist-upgrade
evolution: Depends: libnss3-1d (>= 3.12.0~1.9b1) but it is not installed
evolution-
libcamel1.2-11: Depends: libnss3-1d (>= 3.12.0~1.9b1) but it is not installed
$ sudo apt-get-f install
The following extra packages will be installed:
libnss3-1d
The following NEW packages will be installed:
libnss3-1d
0 upgraded, 1 newly installed, 0 to remove and 1507 not upgraded.
45 not fully installed or removed.
Need to get 0B/1124kB of archives.
After unpacking 3207kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 360149 files and directories currently installed.)
Unpacking libnss3-1d (from .../libnss3-
dpkg: error processing /var/cache/
trying to overwrite `/usr/lib/
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Related branches
Changed in nss: | |
status: | New → In Progress |
I was able to get around the problem by doing the following, but this is surely an unreasonable expectation from the end user:
sudo dpkg --force overwrite -i /var/cache/ apt/archives/ libnss3- 1d_3.12. 0~beta3- 0ubuntu1_ amd64.deb