[Bug 429422] New: /usr/sbin/update-alternatives : meaning of * and + is swaped/interchanged
From the last line I would conclude, that the '*' marks the default selection and the '+' the current selection. But this is obviously not the case. If I enter '3' in the above example and run the command again, the '*' moved and not
https://bugzilla.novell.com/show_bug.cgi?id=429422 Summary: /usr/sbin/update-alternatives : meaning of * and + is swaped/interchanged Product: openSUSE 11.0 Version: Final Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: funtasyspace@yahoo.com QAContact: qa@suse.de Found By: --- When I run the /usr/sbin/update-alternatives script (e.g. update-alternatives --config java) the the following text is displayed: # update-alternatives --config java There are 4 programs which provide `java'. Selection Command ----------------------------------------------- 1 /usr/lib64/jvm/jre-1.6.0-sun/bin/java 2 /usr/lib64/jvm/jre-1.5.0-gcj/bin/java + 3 /usr/lib64/jvm/jre-1.7.0-icedtea/bin/java * 4 /usr/lib64/jvm/jre-1.5.0-sun/bin/java Enter to keep the default[*], or type selection number: 3 the '+' (Or do I get something wrong here? Does the '+' have a different meaning?): # update-alternatives --config java There are 4 programs which provide `java'. Selection Command ----------------------------------------------- 1 /usr/lib64/jvm/jre-1.6.0-sun/bin/java 2 /usr/lib64/jvm/jre-1.5.0-gcj/bin/java *+ 3 /usr/lib64/jvm/jre-1.7.0-icedtea/bin/java 4 /usr/lib64/jvm/jre-1.5.0-sun/bin/java Enter to keep the default[*], or type selection number: Suggested Solution: Either swap the use of '*' and '+' in the table or replace the text '*' in the last line with a '+'. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429422 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |bnc-team-java@forge.provo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=429422 User anosek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429422#c1 Ales Nosek <anosek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anosek@novell.com Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Ales Nosek <anosek@novell.com> 2008-10-03 01:52:39 MDT --- Hi Jörg, thank you for the bugreport. The symbol "*" denotes the alternative which is currently being used. And if you type "update-alternatives --config java" it's the default choice. Because if you only hit enter, nothing is going to change. The symbol "+" means the best alternative. It's the alternative with the highest priority. You can type "/usr/sbin/update-alternatives --display java" to see priorities. If you set "/usr/sbin/update-alternatives --auto java" the best selection marked with "+" will always be used. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com