I do have multiarch enabled: amd64 being the primary arch, i386 the secondary.
During today's upgrade I got the following error message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be upgraded:
cpp-4.7 g++-4.7 gcc-4.7 gcc-4.7-base:i386 libgcc1 libgcc1:i386 libgfortran3
libgomp1 libitm1 libmission-control-plugins0 libquadmath0 libstdc++6
14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/24.9 MB of archives.
After this operation, 108 kB disk space will be freed.
Do you want to continue [Y/n]?
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 249806 files and directories currently installed.)
Preparing to replace gcc-4.7-base:i386 4.7.1-9 (using .../gcc-4.7-base_4.7.2-1_i386.deb) ...
Unpacking replacement gcc-4.7-base:i386 ...
dpkg: error processing /var/cache/apt/archives/gcc-4.7-base_4.7.2-1_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/gcc-4.7-base/changelog.Debian.gz', which is different from other instances of package gcc-4.7-base:i386
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Kernel: Linux 3.2.0-30-generic (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact email@example.com
Archive: firstname.lastname@example.org rasse.xx">http://email@example.com rasse.xx
09-21-2012, 09:14 AM
Bug#688278: fails to upgrade/install due to multiarch conflicts
A diff between i386 and amd64 (after ungzipping) is attached.