Package: debian-cd Version: 3.1.29 Tags: patch Dear Maintainer,
In the (perhaps rare) case where one uses local deb packages with the variable LOCALDEBS set and the Packages file is compressed with xz, tools/which_deb produces an error : gzip: /home/me/my_mirror/dists/sid/local/binary-alpha/Packages.xz: not in gzip format I hope the patch below may help. Thank you for your work on debian-cd ! Regards, JH Chatenet diff -Naur a/debian-cd/tools/which_deb b/debian-cd/tools/which_deb --- a/debian-cd/tools/which_deb 2018-07-29 05:22:33.000000000 +0200 +++ b/debian-cd/tools/which_deb 2020-08-06 19:10:41.034144434 +0200 @@ -76,7 +76,7 @@ } my $pxz = "$pth/$component/binary-$arch/Packages.xz"; if ( $component eq 'local' and $ENV{LOCALDEBS} ) { - $pgz = "$ENV{LOCALDEBS}/dists/$codename/local/binary-$arch/Packages.xz"; + $pxz = "$ENV{LOCALDEBS}/dists/$codename/local/binary-$arch/Packages.xz"; } if (-e $pgz) { open(PFILE, "zcat $pgz |") or