There has been an update around for two weeks which does not install, when I update my packages I get this:
Fatal error: Error while installing package: trying to overwrite shared '/usr/share/doc/libsdl2-2.0-0/changelog.Debian.gz', which is different from other instances of package libsdl2-2.0-0
How to fix this?
apt-cache policy libsdl2-2.0-0
gives this:
libsdl2-2.0-0: Installed: 2.0.8+dfsg1-1ubuntu1.18.04.4 Candidate: 2.0.10+dfsg1-3 Version table: 2.0.10+dfsg1-3 500 500 http://lt.archive.ubuntu.com/ubuntu focal/universe amd64 Packages *** 2.0.8+dfsg1-1ubuntu1.18.04.4 100 100 /var/lib/dpkg/status
sudo apt install --reinstall libsdl2-2.0-0
– user535733 Sep 02 '20 at 16:48
– m27 Sep 02 '20 at 16:53dpkg: error processing archive /var/cache/apt/archives/libsdl2-2.0-0_2.0.10+dfsg1-3_amd64.deb (--unpack): trying to overwrite shared '/usr/share/doc/libsdl2-2.0-0/changelog.Debian.gz', which is different from other instances of package libsdl2-2.0-0:amd64 Errors were encountered while processing: /var/cache/apt/archives/libsdl2-2.0-0_2.0.10+dfsg1-3_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-cache policy libsdl2-2.0-0
– user535733 Sep 02 '20 at 16:58do-release-upgrade
? Or did your release-upgrade some other way? (Be specific) Or is this not a release-upgrade, but you are mixing package from different versions of Ubuntu? – user535733 Sep 02 '20 at 17:25