Package: update-alternatives Version: 1.18.23-1.19.0 In SUSE we use update-alternatives in our packages. When using update-alternatives in %postun (e. g. what should happen after uninstalling the package), the following warnings are emitted:
update-alternatives: warning: alternative /usr/bin/virtualenv-3.6 (part of link group virtualenv) doesn't exist; removing from list of alternatives update-alternatives: warning: /etc/alternatives/virtualenv is dangling; it will be updated with best choice update-alternatives: using /usr/bin/virtualenv-2.7 to provide /usr/bin/virtualenv (virtualenv) in auto mode This is because update-alternatives first checks if it must modify the auto-selection, and discovers that key files are missing so it auto-corrects the alternative choice. ...which is what I was telling it to do in the first place. Unfortunately, using "--quiet" also silences the one non-warning, "using <something> to provide <something> in auto mode" which seems like a thing we should keep. update-alternatives should not warn about broken files when instructed to remove them. This bug is platform-independent and probably also older versions of update-alternatives are affected by this bug.
signature.asc
Description: OpenPGP digital signature