I get a similar error when updating my system using Ubuntu Software Updater. Also trying apt autoremove as sudo I get the following output:
username@computername:~$ sudo apt autoremove Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up nvidia-dkms-580-open (580.95.05-0ubuntu0.24.04.3) ... update-initramfs: deferring update (trigger activated) INFO:Enable nvidia DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude Removing old nvidia-580.95.05 DKMS files... Loading new nvidia-580.95.05 DKMS files... Error! DKMS tree already contains: nvidia-580.95.05 You cannot add the same module/version combo more than once. dpkg: error processing package nvidia-dkms-580-open (--configure): installed nvidia-dkms-580-open package post-installation script subprocess retu rned error exit status 3 Processing triggers for initramfs-tools (0.142ubuntu25.5) ... update-initramfs: Generating /boot/initrd.img-6.8.0-90-generic I: The initramfs will attempt to resume from /dev/dm-2 I: (/dev/mapper/vgubuntu-swap_1) I: Set the RESUME variable to override this. Errors were encountered while processing: nvidia-dkms-580-open E: Sub-process /usr/bin/dpkg returned an error code (1) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2136808 Title: Error! DKMS tree already contains: nvidia-580.95.05 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/2136808/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
