package fpc-source-3.0.0 (not installed) failed to install/upgrade: a tentar sobre-escrever '/usr/share/fpcsrc/3.0.0/rtl/android/jvm/java_sys_android.inc', que também está no pacote fpc-src 3.0.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fpc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Free Pascal works very well, but a update for add alternatives version crashed it.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: fpc-source-3.0.0 (not installed)
ProcVersionSign
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sun Sep 4 04:38:16 2016
ErrorMessage: a tentar sobre-escrever '/usr/share/
InstallationDate: Installed on 2016-09-02 (2 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.12~
SourcePackage: fpc
Title: package fpc-source-3.0.0 (not installed) failed to install/upgrade: a tentar sobre-escrever '/usr/share/
UpgradeStatus: No upgrade log present (probably fresh install)
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 packages that are fully compatible with how fpc is packaged in Debian/Ubuntu, so this is not something that can be fixed on our side.
You can fix the issue on your system by running
apt-get remove fpc
apt-get install fpc