/usr/share/initramfs-tools/hooks is shipped by initramfs-tools-core (not initramfs-tools):
``` $ dpkg -s initramfs-tools-core | grep Version Version: 0.142ubuntu25.5 $ dpkg -L initramfs-tools-core | grep /usr/share/initramfs-tools/hooks /usr/share/initramfs-tools/hooks /usr/share/initramfs-tools/hooks/dhcpcd /usr/share/initramfs-tools/hooks/fixrtc /usr/share/initramfs-tools/hooks/framebuffer /usr/share/initramfs-tools/hooks/fsck /usr/share/initramfs-tools/hooks/resume /usr/share/initramfs-tools/hooks/thermal ``` What issues did you have with installation and configuration of initramfs-tools? ** Changed in: initramfs-tools (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/2101799 Title: initramfs-tools in noble repo misses hooks Status in initramfs-tools package in Ubuntu: Incomplete Bug description: 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 Release: 24.04 $ apt-cache policy initramfs-tools initramfs-tools: Installed: 0.142ubuntu25.5 Candidate: 0.142ubuntu25.5 Version table: *** 0.142ubuntu25.5 500 500 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 Packages 100 /var/lib/dpkg/status 0.142ubuntu25 500 500 http://mirrors.digitalocean.com/ubuntu noble/main amd64 Packages Expectation to have a hooks directory: $ apt-get download initramfs-tools $ dpkg-deb -x ./initramfs-tools_*.deb temp_extract_dir $ ls temp_extract_dir/usr/share/ bash-completion bug doc lintian man To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2101799/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp