[Bug 2087791] Re: package linux-image-5.15.0-125-generic 5.15.0-125.135 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Benjamin Drung
2087791 at bugs.launchpad.net
Mon Nov 11 10:58:59 UTC 2024
Thank you for taking the time to report this bug and helping to make
Ubuntu better. The relevant dpkg terminal log says:
update-initramfs: Generating /boot/initrd.img-5.15.0-125-generic
E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.15.0-125-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Sadly there is no error message explaining the exit code 1. Can you edit
/usr/share/initramfs-tools/hooks/btrfs and add "set -x" (without the
quotes) to the script and then run update-initramfs to get more log
output?
sudo nano /usr/share/initramfs-tools/hooks/btrfs
sudo update-initramfs -u
Please attach the output to the bug report then.
** Changed in: initramfs-tools (Ubuntu)
Status: New => Incomplete
--
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/2087791
Title:
package linux-image-5.15.0-125-generic 5.15.0-125.135 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:
Unsure
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-125-generic 5.15.0-125.135
ProcVersionSignature: Ubuntu 5.4.0-53.59-generic 5.4.65
Uname: Linux 5.4.0-53-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudID: configdrive
CloudName: configdrive
CloudPlatform: configdrive
CloudSubPlatform: config-disk (/dev/nvme0n1p4)
Date: Sun Nov 10 14:36:32 2024
ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-53-generic root=UUID=a724a15f-4840-43fc-930b-a57f8d4aa102 ro vga=normal nomodeset modprobe.blacklist=btrfs
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04.1
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions: grub-pc N/A
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: initramfs-tools
Title: package linux-image-5.15.0-125-generic 5.15.0-125.135 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
UpgradeStatus: Upgraded to jammy on 2024-11-10 (0 days ago)
dmi.bios.date: 12/18/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: L2.02K
dmi.board.name: E3C246D4U2-2T
dmi.board.vendor: ASRockRack
dmi.board.version: 1.01
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrL2.02K:bd12/18/2019:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRockRack:rnE3C246D4U2-2T:rvr1.01:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2087791/+subscriptions
More information about the foundations-bugs
mailing list