On 2021-03-02 15:54 +0800, Paul Wise wrote:

> Package: procps
> Followup-For: Bug #982803
>
> While the /etc/alternatives/w file got removed, the maintainer scripts
> still cause a warning during the upgrade:
>
>    Preparing to unpack .../procps_2%3a3.3.17-4_amd64.deb ...
>    Unpacking procps (2:3.3.17-4) over (2:3.3.16-5) ...
>    Setting up procps (2:3.3.17-4) ...
>    update-alternatives: warning: alternative /usr/bin/w.procps (part of link 
> group w) doesn't exist; removing from list of alternatives
>    update-alternatives: warning: /etc/alternatives/w is dangling; it will be 
> updated with best choice

That is a minor bug in update-alternatives, it displays this warning
before taking any action, there is already a FIXME comment in the
source[1].  The alternative is actually removed properly.

Maybe there is a way for procps to avoid the bogus warning, but I do not
currently see a good one.

Cheers,
       Sven


1. 
https://sources.debian.org/src/dpkg/1.20.7.1/utils/update-alternatives.c/#L3066

Reply via email to