LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-09-2014, 04:31 AM   #1
samir82show
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Rep: Reputation: Disabled
adding extra packages to local ftp


Hi,

I'm having local ftp repository under /var/ftp/pub..may I know how can I add extra rpms to that repository, I tried to recreate the xml repo file but it didn't work with the ftp clients, they can't see the additional rpms thou.

this is the client repo

[ftp-local]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=ftp://master/pub
enabled=1
gpgcheck=0

this is the server repo, I could make it as local file but this for testing purpose

[local-local]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=ftp://master/pub
enabled=1
gpgcheck=0

and this is how I test

[root@master yum.repos.d]# yum list all | grep rubygems
rubygems.noarch 1.8.10-1.el6 @rbel6


[root@client yum.repos.d]# yum list all | grep rubygems

thanks

Samir
 
Old 08-09-2014, 11:39 AM   #2
zer0python
Member
 
Registered: Sep 2003
Posts: 104

Rep: Reputation: 20
Have you tried running yum repo-regen (or was it regen-repo?) on the client?
Can you run `ftp master` from the client's command line successfully?

Have you tried re-running createrepo (mrepo)

what's the output of yum list-repos (list-repo? repo-list? It's been a couple year's since I managed an RPM package server) on both the client and server.

Also the output of rubygems.noarch ...el6 makes me think that's from EPEL and not your local repo, but maybe you're just running a mirror and it is
 
Old 08-14-2014, 04:22 PM   #3
samir82show
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zer0python View Post
Have you tried running yum repo-regen (or was it regen-repo?) on the client?
Can you run `ftp master` from the client's command line successfully?

Have you tried re-running createrepo (mrepo)

what's the output of yum list-repos (list-repo? repo-list? It's been a couple year's since I managed an RPM package server) on both the client and server.

Also the output of rubygems.noarch ...el6 makes me think that's from EPEL and not your local repo, but maybe you're just running a mirror and it is
Dear thanks for the reply, actually I was preparing local repo, and yes EPEL was one of the repos, now it is working, I was configuring it as a puppet server, and it seems because I changed the entry in /etc/hosts from master to puppet it didn't work.

Samir
 
  


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
how to update the repository after adding extra packages on it? shibir Linux - Server 2 05-28-2012 04:49 AM
LXer: Fedora's Extra Packages for Enterprise Linux the Extra Mile LXer Syndicated Linux News 0 06-20-2008 10:10 PM
[SOLVED] sed adding an extra \n ??? kaz2100 Programming 2 04-10-2008 06:58 PM
Question about some packages in extra Old_Fogie Slackware 3 11-08-2006 04:00 AM
adding extra repositories? KezzerDrix Mandriva 1 04-27-2005 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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