Running bash -x /var/lib/dpkg/info/nvidia-dkms-580.postinst configure as
root shows:

+ set -e
+ PACKAGE_NAME=nvidia
+ CVERSION=580.95.05
+ CVERSION=580.95.05
++ dpkg --print-architecture
+ ARCH=amd64
+ case $ARCH in
+ ARCH=x86_64
+ case "$1" in
++ update-alternatives --list gl_conf
+ '[' -n '' ']'
++ uname -r
+ CURRENT_KERNEL=6.8.0-90-generic
++ get_newest_kernel 6.8.0-90-generic
++ NEWEST_KERNEL=
++ '[' -e /usr/bin/dpkg ']'
++ CURRENT_KERNEL=6.8.0-90-generic
++ CURRENT_VERSION=6.8.0-90
++ CURRENT_ABI=90-generic
++ CURRENT_FLAVOUR=generic
++ CURRENT_ABI=90
+++ _get_newest_kernel_debian 6.8.0-90-90
+++ NEWEST_KERNEL=
+++ NEWEST_VERSION=
+++ NEWEST_ABI=
+++ for kernel in /boot/config-*
+++ '[' -f /boot/config-6.8.0-45-generic ']'
+++ KERNEL=6.8.0-45-generic
+++ KERNEL_VERSION=6.8.0-45
+++ ABI=45-generic
+++ ABI=45
+++ '[' -z '' ']'
+++ COMPARE_TO=6.8.0-90-90
++++ dpkg --compare-versions 6.8.0-45-45 gt 6.8.0-90-90
++++ echo no
+++ '[' no = yes ']'
+++ for kernel in /boot/config-*
+++ '[' -f /boot/config-6.8.0-88-generic ']'
+++ KERNEL=6.8.0-88-generic
+++ KERNEL_VERSION=6.8.0-88
+++ ABI=88-generic
+++ ABI=88
+++ '[' -z '' ']'
+++ COMPARE_TO=6.8.0-90-90
++++ dpkg --compare-versions 6.8.0-88-88 gt 6.8.0-90-90
++++ echo no
+++ '[' no = yes ']'
+++ for kernel in /boot/config-*
+++ '[' -f /boot/config-6.8.0-90-generic ']'
+++ KERNEL=6.8.0-90-generic
+++ KERNEL_VERSION=6.8.0-90
+++ ABI=90-generic
+++ ABI=90
+++ '[' -z '' ']'
+++ COMPARE_TO=6.8.0-90-90
++++ dpkg --compare-versions 6.8.0-90-90 gt 6.8.0-90-90
++++ echo no
+++ '[' no = yes ']'
+++ echo ''
++ NEWEST_KERNEL=
++ '[' -n '' ']'
++ echo
+ NEWEST_KERNEL=
+ '[' -x /usr/sbin/update-initramfs ']'
+ /usr/sbin/update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.8.0-90-generic
+ '[' -n '' ']'
++ which quirks-handler
+ '[' /usr/bin/quirks-handler ']'
+ quirks-handler -e nvidia -v
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
+ /usr/lib/dkms/common.postinst nvidia 580.95.05 /usr/share/nvidia x86_64
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.

And the exit code is 3.

-- 
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:
  package nvidia-dkms-580-open 580.95.05-0ubuntu0.24.04.3 failed to
  install/upgrade: installed nvidia-dkms-580-open package post-
  installation script subprocess returned error exit status 3

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


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

Reply via email to