[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
Adam Jarvis
2087791 at bugs.launchpad.net
Mon Nov 11 14:51:34 UTC 2024
Can do - it's seemingly failing for every initramfs hook. I moved btrfs
out of the hooks directory, and it's now failing on the dhcpcd hook
root at rescue-customer-ca:/# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.8.0-48-generic
+ set -e
+ PREREQ=
+ prereqs
+ echo
+ exit 0
+ set -e
+ PREREQ=
+ . /usr/share/initramfs-tools/hook-functions
+ [ -x /usr/sbin/dhcpcd ]
+ copy_exec /usr/sbin/dhcpcd
+ local src target x nonoptlib ret
+ src=/usr/sbin/dhcpcd
+ target=/usr/sbin/dhcpcd
+ copy_file binary /usr/sbin/dhcpcd /usr/sbin/dhcpcd
+ local type src target link_target
+ type=binary
+ src=/usr/sbin/dhcpcd
+ target=/usr/sbin/dhcpcd
+ [ -f /usr/sbin/dhcpcd ]
+ [ -d /var/tmp/mkinitramfs_z9YLsA//usr/sbin/dhcpcd ]
+ [ -e /var/tmp/mkinitramfs_z9YLsA//usr/sbin/dhcpcd ]
+ mkdir -p /var/tmp/mkinitramfs_z9YLsA//usr/sbin
+ [ -h /usr/sbin/dhcpcd ]
+ [ n = y ]
+ cp -pP /usr/sbin/dhcpcd /var/tmp/mkinitramfs_z9YLsA//usr/sbin/dhcpcd
+ env --unset=LD_PRELOAD ldd /usr/sbin/dhcpcd
+ grep -P ^\t
+ sed -e
/\//!d;
/linux-gate/d;
/=>/ {s/.*=>[[:blank:]]*\([^[:blank:]]*\).*/\1/};
s/[[:blank:]]*\([^[:blank:]]*\) (.*)/\1/
+ echo /lib/libgcwrap.so
+ sed -e s#/lib/\([^/]*/\)\?\(tls\|i686\|sse2\|neon\|vfp\).*/\(lib.*\)#/lib/\1\3#
+ nonoptlib=/lib/libgcwrap.so
+ echo /lib/libgcwrap.so
+ sed -e s#-linux-gnu/\(tls\|i686\|sse2\|neon\|vfp\).*/\(lib.*\)#-linux-gnu/\2#
+ nonoptlib=/lib/libgcwrap.so
+ [ -e /lib/libgcwrap.so ]
+ copy_file binary /lib/libgcwrap.so
+ local type src target link_target
+ type=binary
+ src=/lib/libgcwrap.so
+ target=/lib/libgcwrap.so
+ [ -f /lib/libgcwrap.so ]
+ return 2
+ ret=2
+ [ 2 = 1 ]
+ return 1
E: /usr/share/initramfs-tools/hooks/dhcpcd failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.8.0-48-generic with 1
--
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