--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: initramfs-tools: bad error message when zstd requested but not installed
- From: Russell Coker <russell@coker.com.au>
- Date: Thu, 22 Oct 2020 22:38:01 +1100
- Message-id: <160336668195.30639.393155511331802603.reportbug@athena.coker.com.au>
Package: initramfs-tools
Version: 0.139
Severity: minor
No gzip in /usr/bin:/sbin:/bin, using gzip
When COMPRESS=zstd is in the configuration file but zstd is not installed I get the above error.
It should say "No zstd"
-- Package-specific info:
-- initramfs sizes
-rw-r--r--. 1 root root 18M Oct 22 22:30 /boot/initrd.img-4.19.0-11-amd64
-rw-r--r--. 1 root root 27M Oct 22 22:30 /boot/initrd.img-4.19.0-12-amd64
-rw-r--r--. 1 root root 29M Oct 22 22:35 /boot/initrd.img-5.9.0-1-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.19.0-12-amd64 root=UUID=6b40496e-ccb0-48fd-8764-167e82fcd779 ro security=selinux lockdown=confidentiality quiet
-- resume
RESUME=none
-- /proc/filesystems
btrfs
ext3
ext2
ext4
xfs
jfs
msdos
vfat
minix
hfs
hfsplus
qnx4
ufs
fuseblk
-- lsmod
-- /etc/initramfs-tools/modules
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = no
do_bootloader = no
do_initrd = yes
link_in_boot = no
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=auto
KEYMAP=n
COMPRESS=zstd
DEVICE=
NFSROOT=auto
RUNSIZE=200M
FSTYPE=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /etc/crypttab
sdb2_crypt UUID=c05678a9-8036-4614-8d13-4c6eb83da4d1 none luks
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
btrfs
cryptgnupg
cryptgnupg-sc
cryptkeyctl
cryptopensc
cryptpassdev
cryptroot
cryptroot-unlock
dmsetup
fsck
fuse
keymap
klibc-utils
kmod
ntfs_3g
resume
thermal
udev
zz-busybox
-- System Information:
Debian Release: 10.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-12-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Enforcing - Policy name: default
Versions of packages initramfs-tools depends on:
ii initramfs-tools-core 0.139
ii linux-base 4.6
initramfs-tools recommends no packages.
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.8-6
-- no debconf information
--- End Message ---