During `sudo apt-get update` && `sudo apt-get upgrade` the command ended
with:
$ sudo apt-get upgrade
...
Processing triggers for linux-image-6.8.0-54-generic (6.8.0-54.56) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.8.0-54-generic
E: /usr/share/init
Well and ...
$ sudo reboot now
... leads to a server that is irresponsive to
1) my ssh terminal as well as in
2) the DigitalOcean Droplet Console.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
And after restoring the server the first error on upgrading again is:
$ sudo apt upgrade
...
E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.8.0-54-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return c
I made the changes and ran it:
mhb@ubuntu-s-2vcpu-4gb-fra1-01:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.8.0-52-generic
+ set -e
+ PREREQ=
+ prereqs
+ echo
+ exit 0
+ set -e
+ PREREQ=
+ . /usr/share/initramfs-tools/hook-functions
+ [ -x /bin/btrfs ]
+ echo DEBUG: b
Public bug reported:
initramfs-tools package in noble repository is defective and does not
contain /usr/share/initramfs-tools/hooks directory. This prevents proper
installation and configuration of initramfs-tools.
$ lsb_release -rd
No LSB modules are available.
Description:Ubuntu 24.04.2 LTS
5 matches
Mail list logo