package initramfs-tools 0.140ubuntu13.1 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1

Bug #2027849 reported by Jiachen Lu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

It happened when the install process ended.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: initramfs-tools 0.140ubuntu13.1
ProcVersionSignature: Ubuntu 5.19.0-32.33~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-32-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Sat Jul 15 22:13:24 2023
ErrorMessage: installed initramfs-tools package post-installation script subprocess returned error exit status 1
PackageArchitecture: all
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.8
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.140ubuntu13.1 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jiachen Lu (nakedtortoise) wrote :
tags: removed: need-duplicate-check
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 relevant dpkg terminal log says:

zstd: error 25 : Write error : No space left on device (cannot write compressed block)
E: mkinitramfs failure zstd -q -1 -T0 25

df log says:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/nvme0n1p7 166760 146868 6208 96% /target/boot

So generating the initramfs fails because your boot partition is full. A 162 MiB small /boot partition is too small.

Which install media did you use? Did you setup your partitions manually?

Changed in initramfs-tools (Ubuntu):
status: New → Incomplete
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.