[Bug 2036124] Re: package linux-image-6.2.0-32-generic 6.2.0-32.32~22.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Benjamin Drung
2036124 at bugs.launchpad.net
Wed Sep 27 10:14:50 UTC 2023
There are multiple ways to cut down the initramfs size:
Do your devices has a dedicated nvidia graphics card? If not, you could
remove the nvidia drivers and cut the initramfs size by half.
The zstd compression is faster, but xz produces smaller files. So
setting COMPRESS=xz will reduce the initramfs size for you. My test
showed a reduction from 203 MB to 153 MB (and build time increase from 7
to 22 seconds).
Setting COMPRESS=xz and COMPRESSLEVEL=9 will reduce the size further. On
my test to 143 MB (build time 82 seconds).
--
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/2036124
Title:
package linux-image-6.2.0-32-generic 6.2.0-32.32~22.04.1 failed to
install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools
exited with return code 1
Status in initramfs-tools package in Ubuntu:
Incomplete
Bug description:
A crash notification popped up when I was not doing anything so I'm
not sure what caused it. I hope the automatically-added debug
information contains something useful.
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: linux-image-6.2.0-32-generic 6.2.0-32.32~22.04.1
ProcVersionSignature: Ubuntu 6.2.0-32.32~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-32-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Mon Sep 11 00:24:38 2023
ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
InstallationDate: Installed on 2021-10-09 (704 days ago)
InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.21.1ubuntu2.2
apt 2.4.10
SourcePackage: initramfs-tools
Title: package linux-image-6.2.0-32-generic 6.2.0-32.32~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 2023-08-23 (22 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2036124/+subscriptions
More information about the foundations-bugs
mailing list