LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-01-2007, 11:07 AM   #1
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Saving Yum updates... how?


Hello,

I recently updated a Fedora Core 5 system, using yum, with updates for glibc, gcc, and a few other packages.

How can I repeat the process such that I can save the packages that were downloaded? I need to backup these packages so that I can recreate the same FC5 system elsewhere.

Thank you in advance for your assistance.

Last edited by dwhitney67; 10-01-2007 at 11:18 AM.
 
Old 10-01-2007, 12:32 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Well, in FC6 and F7, there is a "downloadonly" YUM plugin available which add a --downloadonly={yes|no} option to the yum command. I don't know if it would work on an unsupported, obsolete, FC5 distribution.

You could, of course, just download the RPM files from any repository that has them available using a web browser or FTP.
 
Old 10-01-2007, 02:33 PM   #3
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Original Poster
Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Can you give me a hint where I might find the RPM repo for FC5? When I visited a Fedora mirror site (e.g. http://linux.nssl.noaa.gov/fedora/linux), all I could find is the latest versions of packages available.

These packages are later versions than are available for FC5, yet I was able to update my FC5 system only a week ago, thus my system thinks that it has the latest versions.

Is there a trick to examining the files in /etc/yum.repo.d to obtain where my updates came from? I've examined the files, but most links (baseURLs) are not valid.

Here's the list of RPMS I require:
  • gcc-4.1.1-51
  • glibc-2.4
  • linux-2.6.20-1.2320.fc5
  • kernel source for linux-2.6.20-1.2320.fc5

P.S. Thanks for the tip concerning the "downloadonly" plugin. I now have that.
 
Old 10-02-2007, 02:31 AM   #4
axelfc
Member
 
Registered: Jan 2006
Distribution: ArchLinux
Posts: 175

Rep: Reputation: 34
Take a look here: http://download.fedora.redhat.com/pu...pdates/5/i386/

I think it has the packages you want.

Just to know in /etc/yum.conf there is an option keepcache=0. If you enable this keepcache=1 all the files that you download and install with yum will be stored in your system under /var/cache/yum
 
Old 10-02-2007, 03:35 AM   #5
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Original Poster
Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Axelfc -

Thank you very much for going out of your way to find me that URL! I now have my little collection of RPMs that hopefully, in conjunction with the FC5 distro, will enable me to resurrect my Pentium-MMX system should the need arise.
 
  


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
Yum updates on FC6 msteiner Fedora 4 06-13-2007 05:21 AM
yum check-update says no updates when there are updates? MarkEHansen Linux - General 7 12-29-2006 05:16 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
Saving RHEL WS updates??? halo14 Red Hat 2 05-20-2004 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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