LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-26-2008, 02:41 PM   #1
aferraccioli
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
YUM Install - RHEL 5


Hi, I just tried to install yum for RHEL 5 and it seems like its not going through right, does anyone know the proper way to install YUM from scratch

when I try a yum update I get this:

Traceback (most recent call last):
File "/usr/bin/yum", line 28, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 30, in ?
from yum.i18n import _
ImportError: No module named i18n


ANy help would be great
 
Old 03-26-2008, 03:41 PM   #2
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
Yum should already be in there. Did you try 'which yum'?
I have not seen an install of rhel5 which did not come with yum automatically.

If it is indeed not there then log into RHN and select it for install and then type in 'rhn_check' on your machine.
 
Old 03-27-2008, 07:46 AM   #3
aferraccioli
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Yeah this is really strange,

This all happened when an admin app was crashing and I had another tech look at it and he said well it doesnt seem like yum is installed correct, since yum.conf is blank

when i type in which yum i get this

[root@web ~]# which yum
/usr/bin/yum


and yum update i get this:


[root@web ~]# yum update
Traceback (most recent call last):
File "/usr/bin/yum", line 28, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 30, in ?
from yum.i18n import _
ImportError: No module named i18n


where exactly in the rhn do you select it for install?
 
Old 03-19-2009, 02:44 PM   #4
jnojr
Member
 
Registered: Sep 2007
Location: San Diego, CA
Posts: 222

Rep: Reputation: 20
I'm seeing this issue, too... yum did work until I did a "yum update yum". I'm on RHEL5.2
 
  


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
How can I install yum and depencies on RHEL 4 ps_sabu Red Hat 2 12-01-2006 04:20 PM
Yum on RHEL Atmchicago Red Hat 2 07-29-2006 05:12 PM
RHEL 4 and yum? inc0gs Red Hat 7 09-24-2005 03:09 PM
Yum in RHEL 4 IcoNyx Linux - Software 2 09-19-2005 04:00 PM
enabling Yum on RHEL 4 deverej Red Hat 6 03-15-2005 11:22 PM

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

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