package linux-image-5.19.0-41-generic 5.19.0-41.42~22.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1

Bug #2017852 reported by Thomas Güttler
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: linux-image-5.19.0-41-generic 5.19.0-41.42~22.04.1
ProcVersionSignature: Ubuntu 5.19.0-40.41~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Apr 27 07:47:41 2023
ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
InstallationDate: Installed on 2021-11-10 (532 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: /usr/bin/python3.10, Python 3.10.6, python-is-python3, 3.9.2-2
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.8
SourcePackage: initramfs-tools
Title: package linux-image-5.19.0-41-generic 5.19.0-41.42~22.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
UpgradeStatus: Upgraded to jammy on 2022-08-27 (242 days ago)

Revision history for this message
Thomas Güttler (thomas-guettler) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Manfred Hampl (m-hampl) wrote :

From the logs:

zstd: error 25 : Write error : No space left on device (cannot write compressed block)

Not a bug in the software, but a local problem on your system.
You have to clean up your system to create enough free space.

Revision history for this message
Thomas Güttler (thomas-guettler) wrote :

The size of /boot was choosen by Ubuntu during the installation (not by me).

I never touched a file in this directory by hand.

Revision history for this message
Thomas Güttler (thomas-guettler) wrote :

I could help myself like this:

#check current linux version
uname -a

--> Linux p15 5.19.0-40-generic #41~22.04.1-Ubuntu

# list installed linux images
apt list --installed| grep linux-image

--> there were some older ones with version 5.15

# remove the old ones
apt remove linux-image-5.15.0-69-generic linux-image-5.15.0-70-generic
apt autoremove

# check states of /boot
df -h
--> /dev/nvme0n1p2 704M 605M 48M 93% /boot

... hmm still not better.

rm /boot/*-5.15*

df -h /boot/

--> /dev/nvme0n1p2 704M 288M 365M 45% /boot

Looks better now.

---

I can solve this on my own. But a normal human being (my mother, my sister) can't do this.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
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. This particular bug has already been reported and is a duplicate of bug 798414, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

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.