No module named RPM

Ian Burrell ianburrell at gmail.com
Thu Apr 13 17:48:49 UTC 2006


Don Kidd <kidddw <at> muohio.edu> writes:
> 
> I have just upgraded to FC5, but I somehow lost my yum.  When I run yum, 
> I get a "No module named rpm" message.  Is there anyplace I can get a 
> new rpm?  I have looked all over my machine and can't seem to find one. 
>   If I type rpm I get a lovely "bash: rpm: command not found" error.
> 
> Can someone please help me?
> 

Can you run rpm the command?  It is possible what is missing is the rpm-python
module which contains the python bindings to rpm.  Since yum is written in
python, it needs the rpm-python package.  If rpm command is working, then you
can install rpm-python package manually.

 - Ian






More information about the fedora-list mailing list