LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ImportError: No module named deltarpm (https://www.linuxquestions.org/questions/linux-newbie-8/importerror-no-module-named-deltarpm-4175519814/)

srijivdimri 09-23-2014 11:12 AM

ImportError: No module named deltarpm
 
Hi Experts, I am trying to get yum working on my RHEL Serever 6.5. I have copied the packages to /var/ftp/pub. I then go under Packages and run the below commands :-

# rpm -ivh yum* --nodeps --force
# rpm -ivh createrepo* --nodeps --force

# cd..
# pwd
/var/ftp/pub

createrepo -v Packages/
Traceback (most recent call last):
File "/usr/share/createrepo/genpkgmetadata.py", line 28, in <module>
import createrepo
File "/usr/lib/python2.6/site-packages/createrepo/__init__.py", line 53, in <module>
import deltarpms
File "/usr/lib/python2.6/site-packages/createrepo/deltarpms.py", line 21, in <module>
import deltarpm
ImportError: No module named deltarpm


# rpm -qa yum python
yum-3.2.29-40.el6.noarch
python-2.6.6-51.el6.x86_64



I tried to install the deltarpm package but still the same error.

How can I make the yum to work ?

Appreciate all your help in advance.

chrism01 09-25-2014 01:47 AM

This should work (adjust for DVD if that's your src) https://code.google.com/p/iredmail/w...Yum_Repository


All times are GMT -5. The time now is 02:53 AM.