LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-04-2004, 01:24 PM   #1
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Rep: Reputation: 15
Where does u2date put the update RPM's


I need to backup my package updates that is downloaded via up2date but have no clue where they go once the get to my machine? Any idea where to look for these files?

tx
p.n
 
Old 04-04-2004, 03:24 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"I need to backup my package updates that is downloaded via up2date but have no clue where they go once the get to my machine? Any idea where to look for these files?"

As a guess I would say they are in /usr/src/redhat/RPMS. Check all of the directories in /usr/src/redhat.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 04-04-2004, 06:17 PM   #3
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Rep: Reputation: 30
Hi, try this one:

/var/spool/up2date

The headers and rpm's should go here by default.

But here is the trick you are probably looking for. In the man page for up2date you will see 2 options that may help you:

-d download only
--tmpdir=<directory>

So what you could do, is run the up2date -du (or up2date -duf if you need kernel updates)
then back up the /var/spool/up2date dir as you are trying. Alternatively, you could use the --tmpdir to specify an alternative directory if you want.
 
Old 04-05-2004, 11:14 AM   #4
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Original Poster
Rep: Reputation: 15
I had a look here before but only found the headers. It would appear as though the default setting wit u2d is to not store the binaries after installation.

Which leads to the next question: How do I get to re-download packages that I have already installed?

Regards
p.n
 
Old 04-05-2004, 11:16 AM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
" How do I get to re-download packages that I have already installed?"

When I have a lot of downloading to do I use gftp.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 04-05-2004, 03:08 PM   #6
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Rep: Reputation: 30
Quote:
Originally posted by paul.nel

Which leads to the next question: How do I get to re-download packages that I have already installed?
You're right, they are not stored after they are installed. For this one, I would suggest that you log into the RHN web site and you can manually download the packages in .rpm format.

Simply find the package you are looking for (on the correct channel) then you should see a "download" section that list's the rpm and srouce rpm filenames after selecting the rpm-version you are looking for.

I hope there aren't too many for you
 
  


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
Which folders to put all update RPMs? harzfled Fedora 3 03-28-2005 06:44 PM
Where to put rpm's maddoggames Linux - Newbie 1 12-29-2004 10:18 AM
Major Headache with Fedora 2 to 3 Upgrade using U2date atko Fedora 6 12-20-2004 05:36 PM
How do I update 1000 RPM's without RHN's Up2Date tool? anticitan Linux - Software 3 03-24-2004 05:11 PM
Yast Online Update and RPM's Diode Linux - Software 0 10-23-2003 08:16 PM

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

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