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

24th September 2005, 04:54 PM
|
|
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
|

24th September 2005, 05:06 PM
|
 |
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
|

24th September 2005, 05:06 PM
|
|
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
|

24th September 2005, 05:21 PM
|
 |
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.
|

24th September 2005, 06:30 PM
|
|
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
|

24th September 2005, 06:42 PM
|
 |
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.
|

24th September 2005, 06:44 PM
|
|
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
|

24th September 2005, 06:57 PM
|
 |
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.
|

24th September 2005, 06:59 PM
|
 |
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.
|

24th September 2005, 07:00 PM
|
|
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
|

24th September 2005, 07:02 PM
|
|
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?
|

24th September 2005, 11:42 PM
|
 |
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 22:38 (Wednesday, 19-06-2013)
|
|
 |
 |
 |
 |
|
|