Page 1 of 1

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

Posted: Sat Mar 04, 2006 1:41 am
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?

Posted: Sat Mar 04, 2006 9:48 am
by scott
Right, since you're on RHEL4, you want to use up2date, instead of yum.

Posted: Sat Mar 04, 2006 4:12 pm
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?

Posted: Sun Mar 05, 2006 11:16 am
by scott
Yes, you can add yum or apt repo's to up2date in the /etc/sysconfig/rhn/sources file.

Posted: Tue Mar 07, 2006 4:48 am
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/

Posted: Tue Mar 07, 2006 4:59 am
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.