package nvidia-kernel-common-525 525.105.17-0ubuntu1 failed to install/upgrade: installed nvidia-kernel-common-525 package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Upgrading from 22.10 to 23.04
ProblemType: Package
DistroRelease: Ubuntu 23.04
Package: nvidia-
ProcVersionSign
Uname: Linux 5.19.0-35-generic x86_64
NonfreeKernelMo
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CloudArchitecture: x86_64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
Date: Sat Apr 29 19:33:35 2023
ErrorMessage: installed nvidia-
InstallationDate: Installed on 2022-11-22 (158 days ago)
InstallationMedia: Ubuntu-Server 20.04.5 LTS "Focal Fossa" - Release amd64 (20220831)
Python3Details: /usr/bin/
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
dpkg 1.21.21ubuntu1
apt 2.6.0
SourcePackage: initramfs-tools
Title: package nvidia-
UpgradeStatus: Upgraded to lunar on 2023-04-30 (0 days ago)
tags: | removed: need-duplicate-check |
Changed in initramfs-tools (Ubuntu): | |
status: | In Progress → Fix Committed |
Thank you for taking the time to report this bug and helping to make Ubuntu better. The relevant dpkg terminal log says:
update-initramfs: Generating /boot/initrd. img-5.19. 0-35-generic 5.19.0- 35-generic: No such file or directory 5.19.0- 35-generic: No such file or directory img-5.19. 0-35-generic with 1.
grep: /boot/config-
W: zstd compression (CONFIG_RD_ZSTD) not supported by kernel, using gzip
grep: /boot/config-
E: gzip compression (CONFIG_RD_GZIP) not supported by kernel
update-initramfs: failed for /boot/initrd.
/boot/config- 5.19.0- 35-generic is not present any more. Probably the kernel version 5.19.0-35-generic is not fully installed any more. I recommend to remove this kernel completely:
sudo apt remove linux-image- 5.19.0- 35-generic linux-modules- 5.19.0- 35-generic linux-modules- extra-5. 19.0-35- generic