Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-12-2008, 03:24 PM   #1
LQ Newbie
Registered: Jul 2005
Location: London
Distribution: Centos/red hat/ubuntu
Posts: 17

Rep: Reputation: 0
Smile Unable to configure yum trying to upgrade rhel as 3 to current day std

I Have been away from linux for some time therefore i decided to build a machine and start learning again.

I'm using i386 and when i try and run the command

[root@localhost /]# yum upgrade
Traceback (most recent call last):
File "/usr/bin/yum", line 6, in ?
import yummain
File "/usr/share/yum-cli/", line 23, in ?
import yum
ImportError: No module named yum

I do not understand the output and therfore i have included the yum.conf settings

cat /etc/yum.conf

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
#name=Red Hat Linux $releasever - $basearch - Base

#name=Red Hat Linux $releasever - Updates

Could a kind person give me some pointers ?
Old 11-12-2008, 03:36 PM   #2
Registered: Aug 2003
Location: Seattle
Distribution: Debian, Fedora, CentOS, FreeBSD, OpenSolaris
Posts: 138

Rep: Reputation: 16
As far as I know the only way you can get updates for RHEL AS 3 is through up2date. If you want to use yum for that you need to use something like CentOS where the updates are free and therefore available through yum.
Old 11-12-2008, 04:10 PM   #3
LQ Newbie
Registered: Jul 2005
Location: London
Distribution: Centos/red hat/ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0

Thanks for the response, Is centos an rpm? do i need too install configure ?
Old 11-12-2008, 04:21 PM   #4
Senior Member
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Yum did not become standard on RHEL until RHEL5, it used up2date instead.

Centos is RHEL with the logos removed and a few things added (like yum). The current version of RHEL/Centos is 5.2.

Now it depends on what you mean by "to current day standards". If you want to keep RHEL3 and just put on current packages, you have two choices. Use up2date or switch it over to Centos(google "yum on RHEL3"). If you want to upgrade the version to current(5.2), then I would strongly suggest a clean install. Again Centos5.2 is free to download/install.
Old 11-12-2008, 04:27 PM   #5
LQ Newbie
Registered: Jul 2005
Location: London
Distribution: Centos/red hat/ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you very much for that i will look for 5.2 and download, youve been great
Old 11-12-2008, 10:42 PM   #6
LQ Newbie
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Unhappy difficulty to understanding yum

i have a real problem understanding the lessons about yum, resipotory, installation and the like. Can someone please help me?
Old 11-12-2008, 11:00 PM   #7
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
That's a really wide question. What distro do you run?


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
Is it possible to upgrade from RHEL 5.0 to 5.1 with yum? janfl Red Hat 1 06-25-2008 08:17 AM
Unable To Configure Left-Hand Mouse With KDE 3.5.8 In Current Woodsman Slackware 7 05-09-2008 10:51 PM
Show all files not directories than have been modified within the current day jianelisj Linux - Newbie 2 03-08-2008 04:54 PM
DISCUSSION: Upgrade to Slackware -current without a -current CD truthfatal LinuxAnswers Discussion 0 09-19-2006 01:42 PM
Swaret upgrade from 10.0 to current broke glibc - unable to login vharishankar Slackware 6 04-03-2006 12:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration