LinuxQuestions.org
Visit Jeremy's Blog.
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 06-23-2005, 01:54 PM   #1
forgiste
LQ Newbie
 
Registered: Jun 2005
Location: Techsus
Distribution: Fedora Core 4
Posts: 5

Rep: Reputation: 0
alternatives system nonexistant


Okay, I read the Fedora Core 4 install notes, and it mentions setting up java to work with applications. I intend to install azureus, and I need to do this in order for the installation to work.

However, when I type alternatives, it says bash: alternatives command not found

I've read other posts about this, and they recommended upgrading ntsysv and chkconfig to 1.3.53-03 or something like that. When I tried to install the new chkconfig and ntsysv rpms, it tells me that it conflicts with version 1.3.20-11 of the respective packages. Apparently, version 1.3.20-11 was not installed with an rpm, because it will not let me erase, or upgrade those packages to the new versions, it mentions dependencies.

It tells me that chkconfig-1.3.5 needs ntsysv-1.3.5 in order to install. So I attempt to install the new ntsysv first, and it tells me that chkconfig-1.3.20 needs ntsysv-1.3.20 in order to work.

thank you in advance.
forgiste
 
Old 07-03-2005, 07:32 PM   #2
TGWDNGHN
Member
 
Registered: Aug 2003
Distribution: Slackware 10.0
Posts: 94
Blog Entries: 1

Rep: Reputation: 15
Let me start off by briefly mentioning that I've never used Fedora, never even heard of the program you're trying to install, and I'm only trying to help ...

bash: alternatives command not found
1. Is your $PATH variable set to the directory that contains the program you are in?
2. If you are trying to run this command from a directory NOT found in the $PATH variable...
1. Enter the Directory
2. type ./alternatives
the . refers to the current directory to prevent bash from searching those in $PATH. Therefore, this executes the alternatives command within the current directory




Concerning your non-rpm build of version 1.3.20-11
This will be a pain, since if you want to remove it and have a "clean" install of the new versions, you need to remove the old one. Skim through the directory of this program (if you know where it is, if not use the find or locate command to search for it) and look for any piece of info that might help you search for every last directory where this program was installed. Go through this directories one by one and remove them. The easiest way is to enter the directory and type "rm -rf ./*" and then "rm -rf ./\.*" to remove all the contents. Then type "cd .." to go to the parent directory and use them rmdir command to remove the directory you wiped out


Concerning Dependancies of the new version
Except for any conflicts, the dependencies have NOTHING to do with the old version. All they mean is that "you need *some* program in order for this program to work". This basically means that you should search for those programs using whatever package management tool Fedora offers and install them. Note that some programs need specific versions of the dependant-programs to run (perfect example: most programs use the older version of automake, but its a GOOD IDEA TO INSTALL BOTH [or more if available] VERSIONS IF YOU ARE UNSURE)


Concerning Conflicts
I honestly am not sure how those work out. If I am correct, it's merely a matter of wiping out the conflicting files and possibly changing other configuration files. But I honestly am not sure


Like I said, I'm not very knowledgeable with your problem, distro, or software program you are trying to install, I just hoped that I've helped, even in the slightest way
 
Old 07-19-2005, 11:31 AM   #3
garypalmerjr
LQ Newbie
 
Registered: Jul 2005
Posts: 2

Rep: Reputation: 0
you need to use /usr/sbin/alternatives

This site has a good howto for java using alternatives
http://stanton-finley.net/fedora_cor...otes.html#Java

Last edited by garypalmerjr; 07-19-2005 at 11:34 AM.
 
Old 07-19-2005, 11:33 AM   #4
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Looks like you're more advanced than me but to get java working on FC all i've evere done is install JRE and configure it, install azureus and run it...
 
Old 07-19-2005, 09:07 PM   #5
garypalmerjr
LQ Newbie
 
Registered: Jul 2005
Posts: 2

Rep: Reputation: 0
I wouldn't say more advanced Ethics, because you also get it working.

But the alternatives package is really cool because you can have multiple version of the same program installed but only have one that gets launched by default. At any time you can tell alternatives to use any of the other versions.

When i develop Java software it is good to have java1.4 and java5 installed at the same time inorder to test my software but i only want one to be the default, that is where alternatives comes in. Once you learn it you will wonder how you ever got along without it.
 
  


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
I need nonexistant filesystems.... dinolinux General 2 09-03-2005 02:01 PM
Linux searching for nonexistant IDE drives? UhS Linux - General 2 06-14-2004 06:59 PM
/dev/dvd is nonexistant how do i get it? ch4s3r Linux - Software 2 03-01-2004 08:36 PM
Nonexistant "wlan-ng.opts"...? tj!2k3 Linux - Wireless Networking 0 11-06-2003 06:22 PM
who shows "nonexistant" users daveymg Linux - Software 1 09-06-2003 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration