** Package changed: ubuntu => initramfs-tools (Ubuntu) -- 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/2057605
Title: update-initramfs fails: /usr/share/initramfs-tools/hooks/fsck failed with return 1 Status in initramfs-tools package in Ubuntu: New Bug description: lsb_release -rd Description: Ubuntu 20.04.6 LTS Release: 20.04 initramfs-tools: Installed: 0.136ubuntu6.7 Candidate: 0.136ubuntu6.7 Version table: *** 0.136ubuntu6.7 500 500 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages 100 /var/lib/dpkg/status 0.136ubuntu6 500 500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages sudo apt-get install linux-image-5.4.0-173-generic Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: linux-modules-5.4.0-173-generic Suggested packages: fdutils linux-doc | linux-source-5.4.0 linux-tools linux-headers-5.4.0-173-generic The following NEW packages will be installed: linux-image-5.4.0-173-generic linux-modules-5.4.0-173-generic 0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded. Need to get 25.5 MB of archives. After this operation, 92.5 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-5.4.0-173-generic amd64 5.4.0-173.191 [15.0 MB] Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-5.4.0-173-generic amd64 5.4.0-173.191 [10.5 MB] Fetched 25.5 MB in 2s (12.1 MB/s) Selecting previously unselected package linux-modules-5.4.0-173-generic. (Reading database ... 77620 files and directories currently installed.) Preparing to unpack .../linux-modules-5.4.0-173-generic_5.4.0-173.191_amd64.deb ... Unpacking linux-modules-5.4.0-173-generic (5.4.0-173.191) ... Selecting previously unselected package linux-image-5.4.0-173-generic. Preparing to unpack .../linux-image-5.4.0-173-generic_5.4.0-173.191_amd64.deb ... Unpacking linux-image-5.4.0-173-generic (5.4.0-173.191) ... Setting up linux-modules-5.4.0-173-generic (5.4.0-173.191) ... Setting up linux-image-5.4.0-173-generic (5.4.0-173.191) ... I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-173-generic I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-173-generic Processing triggers for linux-image-5.4.0-173-generic (5.4.0-173.191) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-5.4.0-173-generic + PREREQ= + prereqs + echo + exit 0 + PREREQ= + [ ! -x /sbin/fsck ] + . /usr/share/initramfs-tools/scripts/functions + . /usr/share/initramfs-tools/hook-functions + + sort get_fsck_types + get_fsck_type_fstab / root + uniq + _read_fstab_entry / + echo MNT_FSNAME= + echo MNT_DIR= + echo MNT_TYPE= + [ -f /etc/fstab ] + read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK + [ / = / ] + [ -n ] + echo MNT_FSNAME=UUID="d4148b00-3426-4e12-a89c-1eab09c29b72" + echo MNT_DIR=/ + echo MNT_TYPE=ext4 + echo MNT_PASS=0 + break 2 + eval MNT_FSNAME= MNT_DIR= MNT_TYPE= MNT_FSNAME=UUID="d4148b00-3426-4e12-a89c-1eab09c29b72" MNT_DIR=/ MNT_TYPE=ext4 MNT_PASS=0 + MNT_FSNAME= + MNT_DIR= + MNT_TYPE= + MNT_FSNAME=UUID=d4148b00-3426-4e12-a89c-1eab09c29b72 + MNT_DIR=/ + MNT_TYPE=ext4 + MNT_PASS=0 + [ / = / ] + [ / = / ] + resolve_device UUID=d4148b00-3426-4e12-a89c-1eab09c29b72 + DEV=UUID=d4148b00-3426-4e12-a89c-1eab09c29b72 + local orig=UUID=d4148b00-3426-4e12-a89c-1eab09c29b72 + blkid -l -t UUID=d4148b00-3426-4e12-a89c-1eab09c29b72 -o device + DEV=/dev/md127 + [ -e /dev/md127 ] + echo /dev/md127 + MNT_FSNAME=/dev/md127 + get_fstype /dev/md127 + local FS FSTYPE + FS=/dev/md127 + blkid -o value -s TYPE /dev/md127 + FSTYPE=ext4 + echo ext4 + return 0 + get_fsck_type_fstab /usr /usr + _read_fstab_entry /usr + echo MNT_FSNAME= + echo MNT_DIR= + echo MNT_TYPE= + [ -f /etc/fstab ] + read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK + [ / = /usr ] + MNT_DIR= + read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK + [ /var = /usr ] + MNT_DIR= + read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK + [ /home = /usr ] + MNT_DIR= + read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK + [ swap = /usr ] + MNT_DIR= + read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK + [ swap = /usr ] + MNT_DIR= + read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK + [ /boot/efi = /usr ] + MNT_DIR= + read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK + [ -f /etc/fstab.d/*.fstab ] + eval MNT_FSNAME= MNT_DIR= MNT_TYPE= + MNT_FSNAME= + MNT_DIR= + MNT_TYPE= + [ /usr = ] + fsck_types=ext4 + [ -z ext4 ] + copy_exec /sbin/fsck + local src target x nonoptlib ret + src=/sbin/fsck + target=/sbin/fsck + copy_file binary /sbin/fsck /sbin/fsck + local type src target link_target + type=binary + src=/sbin/fsck + target=/sbin/fsck + [ -f /sbin/fsck ] + [ -d /var/tmp/mkinitramfs_dK1Mgz//sbin/fsck ] + target=/usr/sbin/fsck + [ -e /var/tmp/mkinitramfs_dK1Mgz//usr/sbin/fsck ] + mkdir -p /var/tmp/mkinitramfs_dK1Mgz//usr/sbin + [ -h /sbin/fsck ] + [ n = y ] + cp -pP /sbin/fsck /var/tmp/mkinitramfs_dK1Mgz//usr/sbin/fsck + env --unset=LD_PRELOAD ldd /sbin/fsck + 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 library /lib/libgcwrap.so + local type src target link_target + type=library + src=/lib/libgcwrap.so + target=/lib/libgcwrap.so + [ -f /lib/libgcwrap.so ] + return 2 + ret=2 + [ 2 = 1 ] + return 1 + copy_exec /sbin/logsave + local src target x nonoptlib ret + src=/sbin/logsave + target=/sbin/logsave + copy_file binary /sbin/logsave /sbin/logsave + local type src target link_target + type=binary + src=/sbin/logsave + target=/sbin/logsave + [ -f /sbin/logsave ] + [ -d /var/tmp/mkinitramfs_dK1Mgz//sbin/logsave ] + target=/usr/sbin/logsave + [ -e /var/tmp/mkinitramfs_dK1Mgz//usr/sbin/logsave ] + mkdir -p /var/tmp/mkinitramfs_dK1Mgz//usr/sbin + [ -h /sbin/logsave ] + [ n = y ] + cp -pP /sbin/logsave /var/tmp/mkinitramfs_dK1Mgz//usr/sbin/logsave + env --unset=LD_PRELOAD ldd /sbin/logsave + 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 + + sedecho -e s#-linux-gnu/\(tls\|i686\|sse2\|neon\|vfp\).*/\(lib.*\)#-linux-gnu/\2# /lib/libgcwrap.so + nonoptlib=/lib/libgcwrap.so + [ -e /lib/libgcwrap.so ] + copy_file library /lib/libgcwrap.so + local type src target link_target + type=library + src=/lib/libgcwrap.so + target=/lib/libgcwrap.so + [ -f /lib/libgcwrap.so ] + return 2 + ret=2 + [ 2 = 1 ] + return 1 + command -v fsck.ext4 + prog=/sbin/fsck.ext4 + copy_exec /sbin/fsck.ext4 + local src target x nonoptlib ret + src=/sbin/fsck.ext4 + target=/sbin/fsck.ext4 + copy_file binary /sbin/fsck.ext4 /sbin/fsck.ext4 + local type src target link_target + type=binary + src=/sbin/fsck.ext4 + target=/sbin/fsck.ext4 + [ -f /sbin/fsck.ext4 ] + [ -d /var/tmp/mkinitramfs_dK1Mgz//sbin/fsck.ext4 ] + target=/usr/sbin/fsck.ext4 + [ -e /var/tmp/mkinitramfs_dK1Mgz//usr/sbin/fsck.ext4 ] + mkdir -p /var/tmp/mkinitramfs_dK1Mgz//usr/sbin + [ -h /sbin/fsck.ext4 ] + readlink -f /sbin/fsck.ext4 + link_target=/usr/sbin/e2fsck + src=/usr/sbin/e2fsck + [ /usr/sbin/e2fsck != /usr/sbin/fsck.ext4 ] + [ n = y ] + ln -rs /var/tmp/mkinitramfs_dK1Mgz//usr/sbin/e2fsck /var/tmp/mkinitramfs_dK1Mgz//usr/sbin/fsck.ext4 + target=/usr/sbin/e2fsck + [ -e /var/tmp/mkinitramfs_dK1Mgz//usr/sbin/e2fsck ] + mkdir -p /var/tmp/mkinitramfs_dK1Mgz//usr/sbin + [ n = y ] + cp -pP /usr/sbin/e2fsck /var/tmp/mkinitramfs_dK1Mgz//usr/sbin/e2fsck + env+ --unset=LD_PRELOAD ldd /sbin/fsck.ext4 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 library /lib/libgcwrap.so + local type src target link_target + type=library + 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/fsck failed with return 1. update-initramfs: failed for /boot/initrd.img-5.4.0-173-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-5.4.0-173-generic (--configure): installed linux-image-5.4.0-173-generic package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: linux-image-5.4.0-173-generic E: Sub-process /usr/bin/dpkg returned an error code (1) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2057605/+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