[Bug 1979990] Re: package linux-image-5.15.0-39-generic 5.15.0-39.42 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Brian Murray
1979990 at bugs.launchpad.net
Tue Sep 6 20:39:25 UTC 2022
Thank you for taking the time to report this bug and helping to make
Ubuntu better. It seems that there was an error on your system when
trying to update the kernel on your system due to a lack of free space
in your boot partition. Please resolve this situation manually and try
the update again.
** This bug is no longer a duplicate of bug 1956835
zsys cleanup of /boot should be reevaluated
** Changed in: initramfs-tools (Ubuntu)
Status: New => Invalid
** Changed in: initramfs-tools (Ubuntu)
Importance: Undecided => Low
** Tags added: no-boot-space
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1979990
Title:
package linux-image-5.15.0-39-generic 5.15.0-39.42 failed to
install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools
exited with return code 1
Status in initramfs-tools package in Ubuntu:
Invalid
Bug description:
Also:
$ sudo apt purge linux-image-unsigned-5.15.0-35-generic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'linux-image-unsigned-5.15.0-35-generic' is not installed, so not removed
The following packages were automatically installed and are no longer required:
linux-headers-5.15.0-35 linux-headers-5.15.0-35-generic linux-headers-5.15.0-39 linux-headers-5.15.0-39-generic
linux-image-5.15.0-35-generic linux-image-5.15.0-39-generic linux-modules-5.15.0-35-generic linux-modules-5.15.0-39-generic
linux-modules-extra-5.15.0-35-generic linux-modules-extra-5.15.0-39-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 92 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-5.15.0-39-generic (5.15.0-39.42) ...
Processing triggers for linux-image-5.15.0-39-generic (5.15.0-39.42) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.15.0-39-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-39-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable to override this.
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
E: mkinitramfs failure zstd -q -1 -T0 25
update-initramfs: failed for /boot/initrd.img-5.15.0-39-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.15.0-39-generic (--configure):
installed linux-image-5.15.0-39-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.15.0-39-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-39-generic 5.15.0-39.42
ProcVersionSignature: Ubuntu 5.15.0-37.39-generic 5.15.35
Uname: Linux 5.15.0-37-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: fdimeglio 2053 F.... pulseaudio
/dev/snd/controlC0: fdimeglio 2053 F.... pulseaudio
CasperMD5CheckResult: pass
Date: Mon Jun 27 06:47:12 2022
ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
InstallationDate: Installed on 2022-01-16 (161 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
MachineType: System manufacturer System Product Name
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-37-generic root=/dev/mapper/vgubuntu-root ro quiet splash
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Python3Details: /usr/bin/python3.10, Python 3.10.4, python3-minimal, 3.10.4-0ubuntu2
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions: grub-pc 2.06-2ubuntu7
SourcePackage: initramfs-tools
Title: package linux-image-5.15.0-39-generic 5.15.0-39.42 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
UpgradeStatus: Upgraded to jammy on 2022-04-28 (60 days ago)
dmi.bios.date: 06/16/2021
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5851
dmi.board.asset.tag: Default string
dmi.board.name: PRIME X470-PRO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr5851:bd06/16/2021:br5.17:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnPRIMEX470-PRO:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1979990/+subscriptions
More information about the foundations-bugs
mailing list