It was a bit tricky to test this, but did it like this: I installed a 24.10 LPAR with a broken network configuration to do an offline install (and prevent any updates right during installation). [For test purposes it would be great to be able to perform offline installs in a more straight-forward and more convenient way ...] Logged into the system and fixed the network. Updated the archive index (apt update), installed the initrmfs-tools* packages first (just to be sure) and then upgraded the rest, that incl. the kernel and the system updated the kernel, the update-initramfs worked (even if it still moans about '/usr/lib/udev/dmsetup_env', but that was not part of the patch):
... Setting up linux-image-6.11.0-9-generic (6.11.0-9.9) ... I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.11.0-8-generic I: /boot/initrd.img.old is now a symlink to initrd.img-6.11.0-8-generic I: /boot/vmlinuz is now a symlink to vmlinuz-6.11.0-9-generic I: /boot/initrd.img is now a symlink to initrd.img-6.11.0-9-generic Setting up linux-tools-6.11.0-9 (6.11.0-9.9) ... Setting up systemd-resolved (256.5-2ubuntu3.1) ... Setting up linux-tools-6.11.0-9-generic (6.11.0-9.9) ... Setting up linux-image-generic (6.11.0-9.9) ... Setting up systemd-sysv (256.5-2ubuntu3.1) ... Setting up libnss-systemd:s390x (256.5-2ubuntu3.1) ... Setting up linux-headers-generic (6.11.0-9.9) ... Setting up libpam-systemd:s390x (256.5-2ubuntu3.1) ... Setting up linux-generic (6.11.0-9.9) ... Processing triggers for man-db (2.12.1-3) ... Processing triggers for dbus (1.14.10-4ubuntu5) ... Processing triggers for shared-mime-info (2.4-5) ... Processing triggers for initramfs-tools (0.142ubuntu34.1) ... update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic mkinitramfs: copy_file: binary '/usr/lib/udev/dmsetup_env' not found Not invoking zipl: initrd doesn't exist yet Processing triggers for libc-bin (2.40-1ubuntu3) ... Processing triggers for linux-image-6.11.0-8-generic (6.11.0-8.8+1) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic mkinitramfs: copy_file: binary '/usr/lib/udev/dmsetup_env' not found Not invoking zipl: initrd doesn't exist yet /etc/kernel/postinst.d/kdump-tools: kdump-tools: Generating /var/lib/kdump/initrd.img-6.11.0-8-generic mkinitramfs: copy_file: binary '/usr/lib/udev/dmsetup_env' not found /etc/kernel/postinst.d/zz-zipl: Not invoking zipl: initrd doesn't exist yet Processing triggers for linux-image-6.11.0-9-generic (6.11.0-9.9) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-6.11.0-9-generic mkinitramfs: copy_file: binary '/usr/lib/udev/dmsetup_env' not found Using config file '/etc/zipl.conf' Run /lib/s390-tools/zipl_helper.device-mapper 252:1 Building bootmap in '/boot' Adding IPL section 'ubuntu' (default) Run /lib/s390-tools/zipl_helper.device-mapper 252:1 Run /lib/s390-tools/zipl_helper.device-mapper 252:1 Preparing boot device for LD-IPL: dm-0. Done. /etc/kernel/postinst.d/kdump-tools: kdump-tools: Generating /var/lib/kdump/initrd.img-6.11.0-9-generic mkinitramfs: copy_file: binary '/usr/lib/udev/dmsetup_env' not found /etc/kernel/postinst.d/zz-zipl: Using config file '/etc/zipl.conf' Run /lib/s390-tools/zipl_helper.device-mapper 252:1 Building bootmap in '/boot' Adding IPL section 'ubuntu' (default) Run /lib/s390-tools/zipl_helper.device-mapper 252:1 Run /lib/s390-tools/zipl_helper.device-mapper 252:1 Preparing boot device for LD-IPL: dm-0. Done. Scanning processes... Scanning candidates... Scanning processor microcode... Scanning linux images... Pending kernel upgrade! Running kernel version: 6.11.0-8-generic Diagnostics: The currently running kernel version is not the expected kernel version 6.11.0-9-generic. Restarting the system to load the new kernel will not be handled automatically, so you should consider rebooting. Failed to check for processor microcode upgrades. Restarting services... systemctl restart multipathd.service packagekit.service polkit.service rsyslog.service ssh.service udisks2.service Service restarts being deferred: systemctl restart ModemManager.service /etc/needrestart/restart.d/dbus.service systemctl restart [email protected] systemctl restart serial-getty@sclp_line0.service systemctl restart [email protected] systemctl restart systemd-logind.service systemctl restart unattended-upgrades.service No containers need to be restarted. User sessions running outdated binaries: ubuntu @ session #5: apt[11929], sshd[2676] ubuntu @ user manager service: systemd[2205] No VM guests are running outdated hypervisor (qemu) binaries on this host. But I then unfortunately found that the system "hangs" (repeatedly) for about 3min at line: "Begin: Waiting for udev to settle (multipath) ... done." It looks like a new udev package: "Setting up udev (256.5-2ubuntu3.1) ..." was also installed during my (not only) kernel upgrade (since I upgraded simply everything from -proposed). Since this is a different issue, it needs to be addressed differently ... I am calling this bug now as 'verification-done-oracular'. ** Tags removed: verification-needed verification-needed-oracular ** Tags added: verification-done verification-done-oracular -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2085157 Title: mkinitramfs fails with copy_file binary '/libgcc_s.so.[1-9]' not found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2085157/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
