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) ...
dpkg-divert: `diversion of /usr/bin/ld.bfd to /usr/bin/ld.bfd.single by binutils-multiarch' clashes with `diversion of /usr/bin/ld.bfd to /usr/bin/ld.bfd.real by hardening-wrapper'
dpkg: error processing /var/cache/apt/archives/binutils-multiarch_2.20.51.20100710-1ubuntu2_amd64.deb (--unpack):
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/ld.bfd.single by binutils-multiarch'
found `diversion of /usr/bin/ld.bfd to /usr/bin/ld.bfd.real by hardening-wrapper'
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/binutils-multiarch_2.20.51.20100710-1ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
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