LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why i m not being able to create repository using createrepo command in yum? (https://www.linuxquestions.org/questions/linux-newbie-8/why-i-m-not-being-able-to-create-repository-using-createrepo-command-in-yum-4175599580/)

sunilchand 02-12-2017 07:54 AM

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

hydrurga 02-12-2017 08:48 AM

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.

Habitual 02-12-2017 10:18 AM

Quote:

Originally Posted by sunilchand (Post 5669359)
Prior to this .. i think i have done all necessary steps correctly.

and cite your references. What "steps" exactly? Thanks.

sunilchand 02-12-2017 11:34 AM

Quote:

Originally Posted by Habitual (Post 5669400)
and cite your references. What "steps" exactly? Thanks.

like creating repo file in etc directory

hydrurga 02-12-2017 11:44 AM

Quote:

Originally Posted by sunilchand (Post 5669432)
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.

sunilchand 02-13-2017 01:05 AM

Quote:

Originally Posted by hydrurga (Post 5669435)
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.


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