LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 11-07-2007, 11:39 PM   #1
vwr0527
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/dark-splash.so'.

whenever i run

sudo update-alternatives --set usplash-artwork.so /usr/lib/usplash/dark-splash.so

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
vwr0527
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
generic name
A name, like /usr/bin/editor, which refers, via the alternatives system, to one of a number of files of similar function.
symlink
Without any further qualification, this means a symbolic link in the alternatives directory: one which the system administrator is expected to adjust.
alternative
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 usplash-custom-cool-theme.so, 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.
 
  


Reply


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


All times are GMT -5. The time now is 03:25 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