Public bug reported:

On systems with i386 multiarch enabled, upgrading nvidia-580 packages to
580.142-0ubuntu3 fails because the i386 and amd64 binary packages contain
genuinely different /usr/share/doc/libnvidia-*/changelog.Debian.gz files
in shared (Multi-Arch: same) paths. dpkg correctly refuses to allow one
architecture to overwrite the other's differing file.

- Affected packages
- libnvidia-gl-580
- libnvidia-decode-580
- libnvidia-compute-580
- libnvidia-encode-580
- libnvidia-fbc1-580

All at version: 580.142-0ubuntu3

Confirmed via diff of the extracted .deb contents: the i386 packages carry
a significantly longer changelog history (back through the 570 series)
while the amd64 packages use the modern truncated form. This indicates
the i386 and amd64 packages were built from different source states,
violating the Multi-Arch: same requirement that all shared path files
be bit-for-bit identical across architectures.

1. Enable i386 multiarch: sudo dpkg --add-architecture i386
2. Install nvidia-driver-580 (with i386 libs pulled in)
3. Run: sudo apt full-upgrade
4. Observe dpkg errors for the packages listed above

dpkg: error processing archive libnvidia-gl-580_580.142-0ubuntu3_i386.deb 
(--unpack):
 trying to overwrite shared 
'/usr/share/doc/libnvidia-gl-580/changelog.Debian.gz',
 which is different from other instances of package libnvidia-gl-580:i386

- Workaround
sudo apt -o Dpkg::Options::="--force-overwrite" full-upgrade

- Fix needed
Rebuild all affected i386 and amd64 packages together from the same
source so shared doc files are identical.

- System
Ubuntu 26.04 (Resolute Raccoon) development release

** Affects: nvidia-graphics-drivers-580 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2148139

Title:
  libnvidia-*-580 580.142-0ubuntu3: Multi-Arch:same packages contain
  differing changelog.Debian.gz between i386 and amd64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-580/+bug/2148139/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to