package initramfs-tools 0.140ubuntu13.5 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess was interrupted

Bug #2065840 reported by AKHILESH RAJ

This bug report will be marked for expiration in 52 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

I have problems with the kernals and nvidia drivers

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: initramfs-tools 0.140ubuntu13.5
ProcVersionSignature: Ubuntu 6.5.0-35.35~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-35-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed May 15 15:29:48 2024
Df:
 Filesystem 1K-blocks Used Available Use% Mounted on
 /dev/nvme0n1p2 982862268 51905892 880956044 6% /
ErrorMessage: installed initramfs-tools package post-installation script subprocess was interrupted
InstallationDate: Installed on 2024-02-28 (77 days ago)
InstallationMedia: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 (20240220)
PackageArchitecture: all
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.3
 apt 2.4.12
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.140ubuntu13.5 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess was interrupted
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
AKHILESH RAJ (akhilesh21041991) wrote :
Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The dpkg terminal log has some error message:

Error! Bad return status for module build on kernel: 5.15.0-111-generic (x86_64)
Consult /var/lib/dkms/nvidia/545.29.06/build/make.log for more information.
dpkg: error processing package nvidia-dkms-545 (--configure):
 installed nvidia-dkms-545 package post-installation script subprocess returned error exit status 10
Processing triggers for initramfs-tools (0.140ubuntu13.5) ...
update-initramfs: Generating /boot/initrd.img-6.5.0-35-generic
W: missing /lib/modules/6.5.0-35-generic
W: Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/6.5.0-35-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
cat: /var/tmp/mkinitramfs_FZ3e72/lib/modules/6.5.0-35-generic/modules.builtin: No such file or directory
W: Can't find modules.builtin.modinfo (for locating built-in drivers' firmware, supported in Linux >=5.2)
depmod: WARNING: could not open modules.order at /var/tmp/mkinitramfs_FZ3e72/lib/modules/6.5.0-35-generic: No such file or directory
depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_FZ3e72/lib/modules/6.5.0-35-generic: No such file or directory
[...]
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/nvidia-kernel-source-545.0.crash'
Error! Bad return status for module build on kernel: 5.15.0-111-generic (x86_64)
Consult /var/lib/dkms/nvidia/545.29.06/build/make.log for more information.
dpkg: error processing package nvidia-dkms-545 (--configure):
 installed nvidia-dkms-545 package post-installation script subprocess returned error exit status 10
Processing triggers for initramfs-tools (0.140ubuntu13.5) ...
update-initramfs: Generating /boot/initrd.img-6.5.0-35-generic
W: missing /lib/modules/6.5.0-35-generic
W: Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/6.5.0-35-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
cat: /var/tmp/mkinitramfs_Z9KJ91/lib/modules/6.5.0-35-generic/modules.builtin: No such file or directory
W: Can't find modules.builtin.modinfo (for locating built-in drivers' firmware, supported in Linux >=5.2)

The reason is not clear to me. Can you reproduce the failure? What is the output when running "sudo apt-get install -f"?

Changed in initramfs-tools (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.