Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-07-2007, 11:39 PM   #1
LQ Newbie
Registered: Jun 2007
Posts: 5

Rep: Reputation: 0
How do you use update-alternatives --set?

I keep getting the error that update-alternatives: Cannot find alternative `/usr/lib/usplash/'.

whenever i run

sudo update-alternatives --set /usr/lib/usplash/

I can't find any help online that is simple enough for me to understand. I am simply changing the link to point to a different file, right (much easier to do in windows)?

Yes of course the file is sitting right there, and it's owned by root. Just for kicks I also ran sudo updatedb.

Appreciate any help. Please tolerate my dumbs.

ps. I know I could do this manually but I want to know why Linux is blatenly defying my commands and uttering these outrageous blasphemies.
Old 11-07-2007, 11:49 PM   #2
LQ Newbie
Registered: Jun 2007
Posts: 5

Original Poster
Rep: Reputation: 0
generic name
A name, like /usr/bin/editor, which refers, via the alternatives system, to one of a number of files of similar function.
Without any further qualification, this means a symbolic link in the alternatives directory: one which the system administrator is expected to adjust.
The name of a specific file in the filesystem, which may be made accessible via a generic name using the alternatives system.
alternatives directory
A directory, by default /etc/alternatives, containing the symlinks.
administrative directory
A directory, by default /var/lib/alternatives, containing alternatives' state information.
link group
A set of related symlinks, intended to be updated as a group.
master link
The link in a link group which determines how the other links in the group are configured.
slave link
A link in a link group which is controlled by the setting of the master link.
automatic mode
When a link group is in automatic mode, the alternatives system ensures that the links in the group point to the highest priority alternatives appropriate for the group.
manual mode
When a link group is in manual mode, the alternatives system will not make any changes to the system administrator's settings.


--set name path
The symbolic link and slaves for link group name set to those configured for path, and the link group is set to manual mode. This option is not in the original Debian implementation.
I'm still reading this. I might understand it tomorrow.
EDIT: If you need to create a custom link-group for each NEW individual, then what is update-usplash-theme FOR? Just to revert to the default theme??

EDIT: I'm in over my head. Just if you can explain this then that would be great. But I would also like to know what the update-usplash-theme script is and how to use that as well.

Last edited by vwr0527; 11-07-2007 at 11:57 PM.


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
set autoconfig proxy for update/apt in 7.04 deesto Ubuntu 1 07-14-2007 01:08 PM
completely replacing exim with qmail -- update-alternatives? johnMG Debian 1 09-26-2005 04:13 PM
Madrake 10.1 Set Hostname + Update DNS TotalDefiance Linux - Networking 0 11-03-2004 12:27 PM
Please help to explain the syntax for 'update-alternatives' davidas Linux - Newbie 1 04-11-2004 06:22 AM
Quota:cannot be set and update swmok Linux - Software 1 10-22-2003 07:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:33 PM.

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