libxfont1-dev conflicts with libxfont-dev in Ubuntu 16.04.3 LTS

Bug #1712437 reported by Kenneth Hill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libxfont1 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Unable to install libxfont1-dev alongside libxfont-dev in Ubuntu 16.04.3 LTS on amd64 and ppc64el.

Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial

kernel: 4.4.0-92-generic

sudo apt-get install libxfont-dev libxfont1-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libxfont-dev libxfont1-dev
0 upgraded, 2 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/251 kB of archives.
After this operation, 972 kB of additional disk space will be used.
Selecting previously unselected package libxfont-dev.
(Reading database ... 249388 files and directories currently installed.)
Preparing to unpack .../libxfont-dev_1%3a2.0.1-3~ubuntu16.04.1_amd64.deb ...
Unpacking libxfont-dev (1:2.0.1-3~ubuntu16.04.1) ...
Preparing to unpack .../libxfont1-dev_1%3a1.5.1-1ubuntu0.16.04.1_amd64.deb ...
Unpacking libxfont1-dev (1:1.5.1-1ubuntu0.16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libxfont1-dev_1%3a1.5.1-1ubuntu0.16.04.1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/doc/libxfont-dev/fontlib.html', which is also in package libxfont-dev 1:2.0.1-3~ubuntu16.04.1
Errors were encountered while processing:
 /var/cache/apt/archives/libxfont1-dev_1%3a1.5.1-1ubuntu0.16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

It appears both packages maintain these files:
  /usr/share/doc/libxfont-dev/fontlib.html
  /usr/share/doc/libxfont-dev/fontlib.txt.gz

The libxfont1-dev package in zesty and artful do not use the libxfont-dev path:
  /usr/share/doc/libxfont1-dev/changelog.Debian.gz
  /usr/share/doc/libxfont1-dev/copyright
  /usr/share/doc/libxfont1-dev/fontlib.html
  /usr/share/doc/libxfont1-dev/fontlib.txt.gz

This problem did not occur ~1 month ago.

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.