LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 02-20-2012, 11:43 PM   #1
jcllings
Member
 
Registered: Jun 2004
Location: Tacoma, WA
Distribution: Ubuntu
Posts: 37

Rep: Reputation: 15
Need clarification on priority in etc alternatives system


Man page says: ¨Each alternative has a priority associated with it. When a link group is in automatic mode, the alternatives pointed to by members of the group will be those which have the highest priority.¨

Simply put, which is considered the highest priority, 0 or 9999? Is there a 0 or does it start at 1?

Jim C.
 
Old 02-20-2012, 11:54 PM   #2
jcllings
Member
 
Registered: Jun 2004
Location: Tacoma, WA
Distribution: Ubuntu
Posts: 37

Original Poster
Rep: Reputation: 15
executed this: update-alternatives --skip-auto --all

...
kdesu - auto mode
link currently points to /usr/bin/kdesudo
/usr/bin/kdesudo - priority 100
/usr/lib/kde4/libexec/kdesu-distrib/kdesu - priority 50
Current 'best' version is '/usr/bin/kdesudo'.
...

The block above and many others like it seem to indicate that 100 is a higher rank than 50 so I am rolling with that.
 
  


Reply

Tags
alternatives, priority


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
clean-system clarification Scott271 Slackware 3 03-05-2010 01:30 PM
How does the etc/alternatives system work? jcllings Linux - General 4 01-23-2010 01:33 PM
Grub - Operating System Boot Priority JamboUK Ubuntu 8 02-19-2007 09:05 AM
alternatives system nonexistant forgiste Linux - Newbie 4 07-19-2005 08:07 PM
Changing priority of Dual Boot System LinuxVirgIan Linux - Newbie 5 07-02-2004 05:45 PM


All times are GMT -5. The time now is 12:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration