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 on 2017-08-10
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
libxfont (Ubuntu)
Undecided
Unassigned
Xenial
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

km (km-mathcs) wrote :
tags: removed: need-duplicate-check
Launchpad Janitor (janitor) wrote :

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

Changed in libxfont (Ubuntu):
status: New → Confirmed
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.

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
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) on 2017-08-10
description: updated

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
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
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
To post a comment you must log in.