[Yum] yum-2.0.1 -- problem with httplib.py

seth vidal skvidal at phy.duke.edu
Thu Dec 18 13:51:51 UTC 2003


> After moving keepalive.py* out of the way and editing Makefile to remove
> the reference to it, I ran "make && make install".  So far, fine.  Then
> I try the biggie "yum list updates":
> 
> [root at osage emacs]# yum list updates
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 22, in ?
>     import yummain
> ImportError: Bad magic number in /usr/share/yum/yummain.pyc
> 
> Unfortunately, though I have many years experience as a software
> developer, python is new to me.  What does one do about magic numbers?

Hi,
 Yum 2.0.1 is really quite old. Grab the latest daily release and build
it:
http://linux.duke.edu/projects/yum/download/daily/2.0/yum-20031205.tar.gz


-sv





More information about the Yum mailing list