Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-22-2005, 03:54 PM   #1
LQ Newbie
Registered: Apr 2005
Posts: 21

Rep: Reputation: 15
Local server yum updates

I am new to linux so I find myself reinstalling it all the time and I'm tired of waiting for the updates to download via yum. So I downloaded all the updates from a mirror/server to a computer on my local network. I can get yum to log onto my local network ftp program and go though the list of all my rpm's. The problem is I don't think i have all the files i need from the fedora mirror so yum will fail at the very end of listing the programs needing to be updated. I'm running FC3-x86_64 can someone please tell me what all areas I need in my local ftp from the mirror ie: what folders, and if you have time, what the yum files should look like. I spent a lot of time online looking and as I said I'm new so a lot of info is over my head. I'm just hate reinstalling FC3 and waiting for the updates. I guess one can say I'm hard headed trying to learn linux on my own with trial and error. Thank you in advance.
Old 04-25-2005, 04:38 PM   #2
Senior Member
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
We've got documents in the pipeline for both yum and setting up local mirrors, but you don't need to reproduce a full mirror site to feed yum clients. Here's what I would do:

- Create a directory and copy all of the RPMs from the installation discs into it.
- On the command-line run "createrepo /path/to/repo-directory"

This is now a repository for "base" - edit /etc/yum.repos.d/fedora.repo on all systems to use this.

Repeat the process with your update rpms to create an "updates" repository for your network. You can now either manually copy update RPMs into the updates directory, or write a script that copies them from core/updates/3/x86_64/ on a public mirror site. However you maintain your updates repository, you have to rerun createrepo after adding new RPMs.

Last edited by hob; 04-25-2005 at 04:41 PM.
Old 04-27-2005, 12:11 AM   #3
LQ Newbie
Registered: Apr 2005
Posts: 21

Original Poster
Rep: Reputation: 15
Thank you Hob! With your input I was able to find a nice howto on your recommendation.



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 updates on FC3_64 Phaethar Fedora 4 11-22-2005 02:56 PM
YUM Updates jaschwar Linux - Newbie 3 03-01-2005 05:13 PM
yum updates pulisubs Linux - Newbie 2 12-20-2004 10:14 PM
FC2 updates from local FTP server tefal Linux - Networking 0 10-02-2004 10:39 AM
Where does yum download updates to? fzx1 Linux - Newbie 2 04-10-2004 03:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration