LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-06-2013, 01:22 PM   #1
srijivdimri
Member
 
Registered: Jun 2013
Location: India.
Posts: 35

Rep: Reputation: Disabled
Not able to set-up yum properly.


Hi Experts,

I have copied the DVD contents under /var/ftp/pub. While configuring yum, I am getting the following error:-
"
[root@localhost pub]# createrepo -v Server/
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 49, 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

"

I installed the deltarpm package as well but still getting the same error.
Linux version is 6.2.My /etc/yum.repo.d/local.repo file looks as:-
[root@localhost pub]# cat /etc/yum.repos.d/local.repo
[local]
name=local
baseurl=file:///var/ftp/pub/Server
enabled=1
gpgcheck=0


Could you please look into this. Appreciate all your help.
 
Old 11-06-2013, 01:32 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
it's irrelevant what your repo file looks like if you can't create the repo in the first place.

it's stating that deltarpm is not installed.... can you show that it is? "rpm -ql deltarpm" would show the files in it if it is indeed there.
 
Old 11-06-2013, 02:09 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
6.2 WHAT
if it is CentOS 6.2 it is unsupported
if it is Scientific linux 6.2 there are only security fixes

if this is RHEL 6.2
contact redhat
your signature says you passed the RHCE

So you already KNOW how to set up a rhel system -- you state that you passed those tests .

from this statement
Quote:
I have copied the DVD contents under /var/ftp/pub
It looks like you are trying to use RHEL 6.2 without the required support contract .
So installing the current "deltarpm" is basically going to be near impossible ( well rather hard to do ).
 
Old 11-06-2013, 02:18 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Quote:
Originally Posted by John VV View Post
So installing the current "deltarpm" is basically going to be near impossible ( well rather hard to do ).
Not if you have an RHCE...
 
  


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
yum haven't worked properly rishad Linux - Newbie 5 07-10-2012 04:25 AM
howto install YUM and make it run properly in RHEL5? harry2006 Linux - Software 7 09-25-2008 02:12 AM
fdisk and yum commands does not work properly sky rulz Linux - Newbie 6 07-24-2008 01:29 AM
yum not working properly or I think so. raxxal Fedora 1 04-06-2005 11:22 AM
How to set up the firewall properly with SuSE 9.1? jnassiri Linux - Security 2 08-03-2004 12:51 AM


All times are GMT -5. The time now is 02:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration