Does anyone have any insight on this error message? I didn't see any errors while doing rpmbuild... Thanks, Brian. > 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. > _______________________________________________ > Yum mailing list > Yum@xxxxxxxxxxxxxxxxxxxx > https://lists.dulug.duke.edu/mailman/listinfo/yum