[Yum] ImportError: No module named rpm

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

 



All,
 
Yum looks like it will be a great tool, if I could just get it to work.  I have a pretty standard linux configuration:
 
#uname -a
Linux u15158286.onlinehome-server.com 2.4.25-040218 #1 SMP Wed Feb 18 17:59:29 CET 2004 i686 i686 i386 GNU/Linux
 
yum seemed to install fine and I believe that I have all the pieces:
 
#rpm -q yum
yum-2.0.7-1
 
# rpm -q python
python-2.2.2-26
 
# rpm -q rpm
rpm-4.2-0.69

# rpm -q rpm-python
rpm-python-4.2-0.69

Yet, I get the following when I try to run yum:
 
# yum list
Traceback (most recent call last):
  File "/usr/bin/yum", line 22, in ?
    import yummain
  File "/usr/share/yum/yummain.py", line 22, in ?
    import clientStuff
  File "/usr/share/yum/clientStuff.py", line 18, in ?
    import rpm
ImportError: No module named rpm

Do I need to be pointing somewhere else with my PYTHONPATH?  It feels like I am close, yet don't know where to turn next.
 
Thanks for your help.
 
Mike
 
 


Michael Jarrett
office: 415-954-8570
cell: 415-608-3570

pyJarrett Consulting

www.jarrettconsulting.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.dulug.duke.edu/pipermail/yum/attachments/20041020/29a7706b/attachment.htm

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux