*** This bug is a duplicate of bug 2115148 ***
    https://bugs.launchpad.net/bugs/2115148

Public bug reported:

During usual update/upgrade new kernel(7.0.0-30-generic)  modules(
Nvidia-580-7.0.0-30 ) is failed to install , and after that this kernel
is unable to boot

Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 wget amd64 
1.21.4-1ubuntu4.5 [334 kB]
Get:2 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 vim-tiny amd64 
2:9.1.0016-1ubuntu7.19 [806 kB]
Get:3 https://dl.google.com/linux/chrome-stable/deb stable/main amd64 
google-chrome-stable amd64 151.0.7922.173-1 [140 MB]
Get:4 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 vim-common all 
2:9.1.0016-1ubuntu7.19 [388 kB]
Get:5 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 xxd amd64 
2:9.1.0016-1ubuntu7.19 [66.1 kB]
Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 
linux-modules-7.0.0-30-generic amd64 7.0.0-30.30~24.04.1 [168 MB]
Get:7 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 
linux-image-7.0.0-30-generic amd64 7.0.0-30.30~24.04.1 [16.7 MB]                
                               
Get:8 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 
linux-signatures-nvidia-7.0.0-30-generic amd64 7.0.0-30.30~24.04.1 [20.3 kB]    
                         
Get:9 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 
linux-objects-nvidia-580-7.0.0-30-generic amd64 7.0.0-30.30~24.04.1 [98.3 MB]   
                         
Get:10 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 
linux-modules-nvidia-580-7.0.0-30-generic amd64 7.0.0-30.30~24.04.1 [7,062 B]   
                        
Get:11 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 
linux-modules-nvidia-580-generic-hwe-24.04 amd64 7.0.0-30.30~24.04.1 [5,392 B]  
                        
Get:12 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 
linux-modules-nvidia-535-generic-hwe-24.04 amd64 7.0.0-30.30~24.04.1 [5,330 B]  
                        
