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

Michael Stenner mstenner at phy.duke.edu
Thu Dec 18 15:03:45 UTC 2003

On Thu, Dec 18, 2003 at 08:47:27AM -0500, David Relson wrote:
> Hi Michael,
> Your quick response is appreciated.  However it ain't so easy :-(
> 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

I understand that you have solved the problem differently, but I
actually meant you to delete the _installed_ files.... ie, to to ahead
and install as normal, but then simply remove the installed
keepalive.py and .pyc.  Urlgrabber does a check at runtime and if
keepalive isn't there, it's simply not used.

  Michael Stenner                       Office Phone: 919-660-2513
  Duke University, Dept. of Physics       mstenner at phy.duke.edu
  Box 90305, Durham N.C. 27708-0305

More information about the Yum mailing list