package libtidy-0.99-0 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/libtidy.so', which is also in package libtidy-dev 1:5.2.0-1

Bug #1595731 reported by William Geiger
116
This bug affects 28 people
Affects Status Importance Assigned to Milestone
tidy (Ubuntu)
Triaged
Low
Unassigned
tidy-html5 (Debian)
Fix Released
Unknown
tidy-html5 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Conflict with libtidy-0.99 and libtidy5:

dpkg: error processing archive /var/cache/apt/archives/libtidy-0.99-0_20091223cvs-1.5_amd64.deb (--unpack): trying to overwrite '/usr/lib/libtidy.so', which is also in package libtidy-dev 1:5.2.0-1

ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: libtidy-0.99-0 (not installed)
ProcVersionSignature: Ubuntu 4.4.0-25.44-lowlatency 4.4.13
Uname: Linux 4.4.0-25-lowlatency x86_64
ApportVersion: 2.20.2-0ubuntu1
AptOrdering:
 libtidy-0.99-0: Install
 abiword: Install
 abiword-plugin-grammar: Install
 NULL: ConfigurePending
Architecture: amd64
Date: Thu Jun 23 16:44:48 2016
DpkgTerminalLog:
 Preparing to unpack .../libtidy-0.99-0_20091223cvs-1.5_amd64.deb ...
 Unpacking libtidy-0.99-0 (20091223cvs-1.5) ...
 dpkg: error processing archive /var/cache/apt/archives/libtidy-0.99-0_20091223cvs-1.5_amd64.deb (--unpack):
  trying to overwrite '/usr/lib/libtidy.so', which is also in package libtidy-dev 1:5.2.0-1
DuplicateSignature:
 package:libtidy-0.99-0:(not installed)
 Unpacking libtidy-0.99-0 (20091223cvs-1.5) ...
 dpkg: error processing archive /var/cache/apt/archives/libtidy-0.99-0_20091223cvs-1.5_amd64.deb (--unpack):
  trying to overwrite '/usr/lib/libtidy.so', which is also in package libtidy-dev 1:5.2.0-1
ErrorMessage: trying to overwrite '/usr/lib/libtidy.so', which is also in package libtidy-dev 1:5.2.0-1
InstallationDate: Installed on 2016-03-04 (111 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160229)
RelatedPackageVersions:
 dpkg 1.18.7ubuntu1
 apt 1.3~exp2ubuntu1
SourcePackage: tidy
Title: package libtidy-0.99-0 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/libtidy.so', which is also in package libtidy-dev 1:5.2.0-1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
William Geiger (whgiii-q) wrote :
Revision history for this message
William Geiger (whgiii-q) wrote :

libtidy 0.99-0 is a requirement for Abiword.

tags: removed: need-duplicate-check
Jeremy Bícha (jbicha)
Changed in tidy (Ubuntu):
status: New → Invalid
status: Invalid → Confirmed
importance: Undecided → High
affects: tidy (Ubuntu) → tidy-html5 (Ubuntu)
tags: added: block-proposed
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Please disable -proposed updates if you're going to run a development release of Ubuntu:

https://askubuntu.com/questions/785414/

Changed in tidy-html5 (Ubuntu):
status: Confirmed → Triaged
Changed in tidy-html5 (Debian):
status: Unknown → New
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

uploaded in yakkety, will go in unstable in two days and autosync'd again soonafter

Jeremy Bícha (jbicha)
tags: removed: block-proposed
Changed in tidy-html5 (Ubuntu):
milestone: none → ubuntu-16.10
Changed in tidy-html5 (Debian):
status: New → Fix Released
Revision history for this message
Nabil Muhammad Firdaus (nmfzone) wrote :

Still happend in Ubuntu 14.04 when run "sudo apt-get upgrade". How to fix this?

Revision history for this message
Jeremy Bícha (jbicha) wrote :

This is fixed in yakkety because it is fixed in tidy-html5 and I believe tidy will be removed this cycle.

In previous Ubuntu releases, the tidy package installs /usr/lib/libtidy.so which should have been installed by libtidy-dev. I'm marking this low because it only affects users who install third-party software. The developers of that software should be aware of this issue when packaging their software.

Changed in tidy-html5 (Ubuntu):
status: Triaged → Fix Released
Changed in tidy (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
GuiGS (guigs81) wrote :

Workaround for Ubuntu 16.04:

Uninstall and reinstall tidy:

sudo apt autoremove tidy
sudo dpkg -i tidy-5.4.0-64bit.deb

And then exclude tidy from automatic upgrade:

sudo apt-mark hold tidy

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.