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 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/2065840 Title: package initramfs-tools 0.140ubuntu13.5 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess was interrupted Status in initramfs-tools package in Ubuntu: Incomplete 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) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2065840/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp