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 02-12-2017, 08:54 AM   #1
sunilchand
LQ Newbie
 
Registered: Jan 2017
Posts: 12

Rep: Reputation: Disabled
Why i m not being able to create repository using createrepo command in yum?


Hi all , while creating repository using createrepo command i m getting error something like this .. import createrepo, import deltarpms , import deltarpm , no module name deltarpm .. Prior to this .. i think i have done all necessary steps correctly.

Please tell a way to tackle this and your insight in this topic a bit more .Thanks
 
Old 02-12-2017, 09:48 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Hi sunilchand,

With virtually every question you ask on LQ, it's best to include your distro (and version). That will allow people to help you more effectively.
 
Old 02-12-2017, 11:18 AM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by sunilchand View Post
Prior to this .. i think i have done all necessary steps correctly.
and cite your references. What "steps" exactly? Thanks.
 
Old 02-12-2017, 12:34 PM   #4
sunilchand
LQ Newbie
 
Registered: Jan 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Habitual View Post
and cite your references. What "steps" exactly? Thanks.
like creating repo file in etc directory
 
Old 02-12-2017, 12:44 PM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by sunilchand View Post
like creating repo file in etc directory
Sorry sunilchand, but you were asked for your distro (and version), and the steps that you had taken (commands you had issued etc.) prior to the error.

If you can provide this information, and also paste here the exact error output you are experiencing, then someone might be able to help you.

You need to help us so that we can help you.
 
Old 02-13-2017, 02:05 AM   #6
sunilchand
LQ Newbie
 
Registered: Jan 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Sorry sunilchand, but you were asked for your distro (and version), and the steps that you had taken (commands you had issued etc.) prior to the error.

If you can provide this information, and also paste here the exact error output you are experiencing, then someone might be able to help you.

You need to help us so that we can help you.
I am using Red hat enterprise Linux 6.4. I have followed following steps like copying the packages and repodat folder from DVD to /var/ftp/pub folder and then I have created a repo file in /etc/yum.repos.d/first.repo. Like baseurl= ftp://192.168.0.110/pub enabled=1 gpgcheck=0 Then I have typed the command createrepo -v /var/ftp/pub for creating repository.
 
  


Reply

Tags
delta, repository, yum


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
How to create my own yum group repository? nsampath Linux - Software 6 06-13-2013 11:42 AM
How to create Local YUM Repository? your_shadow03 Linux - Server 9 04-01-2012 11:25 AM
can i create a local yum repository? Sharaz Linux - General 5 01-21-2008 02:51 PM
How to create YUM repository with my RPMs (not mirror) kepkin Red Hat 2 08-01-2007 03:47 PM

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

All times are GMT -5. The time now is 06:55 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