You appear to have installed 'steam'; unfortunately that's i386-only
(meaning 32-bit only), and your system is 64-bit, so some of the 32-bit
packages steam pulled in are causing problems. In your specific case,
the 32-bit libudev1 and 64-bit libudev1 both provide the
'/usr/share/doc/libudev1/changelog.Debian.gz' file, and it seems there
is a problem with it; however, it is the same in both 32 and 64 bit
packages, e.g.:

$ for v in 245.4-4ubuntu3 245.4-4ubuntu3.1 245.4-4ubuntu3.2
245.4-4ubuntu3.3 ; do mkdir libudev1-$v ; pushd libudev1-$v ; for a in
amd64 i386 ; do pull-lp-debs -a $a libudev1 focal $v ; dpkg-deb -x
libudev1_${v}_${a}.deb $a ; done ; popd ; done

$ md5sum libudev1-245.4-4ubuntu3*/*/usr/share/doc/libudev1/changelog.Debian.gz 
d46302ec3d1cf55452fc22a81f8e9a4e  
libudev1-245.4-4ubuntu3.1/amd64/usr/share/doc/libudev1/changelog.Debian.gz
d46302ec3d1cf55452fc22a81f8e9a4e  
libudev1-245.4-4ubuntu3.1/i386/usr/share/doc/libudev1/changelog.Debian.gz
d03bac6f8646362108606a5d00577772  
libudev1-245.4-4ubuntu3.2/amd64/usr/share/doc/libudev1/changelog.Debian.gz
d03bac6f8646362108606a5d00577772  
libudev1-245.4-4ubuntu3.2/i386/usr/share/doc/libudev1/changelog.Debian.gz
4e623822882d020992f5879f85a243e1  
libudev1-245.4-4ubuntu3.3/amd64/usr/share/doc/libudev1/changelog.Debian.gz
4e623822882d020992f5879f85a243e1  
libudev1-245.4-4ubuntu3.3/i386/usr/share/doc/libudev1/changelog.Debian.gz
3f77db4537022043d2a6dd8509718118  
libudev1-245.4-4ubuntu3/amd64/usr/share/doc/libudev1/changelog.Debian.gz
3f77db4537022043d2a6dd8509718118  
libudev1-245.4-4ubuntu3/i386/usr/share/doc/libudev1/changelog.Debian.gz

So there should not have been any 32/64-bit conflict; something appears
to have happened on your system to corrupt the changelog.Debian.gz file,
or maybe mismatched versions of your 32 and 64 libudev1 packages were
installed.


By default, you can't install steam on a 64-bit system, as it's only provided 
as a 32-bit binary package, so I assume you've enabled 32-bit on your system, 
with e.g.:

$ sudo dpkg --add-architecture i386

and then installed steam.

Starting in 20.04, 32-bit has been deprecated and is only available in
limited form; while both the 64-bit and 32-bit libudev1 packages do
contain an identical changelog.Debian.gz file, I'm not sure if any
specical steps need to be taken to ensure matched versioning for both
32/64 bit libudev1 packages. Also, I tried reproducing this, but I
didn't encounter your error.

I'd suggest that you just remove the problematic changelog.Debian.gz
file, and re-run 'apt --fix-broken install' (which you've tried running
a few times, it appears). That should at least allow you to make apt
happy.

Also, I've cc'ed @vorlon to this bug, as he's aware of all the 32-bit
specifics, so he may be able to help provide direction for how to handle
systemd with both 32 and 64 bit packages, and/or specifically how to
handle installed steam on a 64 bit system.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1909390

Title:
  package libudev1 245.4-4ubuntu3.3 failed to install/upgrade: trying to
  overwrite shared '/usr/share/doc/libudev1/changelog.Debian.gz', which
  is different from other instances of package libudev1:amd64

Status in systemd package in Ubuntu:
  New

Bug description:
  Can't overwrite shared directory

  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: libudev1 245.4-4ubuntu3.3
  ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73
  Uname: Linux 5.4.0-58-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.14
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Sat Dec 26 22:19:09 2020
  DpkgTerminalLog:
   Preparing to unpack .../libudev1_245.4-4ubuntu3.3_amd64.deb ...
   Unpacking libudev1:amd64 (245.4-4ubuntu3.3) over (245.4-4ubuntu3.1) ...
   dpkg: error processing archive 
/var/cache/apt/archives/libudev1_245.4-4ubuntu3.3_amd64.deb (--unpack):
    trying to overwrite shared '/usr/share/doc/libudev1/changelog.Debian.gz', 
which is different from other instances of package libudev1:amd64
  ErrorMessage: trying to overwrite shared 
'/usr/share/doc/libudev1/changelog.Debian.gz', which is different from other 
instances of package libudev1:amd64
  InstallationDate: Installed on 2020-12-11 (15 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 
3.8.2-0ubuntu2
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3
   apt  2.0.2ubuntu0.2
  SourcePackage: systemd
  Title: package libudev1 245.4-4ubuntu3.3 failed to install/upgrade: trying to 
overwrite shared '/usr/share/doc/libudev1/changelog.Debian.gz', which is 
different from other instances of package libudev1:amd64
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1909390/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to