package fpc-source-3.0.0 (not installed) failed to install/upgrade: กำลังพยายามเขียนทับ '/usr/share/fpcsrc/3.0.0/rtl/android/jvm/java_sys_android.inc' ซึ่งอยู่ในแพกเกจ fpc-src 3.0.0 เช่นกัน
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fpc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
upgrade ubuntu to 16.04 from 15.10 ,with lazarus installed
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: fpc-source-3.0.0 (not installed)
ProcVersionSign
Uname: Linux 4.4.0-38-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
Date: Mon Nov 21 10:07:13 2016
DpkgHistoryLog:
Start-Date: 2016-11-21 10:07:12
Commandline: apt-get -f install
Requested-By: kri (1000)
Install: fpc-source-
DpkgTerminalLog:
กำลังเตรียมแตก .../fpc-
กำลังแตก fpc-source-3.0.0 (3.0.0+dfsg-2) ...
dpkg: เกิดข้อผิ
กำลังพยายามเข
ErrorMessage: กำลังพยายามเขียนทับ '/usr/share/
InstallationDate: Installed on 2016-06-26 (147 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release i386 (20160420.1)
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: กำลังพยายามเขียนทับ '/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 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