LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 11:12 AM   #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, 01:47 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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



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 06:50 AM
ImportError: No module named qt+fedora12 srinivasmiriyalu Linux - Newbie 1 01-17-2010 03:09 PM
ImportError: No module named SimulationServer nageshbgl Linux - Newbie 1 09-26-2007 03:59 AM
iPodder: ImportError: No module named wx dr_zayus69 Linux - Software 6 07-06-2005 01:55 AM
ImportError: No module named gconf linorg Linux - Software 8 02-02-2004 04:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:29 PM.

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
Open Source Consulting | Domain Registration