cannot install libperl-dev:i386 on x64 system with already installed native perl and libperl-dev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
perl (Ubuntu) |
New
|
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/
trying to overwrite shared '/usr/share/
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
ProcVersionSign
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)
PackageArchitec
SourcePackage: perl
UpgradeStatus: No upgrade log present (probably fresh install)