[Debian-med-packaging] Bug#914759: /usr/bin/zstd: zstdcat confusing error message on incorrect filename
Witold Baryluk
witold.baryluk at gmail.com
Tue Nov 27 00:19:16 GMT 2018
Package: zstd
Version: 1.3.5+dfsg-1
Severity: normal
File: /usr/bin/zstd
user at debian:~/mkd$ zstdcat abc.tar.zst | tar xf -
zstd: abc.tar.zst is not a regular file -- ignored
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
user at debian:~/mkd$ ls abc.tar.zst
ls: cannot access 'abc.tar.zst': No such file or directory
user at debian:~/mkd$ stat abc.tar.zst
stat: cannot stat 'abc.tar.zst': No such file or directory
user at debian:~/mkd$
The error message isn't helpful, because it suggest the filename is
correct but it is not a file, and maybe a directory or a block device or
something.
Best regards,
Witold
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages zstd depends on:
ii libc6 2.27-8
ii libgcc1 1:8.2.0-9
ii liblz4-1 1.8.2-1
ii liblzma5 5.2.2-1.3
ii libstdc++6 8.2.0-9
ii zlib1g 1:1.2.11.dfsg-1
zstd recommends no packages.
zstd suggests no packages.
-- no debconf information
More information about the Debian-med-packaging
mailing list