Re: Yum checks out, but...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Howarth wrote:

Philip Prindeville wrote:

Paul Howarth wrote:

On Fri, 2006-01-13 at 01:40 -0700, Philip Prindeville wrote:
Following some inadvertent replacement of various RPM's and then having
to back them out again, my system was somewhat damaged.

I uninstalled and then reinstalled yum. RPM claims that yum is good to go:

# rpm -V yum
..?......   /usr/lib/python2.3/site-packages/repomd/__init__.py
# yum list available
Traceback (most recent call last):
 File "/usr/bin/yum", line 6, in ?
   import yummain
 File "/usr/share/yum-cli/yummain.py", line 23, in ?
   import yum
File "/usr/lib/python2.3/site-packages/yum/__init__.py", line 20, in ?
   import rpm
File "/usr/lib64/python2.3/site-packages/rpm/__init__.py", line 7, in ?
ImportError: No module named _rpm
#


But apparently yum is having self-estime issues.

Any ideas?



This is FC3, right?

Try reinstalling rpm-python and see if that helps.

Paul.


Yes, FC3.  Tried the suggestion: No joy.


I think /usr/lib64/python2.3/site-packages/rpm may be a leftover from an upgraded RPM package, since downgraded again. See if any package owns it:

$ rpm -qf /usr/lib64/python2.3/site-packages/rpm

If no package owns it, try renaming it:

# cd /usr/lib64/python2.3/site-packages
# mv rpm rpm.rpm441


Brilliant!

-Philip



See if that helps. If rpm is subsequently broken, rename the directory back again.

Paul.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux