[Yum] Yum building fun

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi again,

So to solve my previous problem with yum incorrectly picking old 
versions of a package as "new", I downloaded the yum-1.0.3 source and 
created an rpm from it using a slightly modified .spec file (removed the 
cron stuff, yum.conf, and init.d stuff since we have a special set up).

The rpm was created successfully, but after installing it I get the 
following error message when I run yum or yum-arch:

# yum
Traceback (innermost last):
   File "/usr/sbin/yum", line 22, in ?
     import yummain
ImportError: Bad magic number in /usr/share/yum/yummain.pyc

# yum-arch
Traceback (innermost last):
   File "/usr/sbin/yum-arch", line 22, in ?
     import pullheaders
ImportError: Bad magic number in /usr/share/yum/pullheaders.pyc


I did some searching and previously it was said that old versions of 
python can cause this bug.  We have python-1.5.2-43.73 installed, which 
is above the required 1.5.2.

Any ideas?

Thanks,

Brian.

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux