Public bug reported:

When installing linux-objects-nvidia-580-open-6.8.0-146-generic from
noble-proposed (after linux-modules-nvidia-580-open-6.8.0-146-generic
was already installed), dpkg fails with:

dpkg: error processing archive 
.../linux-objects-nvidia-580-open-6.8.0-146-generic_6.8.0-146.146+1_amd64.deb 
(--unpack):
 trying to overwrite 
'/lib/modules/6.8.0-146-generic/kernel/nvidia-580-open/nvidia-drm.ko', which is 
also in package linux-modules-nvidia-580-open-6.8.0-146-generic 6.8.0-146.146+1

The same conflict occurs for nvidia-modeset.ko, nvidia-peermem.ko,
nvidia-uvm.ko, and nvidia.ko — both packages appear to ship identical
copies of the same five kernel module files for this kernel version,
causing dpkg to refuse the second install.

Steps to reproduce:
1. Enable noble-proposed
2. sudo apt install linux-modules-nvidia-580-open-6.8.0-146-generic 
linux-objects-nvidia-580-open-6.8.0-146-generic
3. Installation of the second package fails with the file-overwrite conflict 
above.

Workaround used: sudo apt install -o Dpkg::Options::="--force-overwrite"
linux-objects-nvidia-580-open-6.8.0-146-generic

System: Kubuntu 24.04, kernel 6.8.0-146-generic, NVIDIA driver
580.178.04 (nvidia-580-open), tested while validating the fix for LP:
#2165873.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-modules-nvidia-580-open-6.8.0-146-generic 6.8.0-146.146+1 
[modified: lib/modules/6.8.0-146-generic/kernel/nvidia-580-open/nvidia-drm.ko 
lib/modules/6.8.0-146-generic/kernel/nvidia-580-open/nvidia-modeset.ko 
lib/modules/6.8.0-146-generic/kernel/nvidia-580-open/nvidia-peermem.ko 
lib/modules/6.8.0-146-generic/kernel/nvidia-580-open/nvidia-uvm.ko 
lib/modules/6.8.0-146-generic/kernel/nvidia-580-open/nvidia.ko]
ProcVersionSignature: Ubuntu 6.8.0-146.146-generic 6.8.12
Uname: Linux 6.8.0-146-generic x86_64
ApportVersion: 2.28.3-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Sun Sep 27 12:11:18 2026
InstallationDate: Installed on 2024-11-01 (695 days ago)
InstallationMedia: Kubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827)
SourcePackage: linux-restricted-signatures
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble package-from-proposed

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

Title:
  Package conflict: linux-objects-nvidia-580-open-6.8.0-146-generic
  fails to install due to shared .ko files

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


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

Reply via email to