Package: pigz Version: 2.6-1 Severity: normal X-Debbugs-Cc: [email protected]
Years ago when I've installed pigz, I've applied the process descriped in README.debian to replace gzip with pigz.: dpkg-divert --local --add --rename --divert /bin/gzip.gzip /bin/gzip ln -s /usr/bin/pigz /bin/gzip I've never had any problems so, until about a week or two ago, the first time in years pigz was going to be updated. And the upgrade failed (I obviously had no idea anymore what I did years ago). Today it was updated again, fortunately the last update was only a few weeks ago, so I remembered what I've done then. It fails with following message: Preparing to unpack .../0-pigz_2.6-1_amd64.deb ... ERROR: /bin/gzip executable becomes unusable after removal of pigz! See /usr/share/doc/pigz/README.Debian for details. dpkg: warning: old pigz package pre-removal script subprocess returned error exit status 1 dpkg: trying script from the new package instead ... ERROR: /bin/gzip executable becomes unusable after removal of pigz! See /usr/share/doc/pigz/README.Debian for details. dpkg: error processing archive /tmp/apt-dpkg-install- dBBAy4/0-pigz_2.6-1_amd64.deb (--unpack): new pigz package pre-removal script subprocess returned error exit status 1 So I first had to undo the changes described above before I could update. It would be great if the update process automatically detects those changes, undoes them, updates, and reapplies them. So the update process doesn't fail. Since those changes are in the README.debian, there like halfway official, so it would be great if they'd also work with updates :-). Maybe one could even make those changes a dpkg-reconfigure question? -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (600, 'testing'), (300, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages pigz depends on: ii dpkg 1.20.7.1 ii libc6 2.31-9 ii zlib1g 1:1.2.11.dfsg-2 pigz recommends no packages. pigz suggests no packages. -- no debconf information

