YUM Traceback / Wrong OS

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
wacko
Forum User
Forum User
Posts: 21
Joined: Tue May 24, 2005 10:24 am

YUM Traceback / Wrong OS

Unread post by wacko »

Hi,

I have PSA 7.5.3 (7.5.3-rhel3.build75050506.13) installed on my server running RES3, Now a while back I installed yum so i could update using ART's stuff.

Now for some reason its changed the OS being reported

CentOS release 3.4 (final)

yum seems to also be broken when I try and run it, it shows the following traceback error.

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/yum", line 6, in ?
    import yummain
  File "/usr/share/yum-cli/yummain.py", line 23, in ?
    import yum
ImportError: No module named yum
and my yum.conf is as follows.

Code: Select all

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1

[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/art/$releasever/

[psa-7.5]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.5 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.5/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/psa-7.5/$releasever/

[gamera]
name=Atomic Rocket Turtle - $releasever - Project Gamera
baseurl=http://3es.atomicrocketturtle.com/atomic/gamera/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/gamera/$releasever/

[base]
name=Atomic Rocket Turtle - $releasever - Base OS RPMS mirror
baseurl=http://3es.atomicrocketturtle.com/3rd-party/base/$releasever/

[updates]
name=Atomic Rocket Turtle - $releasever - OS Update RPMS mirror
baseurl=http://3es.atomicrocketturtle.com/3rd-party/updates/$releasever/
up2date is obviously not working because of the wrong OS being reported, Now is there a way I can revert back to the original settings? I also saw somewhere I could just use up2date instead of yum by just adding the right download places?! Which file needs to be updated?

Thnks in advance!
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 »

Change $releasever to 3ES, that should fix it
Post Reply