LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2014, 12:12 PM   #1
srijivdimri
Member
 
Registered: Jun 2013
Location: India.
Posts: 35

Rep: Reputation: Disabled
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.
 
Old 09-25-2014, 02:47 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
This should work (adjust for DVD if that's your src) https://code.google.com/p/iredmail/w...Yum_Repository
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ImportError: No module named pygtk orbit Slackware 11 06-25-2013 07:50 AM
ImportError: No module named qt+fedora12 srinivasmiriyalu Linux - Newbie 1 01-17-2010 04:09 PM
ImportError: No module named SimulationServer nageshbgl Linux - Newbie 1 09-26-2007 04:59 AM
iPodder: ImportError: No module named wx dr_zayus69 Linux - Software 6 07-06-2005 02:55 AM
ImportError: No module named gconf linorg Linux - Software 8 02-02-2004 05:37 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration