package libfreetype6 2.8-0.2 failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libfreetype6/changelog.Debian.gz', which is different from other instances of package libfreetype6:amd64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
freetype (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I recently upgraded to 18.04, but this caused some problems with some text editors I am using. I tried to downgrade libfreetype to 2.8.0, which failed, and then I tried running fix-install in apt, but this also failed.
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: libfreetype6 2.8-0.2
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
AptOrdering:
libfreetype6:
NULL: ConfigurePending
Architecture: amd64
Date: Tue May 22 13:05:52 2018
Dependencies:
gcc-8-base 8-20180414-1ubuntu2
libc6 2.27-3ubuntu1
libgcc1 1:8-20180414-
libpng16-16 1.6.34-1
zlib1g 1:1.2.11.
DpkgTerminalLog:
Preparing to unpack .../libfreetype
Unpacking libfreetype6:amd64 (2.8.1-2ubuntu2) over (2.8-0.2) ...
dpkg: error processing archive /var/cache/
trying to overwrite shared '/usr/share/
DuplicateSignature:
package:
Unpacking libfreetype6:amd64 (2.8.1-2ubuntu2) over (2.8-0.2) ...
dpkg: error processing archive /var/cache/
trying to overwrite shared '/usr/share/
ErrorMessage: trying to overwrite shared '/usr/share/
InstallationDate: Installed on 2017-01-22 (485 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.1
SourcePackage: freetype
Title: package libfreetype6 2.8-0.2 failed to install/upgrade: trying to overwrite shared '/usr/share/
UpgradeStatus: Upgraded to bionic on 2018-05-13 (9 days ago)
tags: | removed: need-duplicate-check |
This is not an official Ubuntu version of the libfreetype6 package. Closing as not a bug.
You probably need to specifically install both the i386 and amd64 versions of the libfreetype6 package, from the same source, to fix this package installation failure.