YUM doesn't not work

Todd Zullinger tmz at pobox.com
Tue Jan 30 23:00:45 UTC 2007


seba bino wrote:
> thanks, but this didn't solve it and yum is still broken.

Yum now appears to be broken in a different way than before.  It was
missing the rpm module last time, now it's missing the yum module.
That's most likely due to the install of python 2.5.

> [root at localhost rpm]# rpm -Uvh rpm-python-4.4.2-32.i386.rpm
> Preparing...                ########################################### 
> [100%]
>        package rpm-python-4.4.2-32 is already installed
>
> rpm-python*, not python-rpm* appears to be already installed.

Yes, there is no python-rpm package AFAIK.  The python rpm module is
in the rpm-python package.  You can check if it is installed properly
using rpm --verify (-V for short):

$ rpm --verify rpm-python

If it returns cleanly and with no output, then all is alright with
that package and you can turn your attention to something else as the
problem.  You might want to check out the python and yum packages with
rpm --verify also.

> I have re-built Python2.5 from tar source but I get "No module named
> yum."

There are many parts of the system that require python (such as yum)
and updating python to a new major version isn't something you want to
embark on unless you're prepared to do a lot of debugging and
rebuilding of other parts of the system.

> Any ideas would be much appreciated ....

I would suggest trying to backtrack and get your system to the state
it was in prior to the python 2.5 update.  Did you install that in
/usr/local or did you overwrite the system python installation in
/usr?

Is there anything critical on this system or are you just using it to
play?  If the latter, a re-install will likely be quicker if you're
not very familiar with rpm and Fedora.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
Sometimes the majority only means that all the fools are on the same
side.
    -- Michael W. Smith

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070130/eb455e49/attachment-0001.sig>


More information about the fedora-list mailing list