package libxfont1-dev (not installed) failed to install/upgrade: 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

Bug #1709885 reported by km
32
This bug affects 4 people
Affects Status Importance Assigned to Milestone
libxfont (Ubuntu)
Invalid
Undecided
Unassigned
Xenial
Fix Released
Undecided
Timo Aaltonen

Bug Description

[Impact]
update failed

 package:libxfont1-dev:(not installed)
 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

the devel documentation is in the wrong directory, need to move it

[Test case]
try to install both libxfont1-dev and libxfont-dev

[Regression potential]
none, moves two files to the correct location, that's all

Revision history for this message
km (km-mathcs) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libxfont (Ubuntu):
status: New → Confirmed
Revision history for this message
Tim Brooks (morphit2k) wrote :

I've forced the installation on my machine with `sudo dpkg -i --force-overwrite /var/cache/apt/archives/libxfont1-dev_1%3a1.5.1-1ubuntu0.16.04.1_amd64.deb`.

The two conflicting files were `/usr/share/doc/libxfont-dev/fontlib.html` and `/usr/share/doc/libxfont-dev/fontlib.txt.gz`. So there should be no problem with this workaround.

That said, these packages should be fixed to remove the conflict.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

are you forcing it because of xserver-xorg-dev depends on libxfont-dev? That's bug 1707691

but libxfont1-dev should still conflict with libxfont-dev, so adding that

Changed in libxfont (Ubuntu):
status: Confirmed → Invalid
Changed in libxfont (Ubuntu Xenial):
assignee: nobody → Timo Aaltonen (tjaalton)
status: New → Incomplete
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

on a second thought, I see that there are some files unnecessarily installed in /usr/share/doc/libxfont-dev/ when they should be in doc/libxfont1-dev/

description: updated
Timo Aaltonen (tjaalton)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello km, or anyone else affected,

Accepted libxfont into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libxfont/1:1.5.1-1ubuntu0.16.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in libxfont (Ubuntu Xenial):
status: Incomplete → Fix Committed
tags: added: verification-needed verification-needed-xenial
Revision history for this message
Tim Brooks (morphit2k) wrote :

Hi all. Just to clear this up: The proposed new version of libxfont1-dev (1:1.5.1-1ubuntu0.16.04.2) installs cleanly alongside libxfont-dev (1:2.0.1-3~ubuntu16.04.1). So this bug should be closeable.

At the moment, libxfont1-dev is required for xserver-xorg-dev (2:1.18.4-0ubuntu0.4), while libxfont-dev is required for xorg-dev (1:7.7+13ubuntu3).

tags: added: verification-done verification-done-xenial
removed: verification-needed verification-needed-xenial
Revision history for this message
Frédéric Bourqui (fbourqui) wrote :

Hello,

di the install test on i386 arch, and it's working as well.
libxfont1-dev (1:1.5.1-1ubuntu0.16.04.2) installs cleanly alongside libxfont-dev (1:2.0.1-3~ubuntu16.04.1).

tags: added: i386
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libxfont - 1:1.5.1-1ubuntu0.16.04.2

---------------
libxfont (1:1.5.1-1ubuntu0.16.04.2) xenial; urgency=medium

  * Install developer documentation under the correct path. (LP:
    #1709885)

 -- Timo Aaltonen <email address hidden> Fri, 11 Aug 2017 01:16:51 +0300

Changed in libxfont (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for libxfont has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.