package libtidy5 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/libtidy.so.5', which is also in package tidy 5.4.0

Bug #1794981 reported by Rutt Desai
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tidy-html5 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

It was an inbuilt request to report this bug so i am doing it. Also the system runs very very slow and and takes a lot of time to fire up.

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: libtidy5 (not installed)
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
Date: Fri Sep 28 18:25:33 2018
DuplicateSignature:
 package:libtidy5:(not installed)
 Unpacking libtidy5 (1:5.2.0-2) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-OiORBb/14-libtidy5_1%3a5.2.0-2_amd64.deb (--unpack):
  trying to overwrite '/usr/lib/libtidy.so.5', which is also in package tidy 5.4.0
ErrorMessage: trying to overwrite '/usr/lib/libtidy.so.5', which is also in package tidy 5.4.0
InstallationDate: Installed on 2018-08-24 (35 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
Python3Details: /usr/bin/python3.6, Python 3.6.6+, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.3ubuntu0.1
SourcePackage: tidy-html5
Title: package libtidy5 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/libtidy.so.5', which is also in package tidy 5.4.0
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Rutt Desai (ruttdesai) wrote :
Revision history for this message
Eduardo Barretto (ebarretto) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
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 tidy-html5 (Ubuntu):
status: New → Confirmed
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :
Download full text (3.4 KiB)

This looks odd, I checked tidy/libtidy if they would conflict but they work fine:

$ sudo apt install tidy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libtidy5
The following NEW packages will be installed:
  libtidy5 tidy
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 185 kB of archives.
After this operation, 881 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtidy5 amd64 1:5.2.0-2 [160 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/universe amd64 tidy amd64 1:5.2.0-2 [25.5 kB]
Fetched 185 kB in 3s (59.3 kB/s)
Selecting previously unselected package libtidy5.
(Reading database ... 94444 files and directories currently installed.)
Preparing to unpack .../libtidy5_1%3a5.2.0-2_amd64.deb ...
Unpacking libtidy5 (1:5.2.0-2) ...
Selecting previously unselected package tidy.
Preparing to unpack .../tidy_1%3a5.2.0-2_amd64.deb ...
Unpacking tidy (1:5.2.0-2) ...
Setting up libtidy5 (1:5.2.0-2) ...
Setting up tidy (1:5.2.0-2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

It seems you installed 18.04 and there was no upgrade to tidy/libtidy since 18.04 was released so I have to wonder why it was updated now according to your logs.

This case is odd, but I can't see the root cause.
If you have any background on what triggered this upgrade and how you got the error I'd appreciate, but from the logs so far I can't take any action.

I checked the supposed owner of the file:
libtidy5: /usr/lib/libtidy.so.5

But then I realized the 5.4 in your bug report.

These are the official/supported versions of tidy in Ubuntu right now
 tidy | 20091223cvs-1ubuntu2 | precise | source, amd64, armel, armhf, i386, powerpc
 tidy | 20091223cvs-1ubuntu2.1 | precise-security | source, amd64, armel, armhf, i386, powerpc
 tidy | 20091223cvs-1ubuntu2.1 | precise-updates | source, amd64, armel, armhf, i386, powerpc
 tidy | 20091223cvs-1.2ubuntu1 | trusty | source, amd64, arm64, armhf, i386, powerpc, ppc64el
 tidy | 20091223cvs-1.2ubuntu1.1 | trusty-security | source, amd64, arm64, armhf, i386, powerpc, ppc64el
 tidy | 20091223cvs-1.2ubuntu1.1 | trusty-updates | source, amd64, arm64, armhf, i386, powerpc, ppc64el
 tidy | 20091223cvs-1.5 | xenial | source
 tidy | 20091223cvs-1.5 | xenial/universe | amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
 tidy | 1:5.2.0-2 | bionic/universe | amd64, arm64, armhf, i386, ppc64el, s390x
 tidy | 1:5.2.0-2 | cosmic/universe | amd64, arm64, armhf, i386, ppc64el, s390x
 tidy | 1:5.2.0-2 | disco/universe | amd64, arm64, armhf, i386, ppc64el, s390x
 tidy | 2:5.6.0-6 | disco-proposed/universe | amd64, arm64, armhf, i386, ppc64el, s390x

...

Read more...

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Changed in tidy-html5 (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tidy-html5 (Ubuntu) because there has been no activity for 60 days.]

Changed in tidy-html5 (Ubuntu):
status: Incomplete → Expired
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.