Fetched 425 MB in 41s (10.5 MB/s)                                               
                                                                                
               
Preconfiguring packages ...
(Reading database ... 302483 files and directories currently installed.)
Preparing to unpack .../00-wget_1.21.4-1ubuntu4.5_amd64.deb ...
Unpacking wget (1.21.4-1ubuntu4.5) over (1.21.4-1ubuntu4.4) ...
Preparing to unpack .../01-google-chrome-stable_151.0.7922.173-1_amd64.deb ...
Unpacking google-chrome-stable (151.0.7922.173-1) over (151.0.7922.169-1) ...
Preparing to unpack .../02-vim-tiny_2%3a9.1.0016-1ubuntu7.19_amd64.deb ...
Unpacking vim-tiny (2:9.1.0016-1ubuntu7.19) over (2:9.1.0016-1ubuntu7.18) ...
Preparing to unpack .../03-vim-common_2%3a9.1.0016-1ubuntu7.19_all.deb ...
Unpacking vim-common (2:9.1.0016-1ubuntu7.19) over (2:9.1.0016-1ubuntu7.18) ...
Preparing to unpack .../04-xxd_2%3a9.1.0016-1ubuntu7.19_amd64.deb ...
Unpacking xxd (2:9.1.0016-1ubuntu7.19) over (2:9.1.0016-1ubuntu7.18) ...
Selecting previously unselected package linux-modules-7.0.0-30-generic.
Preparing to unpack 
.../05-linux-modules-7.0.0-30-generic_7.0.0-30.30~24.04.1_amd64.deb ...
Unpacking linux-modules-7.0.0-30-generic (7.0.0-30.30~24.04.1) ...
Selecting previously unselected package linux-image-7.0.0-30-generic.
Preparing to unpack 
.../06-linux-image-7.0.0-30-generic_7.0.0-30.30~24.04.1_amd64.deb ...
Unpacking linux-image-7.0.0-30-generic (7.0.0-30.30~24.04.1) ...
Selecting previously unselected package 
linux-signatures-nvidia-7.0.0-30-generic.
Preparing to unpack 
.../07-linux-signatures-nvidia-7.0.0-30-generic_7.0.0-30.30~24.04.1_amd64.deb 
...
Unpacking linux-signatures-nvidia-7.0.0-30-generic (7.0.0-30.30~24.04.1) ...
Selecting previously unselected package 
linux-objects-nvidia-580-7.0.0-30-generic.
Preparing to unpack 
.../08-linux-objects-nvidia-580-7.0.0-30-generic_7.0.0-30.30~24.04.1_amd64.deb 
...
Unpacking linux-objects-nvidia-580-7.0.0-30-generic (7.0.0-30.30~24.04.1) ...
Selecting previously unselected package 
linux-modules-nvidia-580-7.0.0-30-generic.
Preparing to unpack 
.../09-linux-modules-nvidia-580-7.0.0-30-generic_7.0.0-30.30~24.04.1_amd64.deb 
...
Unpacking linux-modules-nvidia-580-7.0.0-30-generic (7.0.0-30.30~24.04.1) ...
Preparing to unpack 
.../10-linux-modules-nvidia-580-generic-hwe-24.04_7.0.0-30.30~24.04.1_amd64.deb 
...
Unpacking linux-modules-nvidia-580-generic-hwe-24.04 (7.0.0-30.30~24.04.1) over 
(7.0.0-29.29~24.04.2) ...
Preparing to unpack 
.../11-linux-modules-nvidia-535-generic-hwe-24.04_7.0.0-30.30~24.04.1_amd64.deb 
...
Unpacking linux-modules-nvidia-535-generic-hwe-24.04 (7.0.0-30.30~24.04.1) over 
(7.0.0-29.29~24.04.2) ...
Setting up wget (1.21.4-1ubuntu4.5) ...
Setting up xxd (2:9.1.0016-1ubuntu7.19) ...
Setting up linux-objects-nvidia-580-7.0.0-30-generic (7.0.0-30.30~24.04.1) ...
Setting up vim-common (2:9.1.0016-1ubuntu7.19) ...
Setting up linux-modules-7.0.0-30-generic (7.0.0-30.30~24.04.1) ...
Setting up google-chrome-stable (151.0.7922.173-1) ...
Setting up vim-tiny (2:9.1.0016-1ubuntu7.19) ...
Setting up linux-image-7.0.0-30-generic (7.0.0-30.30~24.04.1) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-7.0.0-28-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-7.0.0-28-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-7.0.0-30-generic
I: /boot/initrd.img is now a symlink to initrd.img-7.0.0-30-generic
Setting up linux-signatures-nvidia-7.0.0-30-generic (7.0.0-30.30~24.04.1) ...
Setting up linux-modules-nvidia-580-7.0.0-30-generic (7.0.0-30.30~24.04.1) ...
linux-image-nvidia-7.0.0-30-generic: constructing .ko files
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
./BUILD: 4: /usr/src/linux-headers-7.0.0-30-generic/tools/objtool/objtool: not 
found
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
./BUILD: 5: /usr/src/linux-headers-7.0.0-30-generic/tools/objtool/objtool: not 
found
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
./BUILD: 6: /usr/src/linux-headers-7.0.0-30-generic/tools/objtool/objtool: not 
found
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
./BUILD: 7: /usr/src/linux-headers-7.0.0-30-generic/tools/objtool/objtool: not 
found
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
/usr/bin/ld.bfd: warning: --package-metadata is empty, ignoring
./BUILD: 10: /usr/src/linux-headers-7.0.0-30-generic/tools/objtool/objtool: not 
found
/usr/bin/ld.bfd: cannot open linker script file 
/usr/src/linux-headers-7.0.0-30-generic/scripts/module.lds: No such file or 
directory
/usr/bin/ld.bfd: cannot open linker script file 
/usr/src/linux-headers-7.0.0-30-generic/scripts/module.lds: No such file or 
directory
/usr/bin/ld.bfd: cannot open linker script file 
/usr/src/linux-headers-7.0.0-30-generic/scripts/module.lds: No such file or 
directory
/usr/bin/ld.bfd: cannot open linker script file 
/usr/src/linux-headers-7.0.0-30-generic/scripts/module.lds: No such file or 
directory
/usr/bin/ld.bfd: cannot open linker script file 
/usr/src/linux-headers-7.0.0-30-generic/scripts/module.lds: No such file or 
directory
sha256sum: nvidia-drm.ko: No such file or directory
nvidia-drm.ko: FAILED open or read
sha256sum: nvidia-modeset.ko: No such file or directory
nvidia-modeset.ko: FAILED open or read
sha256sum: nvidia-peermem.ko: No such file or directory
nvidia-peermem.ko: FAILED open or read
sha256sum: nvidia-uvm.ko: No such file or directory
nvidia-uvm.ko: FAILED open or read
sha256sum: nvidia.ko: No such file or directory
nvidia.ko: FAILED open or read
sha256sum: WARNING: 5 listed files could not be read
dpkg: error processing package linux-modules-nvidia-580-7.0.0-30-generic 
(--configure):
 installed linux-modules-nvidia-580-7.0.0-30-generic package post-installation 
