ImportError: No module named rpm

April 10, 2013 3.3k views
Hi can you help me fix this problem, it's been 3 days searching the net and found nothing with this issue. I am installing zpanel tutorial from here: http://www.zvps.co.uk/zpanelcp/ubuntu-12-04. I got stuck with the command ... yum install ld-linux.so.2 curl, it gives me error below. 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
2 Answers
You're on Ubuntu, right? "Try apt-get install rpm python pirut"
Sorry, I just read your message again. yum install ld-linux.so.2 curl? It's a CentOS package.
Have another answer? Share your knowledge.