Package hardening-wrapper has broken Conflicts on binutils-multiarch and is held back when upgrading from lucid to maverick
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hardening-wrapper (Ubuntu) |
Expired
|
Medium
|
Unassigned | ||
update-manager (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: binutils
Doing an upgrade from lucid to maverick ('sudo do-release-upgrade -d') triggered apport due to a failed dpkg.
I saw a python ImportError at the time: "no module named gi"
ProblemType: Package
DistroRelease: Ubuntu 10.10
Package: binutils-multiarch 2.20.1-3ubuntu6
ProcVersionSign
Uname: Linux 2.6.32-24-generic x86_64
Architecture: amd64
Date: Thu Aug 5 17:07:01 2010
EcryptfsInUse: Yes
ErrorMessage: ErrorMessage: subprocess new pre-installation script returned error exit status 2
SourcePackage: binutils
Title: package binutils-multiarch 2.20.1-3ubuntu6 failed to install/upgrade: ErrorMessage: subprocess new pre-installation script returned error exit status 2
tags: | added: dist-upgrade |
Looks like the ImportError was unrelated; I get the same symlink conflict from and apt-get -f install:
Preparing to replace binutils-multiarch 2.20.1-3ubuntu6 (using .../binutils- multiarch_ 2.20.51. 20100710- 1ubuntu2_ amd64.deb) ... ld.bfd. single by binutils-multiarch' clashes with `diversion of /usr/bin/ld.bfd to /usr/bin/ ld.bfd. real by hardening-wrapper' apt/archives/ binutils- multiarch_ 2.20.51. 20100710- 1ubuntu2_ amd64.deb (--unpack): ld.bfd. single by binutils-multiarch' ld.bfd. real by hardening-wrapper' apt/archives/ binutils- multiarch_ 2.20.51. 20100710- 1ubuntu2_ amd64.deb
dpkg-divert: `diversion of /usr/bin/ld.bfd to /usr/bin/
dpkg: error processing /var/cache/
subprocess new pre-installation script returned error exit status 2
dpkg-divert: mismatch on divert-to
when removing `diversion of /usr/bin/ld.bfd to /usr/bin/
found `diversion of /usr/bin/ld.bfd to /usr/bin/
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
This error is alson present in Apttermlog.gz