Package: bzip2 Version: 1.0.6-9.2~deb10u1 Severity: important Tags: patch Moin,
bzdiff does not work when comparing two bzip2 compressed files: finlandia!joey(tty6):/data> bzdiff options-18.bz2 options-19.bz2 diff: extra operand '/tmp/bzdiff.6FPnOK9OHZ' diff: Try 'diff --help' for more information. The problem has been introduced in buster and is still present in bullseye. The solution is to remove the quotes around options in diff execution as show in the attached patch. Regards Joey Versions of packages bzip2 depends on: ii libbz2-1.0 1.0.8-3 ii libc6 2.28-10 bzip2 recommends no packages. Versions of packages bzip2 suggests: pn bzip2-doc <none> -- no debconf information
Remove quotes around options to prevent them to be passed to diff as single string --- /usr/bin/bzdiff 2020-05-26 15:19:32.000000000 +0200 +++ /tmp/bzdiff.new 2020-07-19 10:07:53.248151646 +0200 @@ -58,7 +58,7 @@ elif test $# -eq 2; then exit 1 } bzip2 -cdfq "$2" > "$tmp" - bzip2 -cdfq "$1" | $comp "$OPTIONS" - "$tmp" + bzip2 -cdfq "$1" | $comp $OPTIONS - "$tmp" STAT="$?" /bin/rm -f "$tmp";;