-   Linux - Newbie (
-   -   How do you use update-alternatives --set? (

vwr0527 11-07-2007 11:39 PM

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.

vwr0527 11-07-2007 11:49 PM


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.

All times are GMT -5. The time now is 09:40 AM.