LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-18-2007, 03:23 AM   #1
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Rep: Reputation: 31
Angry Yum Command Not Found


I have Fedora Core 6 installed in my computer. When i switch on my computer, my yum seems have problem. Therefore, i try to type yum install in the terminal and i found out the yum command is not found.

During the boot time, the screen display that the python modules have some problem but i don't know what rpbolem is it.

Thanks in advance for any help or recommendations.

Your help is greatly appreciated by me and others.
 
Old 03-18-2007, 04:53 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Could it be that you didn't try to run yum as root? Try entering "which yum" and "locate yum".
 
Old 03-18-2007, 05:38 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Can you post the python errors.
 
Old 03-19-2007, 12:24 AM   #4
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
Where is the files for python erros. I don't know where the file located. I will try the above command.
 
Old 03-20-2007, 03:20 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Look at the dmesg output, the /var/log/messages log and if you have it, /var/log/boot.msg or /var/log/boot.log. I'm assuming that a message during bootup will be logged.
 
Old 03-20-2007, 04:53 AM   #6
fooks
Member
 
Registered: Jan 2007
Location: Ukraine
Posts: 47

Rep: Reputation: 15
Hello,

why do not to check first if yum is installed?

Code:
[fooks@fooks pam.d]$ which yum
/usr/bin/yum

[fooks@fooks pam.d]$ rpm -qf /usr/bin/yum
yum-3.0.3-1.fc6
 
Old 03-21-2007, 12:40 AM   #7
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
Thanks for all your help. I will try the command.
 
Old 03-21-2007, 06:42 AM   #8
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
I have try the above command and i realise that my yum is not isntalled. Thanks for you help. Your help is greatly appreciated by me and others.

Thnaks.
Thnaks.
Thnaks.
Thnaks.
Thnaks.
Thnaks.
Thnaks.
Thnaks.
Thnaks.
Thnaks.
Thnaks.
Thnaks.
Thnaks.
Thnaks.
Thnaks.
 
Old 03-21-2007, 09:55 PM   #9
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
Please help me. No Yum==No additional software No life.
 
Old 03-22-2007, 07:43 AM   #10
axelfc
Member
 
Registered: Jan 2006
Distribution: ArchLinux
Posts: 175

Rep: Reputation: 34
If you have your installation cd you'll find the yum package in Fedora directory

sudo rpm -hiv yum.****.rpm will install it.

Alternatively you can download it from here http://download.fedora.redhat.com/pu...s/Fedora/RPMS/
 
Old 03-22-2007, 10:04 PM   #11
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
How to install the rpm yum file from CD/DVD ? I need to moount the DVD and search the file at the DVD. I just guess.
 
Old 03-23-2007, 02:07 AM   #12
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
First:

There are two different terminals in FC6, if you go to main menu/system and click on "Terminal", you may not have super user advantages with this terminal. Try issuing commands from the 'Super-user terminal' by going to main menu/system/more_applications/Terminal_Program_Super_User_Mode. I have found that many root commands from the normal terminal will result in the "Command not found" error you ran into. (Probably because I was in the Super User terminal when I set the background to trasparent and selected "Save as default").

Second:
If that does not work, to install from the DVD, change directory into it with this command (just copy & paste it into super_user_terminal if you have 64bit, for 32 bit, replace x86_64 with i586):

cd /media/FC-6\ x86_64\ DVD/Fedora/RPMS/

Then install the correct rpm file with command similar to what axelfc mentioned.
You probably need to install "yum-3.0-6.noarch.rpm, and yum-metadata-parser-xxxxx", replace the xxxxx with what is appropriate.

Last edited by Junior Hacker; 03-23-2007 at 03:48 AM.
 
Old 03-23-2007, 02:56 AM   #13
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
I will have a try. Thanks everyone especially Junior Hacker
 
Old 03-23-2007, 07:48 PM   #14
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
Problem solved. By the way, is it when the updates accessing the database, i can commanding the yum again ?

Thanks for your help.
 
Old 03-23-2007, 08:02 PM   #15
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
When it is accessing the data base, it can take a while to get the latest lists from all the repos, the more repos you have the longer it can take to get the lists. These lists change once or twice a week, so they have to be re-downloaded when they change, they are "date stamped", when you have the latest lists according to the date stamp, it will be faster.
You should wait until it is finished and the prompt comes back before issuing yum commands.
 
  


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
kernel-devel not found with yum or yumex rrdavis Fedora 2 11-09-2006 10:51 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
Why -bash: rpm: command not found??? Also an rpm/yum Q? vbtalent Debian 6 01-23-2006 04:55 PM
yum = No Matches found jgibz Linux - Newbie 2 03-27-2005 12:38 PM
yum update fails, samba-common not found silex Linux - Software 0 09-11-2004 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:02 AM.

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
Open Source Consulting | Domain Registration