Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th September 2005, 04:54 PM
TranceDude Offline
Registered User
 
Join Date: Jul 2004
Posts: 100
yum temp files?

hi

does yum stores all the downloaded RPM files somewhere or are they deleted once they are installed?

thx
Reply With Quote
  #2  
Old 24th September 2005, 05:06 PM
liquidBass's Avatar
liquidBass Offline
Registered User
 
Join Date: Aug 2005
Location: I wish I knew...
Age: 33
Posts: 34
The RPMs are stored in /var/cache/yum/$REPOSITORY/packages. That's of course if you haven't issued the 'yum clean packages' command
Reply With Quote
  #3  
Old 24th September 2005, 05:06 PM
overule Offline
Registered User
 
Join Date: Aug 2005
Location: Australia
Posts: 289
yeah, i would like to know too as it would be nice if i could just copy the downloaded files over to my other computer.

thanks
Reply With Quote
  #4  
Old 24th September 2005, 05:21 PM
jcliburn's Avatar
jcliburn Offline
Registered User
 
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180
Quote:
Originally Posted by overule
yeah, i would like to know too as it would be nice if i could just copy the downloaded files over to my other computer.
Yes. Simply copy the downloaded files from the updated computer /var/cache/yum/updates-released/packages over to the same directory on the other computer(s), then run "yum update" on the other computer(s). Yum will fetch header files from the remote repositories, but is smart enough not to download the packages themselves, recognizing that they're already present in the cache directory.

The "updates-released" string in the directory name should be replaced by the proper repository name if you update from other repositories. If you "ls /var/cache/yum" you'll see the different repositories your system uses.
Reply With Quote
  #5  
Old 24th September 2005, 06:30 PM
TranceDude Offline
Registered User
 
Join Date: Jul 2004
Posts: 100
so a "yum clean packages" cleans all the downloaded packages so all the disk space will become available?
Is this correct? I'm just a beginner
Reply With Quote
  #6  
Old 24th September 2005, 06:42 PM
jcliburn's Avatar
jcliburn Offline
Registered User
 
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180
Quote:
Originally Posted by TranceDude
so a "yum clean packages" cleans all the downloaded packages so all the disk space will become available?
Is this correct?
That's correct.
Reply With Quote
  #7  
Old 24th September 2005, 06:44 PM
TranceDude Offline
Registered User
 
Join Date: Jul 2004
Posts: 100
and when you do an update all files of the old package will be removed and replaced by the files of the new package?

Sorry for the beginner questions, but i only use linux for 1 month now
Reply With Quote
  #8  
Old 24th September 2005, 06:57 PM
jcliburn's Avatar
jcliburn Offline
Registered User
 
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180
Quote:
Originally Posted by TranceDude
and when you do an update all files of the old package will be removed and replaced by the files of the new package?
No, old packages won't be removed. There may be an option in yum.conf or on the yum command line to cause this removal, but I don't know what it is. man yum.conf or man yum might reveal it.
Reply With Quote
  #9  
Old 24th September 2005, 06:59 PM
jcliburn's Avatar
jcliburn Offline
Registered User
 
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180
Well, wait... I presume you mean old packages (*.rpm files) in the yum cache, not the old files sprinkled throughout the disk that actually comprise the packages. The rpm files aren't removed from the yum cache. The actual constituent files that make up the old packages are.
Reply With Quote
  #10  
Old 24th September 2005, 07:00 PM
TranceDude Offline
Registered User
 
Join Date: Jul 2004
Posts: 100
so there is where my hard drive space goes
so every time you update all the old stuff is still there???
I didn't understand why my hard drive was full so quickly until now

You don't have an idea how i can delete all the old packages?
Yum clean all does not solve this?

I'm a beginner and i have no idea how i can do it. I have to less experience and i hope you can help me because this is a serious problem
Reply With Quote
  #11  
Old 24th September 2005, 07:02 PM
TranceDude Offline
Registered User
 
Join Date: Jul 2004
Posts: 100
Quote:
Originally Posted by jcliburn
Well, wait... I presume you mean old packages (*.rpm files) in the yum cache, not the old files sprinkled throughout the disk that actually comprise the packages. The rpm files aren't removed from the yum cache. The actual constituent files that make up the old packages are.

Yes i mean that
So for removing the old RPM's you just can do "yum clean all' and they're gone?
Reply With Quote
  #12  
Old 24th September 2005, 11:42 PM
jcliburn's Avatar
jcliburn Offline
Registered User
 
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180
Quote:
Originally Posted by TranceDude
So for removing the old RPM's you just can do "yum clean all' and they're gone?
That's correct.
Reply With Quote
Reply

Tags
files, temp, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing temp files jwong78 Using Fedora 3 12th November 2011 11:05 PM
cleaning up temp files? bigmacbb63 Using Fedora 7 3rd February 2008 02:02 AM
Cleaning up temp files ajamison Using Fedora 2 12th May 2007 06:24 AM
Temp files and memory use Gutiman Using Fedora 3 24th September 2006 06:54 PM
temp and cached files zichzach Using Fedora 2 1st January 2006 05:19 PM


Current GMT-time: 22:38 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat