Help answer threads with 0 replies.
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 07-21-2006, 10:21 PM   #1
LQ Newbie
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
Update of Fedora Core software

I have the responsibility to maintain the software for several Linux machines at my place of work. The machines are all running Fedora Core, some Core 3, all destined to be upgraded to Core 5.

I know how to maintain the software (updates/patches/etc.) over the internet using yum. Unfortunately, none of the target machines can be connected to the internet for security reasons.

What I need is a step-by-step procedure for updating my Fedora software for machines that cannot connect to the internet. I do have access to a Windows (yecch!) machine or a Macintosh at home from which I can download the update .rpm files, but have not yet solved the sequence of steps to get the updates installed on the target machines. None of the "Linux experts" at my place of work have ever attempted to update their software. Updating/patching software, however, has become a hot issue of late so we cannot remain ignorant much longer.

Thank you for any assistance you can render.
Old 07-21-2006, 10:43 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
What you will need to do is mirror the Fedora repositories - probably to an external USB 2.0 / IEEE1394 hard drive would be the best option. The best protocol to use for this is rsync. Check the mirrors list for an rsync mirror near you.

If you have an internal web or ftp server that you can use, you can serve the mirrored repositories on the external hard drive through that. Otherwise, you can connect the hard drive to the individual systems for updating. You will need to update the 'baseurl=' statements in the '/etc/yum.conf' or '/etc/yum.repos.d/*' configurations to point to your local repository mirrors. Check 'man yum.conf' for the proper URL syntax for the location you will be using (http://, ftp://, file://).

More detailed information is here and here

Once the mirrors are established and the yum configurations are updated, you can update your system as normal (e.g., 'yum -y update').

Last edited by macemoneta; 07-21-2006 at 10:46 PM.
Old 07-21-2006, 10:45 PM   #3
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
That is reasonably tough. If I were in that situation, I would do something like this.

I would build an identical box at home, on old hardware, mainly to keep track of what updates are released. Whatever is installed on the machines at work, I'd install on the home one. Then once a week or so, I'd do yum update/upgrade. See exactly what the connected machine downloads. I don't use FC, but in Debian, all the downloaded .deb files are kept in /var/cache/apt/archives. There is probably a similiar place that Fedora keeps the .rpm files it downloads for yum. Copy the files it just downloaded and installed to a usb stick, or burn them to a CD, which ever you like.

Take the stick/cd to work, mount it on the server, then go through and install the .rpm files. The hardest part will be the initial one, as there may well be a great number of dependencies that need to be worked out.

At the same time, if these boxes aren't on the net, and there is no critical patches released for the key software, it is questionable if they need to be upgraded. A system that doesn't connect to the net is of course more secure than the most firewalled/hardened machine that has connection. Same principal of the safest driver being the man without a car.

Old 07-21-2006, 10:45 PM   #4
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Maybe this will help (the bit on repositories - Q. 11)


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
Setup Fedora core 3 & Redhat 7.2 software development environment under Fedora core 5 powah Fedora 1 06-16-2006 11:25 AM
Unable to update software after Core 5 upgrade oldoak Fedora - Installation 2 03-26-2006 01:03 PM
I have problem to update with the update function under fedora core 2 babyboss Fedora 4 08-10-2005 08:34 AM
If i install Fedora Core 2, can i just update to Core 3 from internet? FocusedWolf Fedora 12 02-07-2005 02:03 PM
Fedora Core 1...can I update to core 2 w/out downloading all discs again? arctic123 Red Hat 3 09-05-2004 05:47 AM > Forums > Linux Forums > Linux - Newbie

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