Comment 2 for bug 613774

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : Re: package binutils-multiarch 2.20.1-3ubuntu6 failed to install/upgrade: ErrorMessage: subprocess new pre-installation script returned error exit status 2

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)

This error is alson present in Apttermlog.gz