Public bug reported: There seems two problems 1) libperl-dev:i386 just conflicts with native libperl-dev. So apt-get install libperl-dev:i386 automatically removes libperl-dev 2) Even after this it still won't install due to conflict of dependent libperl5.22 packages (that required for Perl itself): Unpacking libperl5.22:i386 (5.22.1-9) ... dpkg: error processing archive /var/cache/apt/archives/libperl5.22_5.22.1-9_i386.deb (--unpack): trying to overwrite shared '/usr/share/doc/libperl5.22/changelog.Debian.gz', which is different from other instances of package libperl5.22:i386
The problem reason: I want to crosscompile some C code linked to libperl but cannot do this due to error above. Temporary removing native libperl-dev would be acceptable workaround, but removing whole Perl is not acceptable. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: libperl-dev:i386 5.22.1-9 ProcVersionSignature: Ubuntu 4.4.0-93.116-generic 4.4.79 Uname: Linux 4.4.0-93-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.10 Architecture: amd64 Date: Tue Sep 5 12:57:34 2017 InstallationDate: Installed on 2016-08-10 (390 days ago) InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) PackageArchitecture: i386 SourcePackage: perl UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: perl (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 package perl x64 xenial -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to perl in Ubuntu. https://bugs.launchpad.net/bugs/1715118 Title: cannot install libperl-dev:i386 on x64 system with already installed native perl and libperl-dev Status in perl package in Ubuntu: New Bug description: There seems two problems 1) libperl-dev:i386 just conflicts with native libperl-dev. So apt-get install libperl-dev:i386 automatically removes libperl-dev 2) Even after this it still won't install due to conflict of dependent libperl5.22 packages (that required for Perl itself): Unpacking libperl5.22:i386 (5.22.1-9) ... dpkg: error processing archive /var/cache/apt/archives/libperl5.22_5.22.1-9_i386.deb (--unpack): trying to overwrite shared '/usr/share/doc/libperl5.22/changelog.Debian.gz', which is different from other instances of package libperl5.22:i386 The problem reason: I want to crosscompile some C code linked to libperl but cannot do this due to error above. Temporary removing native libperl-dev would be acceptable workaround, but removing whole Perl is not acceptable. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: libperl-dev:i386 5.22.1-9 ProcVersionSignature: Ubuntu 4.4.0-93.116-generic 4.4.79 Uname: Linux 4.4.0-93-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.10 Architecture: amd64 Date: Tue Sep 5 12:57:34 2017 InstallationDate: Installed on 2016-08-10 (390 days ago) InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) PackageArchitecture: i386 SourcePackage: perl UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1715118/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp