LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-27-2004, 05:05 PM   #1
forumuser7
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
offline update RedHat 9


Hi,
Is there a way to download all available RedHat 9 updates and apply them one by one?
Also, I want to keep them all on a CD or on a PC in the network, so when a new RedHat 9 installation is done easily to apply the updates.
(no need to download them again from RedHat web site)

Thank you for your help in advance!
 
Old 08-18-2004, 02:43 PM   #2
calpchen
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
I'd also like to know how to do this. I would like to keep a CD of all the updated RPMs as of today and lock them away. I do not want to depend on up2date or the Red Hat Network.

Any ideas or suggestions would be appreciated. Thanks.
 
Old 08-22-2004, 01:43 PM   #3
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Red Hat sell Proxy and Satellite software for attaching up2date to an on-site repository. Usual caveat that using RHN Enterprise packages on machines without a subscription is bad karma and a breach of terms.

If you are using the discontinued RH9 rather than Enterprise then up2date or RHN won't be of much help. Try something like this -

- Download yum from Fedora Legacy and install it. Keep the .rpm file. Also keep the GPG signature file if you are using Fedora Legacy rpms for updating RH 9.

- Download the updates .rpm files to a directory on the distribution server and share it out via HTTP (with Apache or any other Web server).

- Use the yum-arch command to make the directory of RPMs into a yum repository.

- Make a second yum repo. containing all the original RPMs from the original CDs (just so that you can install anything else you need without the CDs).

- Make a third directory containing the yum .rpm, the GPG signature file and a yum.conf file that points to the repositories you made. Share it out over HTTP with the Web server as well.

- Write a script that installs the yum rpm from your web server (rpm -ivh http://updates.my.lan/yum.....), imports the GPG for Fedora Legacy (rpm --import http://updates.my.lan/yum/GPG...), copies the yum.conf from the server (wget), enables daily yum update checks ('/sbin/chkconfig --level 345 yum on') and then runs 'yum update' immediately.

You can then use the Post install option in kickstart to wget the setup script from your update server and run it once the install is completed so that the box is attached to your update server and automatically updated from it. Have post-install reboot the machine to make sure that everything is in place.

Yum doesn't do CDs, but you can burn a yum repository on to CD and copy it whereever you want.

Last edited by hob; 08-22-2004 at 01:46 PM.
 
Old 08-22-2004, 06:52 PM   #4
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
If you'd like, you can download all the updated RPMs from RedHat's FTP and use the rpm command to upgrade them. Would take a while, though.
 
Old 08-23-2004, 09:30 AM   #5
calpchen
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
Yes. This is Red Hat 9 we are talking about.

I've browsed the Fedora Legacy archives, but how do I know which RPMs to download? And how do I download them without having to click on them one by one in my web browser?

I have used yum to list the packages that need to be updated without actually installing them. Should I use this list to figure out what RPMs/packages to download?

Thanks a lot.

Last edited by calpchen; 08-23-2004 at 09:37 AM.
 
Old 08-23-2004, 02:58 PM   #6
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
By default, any package fetched by yum is retained in /var/cache/yum/<repository_name>. So if you now run 'yum update' you will update the system itself and have copies of the packages to put in your local repository for updating the other machines on the network.

Alternatively, you can use wget to copy all of the contents of a directory on a Web server to your local machine.
 
  


Reply


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
RedHat Enterprise. How to go from V3 Update 1 to V3 Update 3? vectorz2 Linux - Software 3 05-07-2005 02:50 AM
YaST OFFLINE Update? SchadeBoy SUSE / openSUSE 2 04-20-2005 10:22 AM
redhat linux update databse's type and utility like windows update services kamii47 Linux - General 1 04-18-2005 05:50 AM
Problem with RedHat 9 update Karybdde Linux - Hardware 1 04-05-2004 09:29 AM
On and offline Redhat !!! baye Linux - Networking 1 12-12-2001 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:14 AM.

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