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

Bug #1645333 reported by Shelby Cain
6
This bug affects 1 person
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)
ProcVersionSignature: Ubuntu 4.4.0-47.68-generic 4.4.24
Uname: Linux 4.4.0-47-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Mon Nov 28 07:56:29 2016
DuplicateSignature:
 package:fp-compiler-3.0.0:(not installed)
 Unpacking fp-units-rtl-3.0.0 (3.0.0+dfsg-2) ...
 dpkg: error processing archive /var/cache/apt/archives/fp-units-rtl-3.0.0_3.0.0+dfsg-2_amd64.deb (--unpack):
  trying to overwrite '/usr/lib/fpc/3.0.0/units/x86_64-linux/rtl/cp1252.ppu', which is also in package fpc 3.0.0
ErrorMessage: trying to overwrite '/usr/lib/fpc/3.0.0/ppcx64', which is also in package fpc 3.0.0
InstallationDate: Installed on 2014-07-11 (870 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
RelatedPackageVersions:
 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/fpc/3.0.0/ppcx64', which is also in package fpc 3.0.0
UpgradeStatus: Upgraded to xenial on 2016-08-01 (118 days ago)

Revision history for this message
Shelby Cain (alyandon) wrote :
Revision history for this message
Paul Gevers (paul-climbing) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.