Red Hat Enterprise 4 RHEL 4 Up2Date vs. Yum plus problems!

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
jetblacktib
Forum User
Forum User
Posts: 16
Joined: Sat Mar 04, 2006 12:45 am

Red Hat Enterprise 4 RHEL 4 Up2Date vs. Yum plus problems!

Unread post by jetblacktib »

Hi,

Just moved over from Cpanel to Plesk. Too soon to comment on which is better since I had a hellish migration process. With that said I am trying to update a few things. In Cpanel it allowed me to be a n00b by upgrading from the WHM panel. I haven't really used update or yum.

I tried installing yum but now when I run yum I get the error...
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.3.4 (#1, Feb 2 2005, 11:44:49)
[GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
I've done some searching around but no one really uses yum on RHEL 4 I guess in part of the paid subscription thing.

Any suggestions?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Right, since you're on RHEL4, you want to use up2date, instead of yum.
jetblacktib
Forum User
Forum User
Posts: 16
Joined: Sat Mar 04, 2006 12:45 am

Unread post by jetblacktib »

So will I be able to perform most of the functions that yum does like search for dependencies ?

Also can I add yum libraries to the up2date config?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Yes, you can add yum or apt repo's to up2date in the /etc/sysconfig/rhn/sources file.
jetblacktib
Forum User
Forum User
Posts: 16
Joined: Sat Mar 04, 2006 12:45 am

Unread post by jetblacktib »

scott wrote:Yes, you can add yum or apt repo's to up2date in the /etc/sysconfig/rhn/sources file.
Is this what I add?

# SW-Soft PSA 7.5.x RPMS
yum atomic-psa75 http://3es.atomicrocketturtle.com/atomic/psa75/RHEL4/

# Atomic RPMS
yum atomic http://3es.atomicrocketturtle.com/atomic/art/RHEL4/
jetblacktib
Forum User
Forum User
Posts: 16
Joined: Sat Mar 04, 2006 12:45 am

Unread post by jetblacktib »

jetblacktib wrote:
scott wrote:Yes, you can add yum or apt repo's to up2date in the /etc/sysconfig/rhn/sources file.
Is this what I add?

# SW-Soft PSA 7.5.x RPMS
yum atomic-psa75 http://3es.atomicrocketturtle.com/atomic/psa75/RHEL4/

# Atomic RPMS
yum atomic http://3es.atomicrocketturtle.com/atomic/art/RHEL4/
Opps, should be 4ES.

Ok, I figured it all out.

Thanks for the help.
Post Reply