YUM doesn't not work

seba bino sebas0 at gmail.com
Tue Jan 30 21:41:09 UTC 2007


thanks, but this didn't solve it and yum is still broken.

[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.
Perhaps they are the same, I don't know.
I have re-built Python2.5 from tar source but I get "No module named yum."

[root at localhost rpm]# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.5 (r25:51908, Jan 30 2007, 16:15:17)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-51)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq

----And----

[root at localhost rpm]# python
Python 2.5 (r25:51908, Jan 30 2007, 16:15:17)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-51)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import yum
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named yum
>>> import rpm
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named rpm

Any ideas would be much appreciated ....

On 1/30/07, Todd Zullinger <tmz at pobox.com> wrote:
> seba bino wrote:
> > Would appreciate help in solving this one.
> > Spent a few days on this problem with no luck.
> > Can't run yum. I think this is related to my accidental removal of
> > site-packages.
> > That i have tried to recover.
> > This is my first FC post and am not sure if this output is of any use?
> >
> > [root at localhost rpm]# rpm -qv rpm
> > rpm-4.4.2-32
> >
> > [root at localhost rpm]# rpm -Uv python-rpm-4.0.5-1.i386.rpm
> > error: Failed dependencies:
> >        rpm = 4.0.5 is needed by python-rpm-4.0.5-1.i386
> >        python < 2.3 is needed by python-rpm-4.0.5-1.i386
> >        librpm-4.0.4.so is needed by python-rpm-4.0.5-1.i386
> >        librpmdb-4.0.4.so is needed by python-rpm-4.0.5-1.i386
> >        librpmio-4.0.4.so is needed by python-rpm-4.0.5-1.i386
> >        rpm-python is needed by (installed) yum-3.0-6.noarch
> >        rpm-python>= 4.4 is needed by (installed) smart-0.42-40.fc6.i386
>
> You have rpm-4.4.2-32.  You should install rpm-python-4.4.2-32.  Grab
> it from any of the Fedora mirrors.  Use rpm -Uvh rpm-python... to
> install it.
>
> --
> Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
> ======================================================================
> There are two kinds of pedestrians -- the quick and the dead.
>
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>
>




More information about the fedora-list mailing list