[Gllug] Yum problem

Alain Williams addw at phcomp.co.uk
Sat Jul 24 11:40:01 UTC 2004


On Sat, Jul 24, 2004 at 11:50:01AM +0100, Doug Winter wrote:
> On Sat 24 Jul Alain Williams wrote:
> > I run yum & get:
> > 
> > 	[root at bytemark yum]# yum update
> > 	Traceback (most recent call last):
> > 	  File "/usr/bin/yum", line 22, in ?
> > 	    import yummain
> > 	ImportError: Bad magic number in /usr/share/yum/yummain.pyc
> > 	[root at bytemark yum]#
> > 
> > The cksum for /usr/share/yum/yummain.pyc agrees with that on another machine of mine
> > (where yum does work).
> 
> The compiled python (which is what .pyc is) is for a different version
> of python from that which you are running.  This is an installer or
> packaging problem really.
> 
> You may be able to find a binary package for the python version you are
> running (python -V will tell you).  The alternative is to rebuild the
> package from source, which should use your current python version.  I'm
> not a Redhat person so I can't provide the incantations unfortunately.

Hmmm, yet I needed to upgrade python to get some other package to work.
Sounds as if I have some work to do.

Cheers

-- 
Alain Williams

#include <std_disclaimer.h>

FATHERS-4-JUSTICE - Campaigning for equal rights for parents and the
best interests of our children. See http://www.fathers-4-justice.org
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list