[Bug 1031133] New: update-alternatives: spurious warnings with --remove
http://bugzilla.suse.com/show_bug.cgi?id=1031133 Bug ID: 1031133 Summary: update-alternatives: spurious warnings with --remove Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem Assignee: tchvatal@suse.com Reporter: jmatejek@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- when using update-alternatives in %postun, 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-alternative should not warn about broken files when instructed to remove them. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1031133
http://bugzilla.suse.com/show_bug.cgi?id=1031133#c1
--- Comment #1 from Tomáš Chvátal
http://bugzilla.suse.com/show_bug.cgi?id=1031133
http://bugzilla.suse.com/show_bug.cgi?id=1031133#c2
Tomáš Chvátal
http://bugzilla.suse.com/show_bug.cgi?id=1031133
http://bugzilla.suse.com/show_bug.cgi?id=1031133#c3
--- Comment #3 from Marketa Calabkova
http://bugzilla.suse.com/show_bug.cgi?id=1031133
http://bugzilla.suse.com/show_bug.cgi?id=1031133#c5
--- Comment #5 from Marketa Calabkova
http://bugzilla.suse.com/show_bug.cgi?id=1031133
http://bugzilla.suse.com/show_bug.cgi?id=1031133#c6
Marketa Calabkova
http://bugzilla.suse.com/show_bug.cgi?id=1031133
http://bugzilla.suse.com/show_bug.cgi?id=1031133#c7
--- Comment #7 from Marketa Calabkova
participants (1)
-
bugzilla_noreply@novell.com