script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of 
linux-modules-nvidia-580-generic-hwe-24.04:
 linux-modules-nvidia-580-generic-hwe-24.04 depends on 
linux-modules-nvidia-580-7.0.0-30-generic (= 7.0.0-30.30~24.04.1); however:
  Package linux-modules-nvidia-580-7.0.0-30-generic is not configured yet.

dpkg: error processing package linux-modules-nvidia-580-generic-hwe-24.04 
(--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of 
linux-modules-nvidia-535-generic-hwe-24.04:
 linux-modules-nvidia-535-generic-hwe-24.04 depends on 
linux-modules-nvidia-580-generic-hwe-24.04; however:
  Package linux-modules-nvidia-580-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-modules-nvidia-535-generic-hwe-24.04 
(--configure):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triNo apport report written because the error message indicates its 
a followup error from a previous failure.
                                                                                
                                        No apport report written because the 
error message indic
ates its a followup error from a previous failure.
                                                  ggers for man-db 
(2.12.0-4build2) ...
Processing triggers for install-info (7.1-3build2) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for linux-image-7.0.0-30-generic (7.0.0-30.30~24.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: autoinstall for kernel 7.0.0-30-generic was skipped since the kernel 
headers for this kernel do not seem to be installed
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-7.0.0-30-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-7.0.0-30-generic
Found initrd image: /boot/initrd.img-7.0.0-30-generic
Found linux image: /boot/vmlinuz-7.0.0-29-generic
Found linux image: /boot/vmlinuz-7.0.0-28-generic
Found initrd image: /boot/initrd.img-7.0.0-28-generic
Found linux image: /boot/vmlinuz-6.17.0-35-generic
Found initrd image: /boot/initrd.img-6.17.0-35-generic
Found linux image: /boot/vmlinuz-6.17.0-20-generic
Found initrd image: /boot/initrd.img-6.17.0-20-generic
Found memtest86+x64 image: /memtest86+x64.bin
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Errors were encountered while processing:
 linux-modules-nvidia-580-7.0.0-30-generic
 linux-modules-nvidia-580-generic-hwe-24.04
 linux-modules-nvidia-535-generic-hwe-24.04
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ubuntu:~# ^C
root@ubuntu:~#

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: linux-modules-nvidia-580-7.0.0-30-generic 7.0.0-30.30~24.04.1
ProcVersionSignature: Ubuntu 7.0.0-28.28~24.04.1-generic 7.0.12
Uname: Linux 7.0.0-28-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.3-0ubuntu0.1
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: pass
Date: Fri Aug 21 10:43:55 2026
ErrorMessage: installed linux-modules-nvidia-580-7.0.0-30-generic package 
post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2025-12-02 (262 days ago)
InstallationMedia: Ubuntu 24.04.3 LTS "Noble Numbat" - Release amd64 
(20250805.1)
MachineType: To be filled by O.E.M. To be filled by O.E.M.
ProcFB: 0 nvidia-drmdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-7.0.0-28-generic 
root=/dev/mapper/hostname--vg-hostname--lv ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 
3.12.3-0ubuntu2.1
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions: grub-pc 2.12-1ubuntu7.3
SourcePackage: linux-restricted-modules-hwe-7.0
Title: package linux-modules-nvidia-580-7.0.0-30-generic 7.0.0-30.30~24.04.1 
failed to install/upgrade: installed linux-modules-nvidia-580-7.0.0-30-generic 
package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/07/2017
dmi.bios.release: 4.6
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1001
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: 970 PRO GAMING/AURA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr1001:bd06/07/2017:br4.6:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnASUSTeKCOMPUTERINC.:rn970PROGAMING/AURA:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:skuSKU:pfaTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: To be filled by O.E.M.
dmi.product.sku: SKU
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: To be filled by O.E.M.

** Affects: linux-restricted-modules-hwe-7.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package noble

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

Title:
  modules-nvidia-580-7.0.0-30-~24.04.1 failed to install/upgrade:
  installed linux-modules-nvidia-580-7.0.0-30-generic package post-
  installation script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-hwe-7.0/+bug/2164747/+subscriptions


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

Reply via email to