package fp-compiler-3.0.0 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/fpc/3.0.0/ppcx64', which is also in package fpc 3.0.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fpc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
apt update
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: fp-compiler-3.0.0 (not installed)
ProcVersionSign
Uname: Linux 4.4.0-47-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Mon Nov 28 07:56:29 2016
DuplicateSignature:
package:
Unpacking fp-units-rtl-3.0.0 (3.0.0+dfsg-2) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/lib/
ErrorMessage: trying to overwrite '/usr/lib/
InstallationDate: Installed on 2014-07-11 (870 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.15
SourcePackage: fpc
Title: package fp-compiler-3.0.0 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/
UpgradeStatus: Upgraded to xenial on 2016-08-01 (118 days ago)
Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1568072, so it is being marked as such. The issue you are encountering is that you installed the fpc package from upstream (probably when you were installing the lazarus package). The lazarus team is not making fpc packages that are fully compatible with how things are done in Debian/Ubuntu. That is not something that is desirable to fix on our side. However, we normally work around that issue, but that work around was temporarily missed, so the package that finally went into Xenial doesn't have it.
You can easily fix the issue on your system by running
apt-get remove fpc
apt-get install fpc