[Yum] intersting artifact RHL 7.3, later JBJ rpm-4.1.1-0.1.7x, yum 1.97-1
seth vidal
skvidal at phy.duke.edu
Fri Apr 25 02:46:21 UTC 2003
On Thu, 2003-04-24 at 22:38, R P Herrold wrote:
> RHL 7.3, carefully upgraded with backports:
>
> [root at router root]# sudo rpm -Uvh \
> /usr/src/redhat/RPMS/i386/libxml2-python-2.5.6-2.i386.rpm \
> /usr/src/redhat/RPMS/i386/libxml2-2.5.6-2.i386.rpm
> Preparing... ########################################### [100%]
> 1:libxml2 ########################################### [ 50%]
> 2:libxml2-python ########################################### [100%]
> [root at router root]# rpm -Uvh yum-1.97-1.noarch.rpm
> Preparing... ########################################### [100%]
> 1:yum ########################################### [100%]
> [root at router root]# yum update
> Traceback (innermost last):
> File "/usr/bin/yum", line 22, in ?
> import yummain
> ImportError: Bad magic number in /usr/share/yum/yummain.pyc
> [root at router root]#
>
> first time I have seen that uncaught exception.
>
> Probably from a Sig 11 on bad ram, right? no boogs here. <g>
run python -V on that system.
I bet the pyc files are compiled for the wrong version of python.
-sv
More information about the Yum
mailing list