package initramfs-tools 0.140ubuntu13.1 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1
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
ProcVersionSign
Uname: Linux 5.19.0-32-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckR
Date: Sat Jul 15 22:13:24 2023
ErrorMessage: installed initramfs-tools package post-installation script subprocess returned error exit status 1
PackageArchitec
Python3Details: /usr/bin/
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
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)
tags: | removed: need-duplicate-check |
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?