cannot install libperl-dev:i386 on x64 system with already installed native perl and libperl-dev

Bug #1715118 reported by D on 2017-09-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
perl (Ubuntu)
Undecided
Unassigned

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)

D (dnk82) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers