package libxfont-dev (not installed) failed to install/upgrade: trying to overwrite '/usr/share/doc/libxfont-dev/fontlib.html', which is also in package libxfont1-dev 1:1.5.1-1ubuntu0.16.04.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxfont2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
$ sudo apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-
linux-
linux-
linux-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libxfont-dev
The following NEW packages will be installed:
libxfont-dev
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
31 not fully installed or removed.
Need to get 0 B/124 kB of archives.
After this operation, 494 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 305731 files and directories currently installed.)
Preparing to unpack .../libxfont-
Unpacking libxfont-dev (1:2.0.
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/share/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libxfont-dev (not installed)
ProcVersionSign
Uname: Linux 4.10.0-28-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Wed Aug 9 20:45:28 2017
DuplicateSignature:
package:
Unpacking libxfont-dev (1:2.0.
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/share/
ErrorMessage: trying to overwrite '/usr/share/
InstallationDate: Installed on 2017-07-26 (13 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.24
SourcePackage: libxfont2
Title: package libxfont-dev (not installed) failed to install/upgrade: trying to overwrite '/usr/share/
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |