This bug still affects me in trusty, same scenario: amd64 already installed, trying to install i386:
dpkg: error processing archive /var/cache/apt/archives/openjdk-7-jre_7u79-2.5.6-0ubuntu1.14.04.1_i386.deb (--unpack): trying to overwrite shared '/usr/share/applications/openjdk-7-policytool.desktop', which is different from other instances of package openjdk-7-jre:i386 ** Attachment added: "The complete log including my invoking command" https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/980205/+attachment/4453001/+files/openjdk-7-jre_i386%20installation%20log -- You received this bug notification because you are a member of OpenJDK, which is subscribed to openjdk-6 in Ubuntu. https://bugs.launchpad.net/bugs/980205 Title: package openjdk-6-jre 6b24-1.11.1-4ubuntu1 failed to install/upgrade: './usr/share/applications/openjdk-6-policytool.desktop' is different from the same file on the system Status in openjdk-6 package in Ubuntu: Fix Released Status in openjdk-7 package in Ubuntu: Fix Released Status in openjdk-6 source package in Precise: Fix Released Status in openjdk-7 source package in Precise: Fix Released Bug description: Observed trying to installing openjdk-i386 on system with openjdk- amd64 already present. ProblemType: Package DistroRelease: Ubuntu 12.04 Package: openjdk-6-jre 6b24-1.11.1-4ubuntu1 ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14 Uname: Linux 3.2.0-23-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.0.1-0ubuntu1 Architecture: amd64 Date: Thu Apr 12 15:46:39 2012 DuplicateSignature: Unpacking openjdk-6-jre:i386 (from .../openjdk-6-jre_6b24-1.11.1-4ubuntu1_i386.deb) ... dpkg: error processing /var/cache/apt/archives/openjdk-6-jre_6b24-1.11.1-4ubuntu1_i386.deb (--unpack): './usr/share/applications/openjdk-6-policytool.desktop' is different from the same file on the system ErrorMessage: './usr/share/applications/openjdk-6-policytool.desktop' is different from the same file on the system InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301) SourcePackage: openjdk-6 Title: package openjdk-6-jre 6b24-1.11.1-4ubuntu1 failed to install/upgrade: './usr/share/applications/openjdk-6-policytool.desktop' is different from the same file on the system UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/980205/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openjdk Post to : [email protected] Unsubscribe : https://launchpad.net/~openjdk More help : https://help.launchpad.net/ListHelp

