Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 06-16-2005, 12:16 PM   #1
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Rep: Reputation: 30
yum update... question :S

If I use yum update or yum update <package>, it will download the full latest version of the package to update. It appears so, as some packages are average 15MB download.

When it untars them to install them, what happens to the tar.gz files afterwards? Are they still there on my PC? Where and how do I clean them up / remove them to free space?
Old 06-16-2005, 01:13 PM   #2
LQ Newbie
Registered: Jun 2005
Location: North Hampshire, England.
Distribution: SuSE 10
Posts: 6

Rep: Reputation: 0
I believe they are removed as I never found any remnants of yum based updates...

I could be wrong...
Old 06-16-2005, 01:51 PM   #3
Registered: May 2005
Distribution: Mandriva 2005LE
Posts: 78

Rep: Reputation: 15
some are in /var/cache/yum/REPO_NAME/packages.
Old 06-17-2005, 06:42 PM   #4
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Original Poster
Rep: Reputation: 30
Originally Posted by a thing
You don't download tarballs; you download RPMs.

If you didn't change /etc/yum.conf the RPMs will be in /var/cache/yum.
Hmm, I couldn't figure out how to read du -h or df -h properly. So I used Konqueror instead. And from the properties of the folders:

/var/cache/yum == 401.8MB
/var/cache/ == 405.7MB

Wow, shouldn't we clear this stuff? Is it okay to clear the cache? Such as doing a massive rm -Rf * ?
Old 06-17-2005, 08:55 PM   #5
LQ Newbie
Registered: Sep 2004
Location: au.vic.melb
Distribution: Fedora 7 x3, FC6, FC3.
Posts: 27

Rep: Reputation: 15
/var/cache/yum == 401.8MB
/var/cache/ == 405.7MB
I think this means the cache dir (which includes cache/yum), so the size is really in cache/yum.
I keep the updates so that if I need to re-install etc or get another machine up to the same state, I already have the rpms and hdr files on disk.
I made this easier for myself by changing the cache directory to a different partition (that doesn't get erased on install). I also copy this to other machines that have the same version installed.

However, I do tidy up the cache rpm by using gftp to compare the cache/yum folder to fedora/redhat update ftp site. Then I delete any files that are shown as differing (highlighted) on my disk (these are eg old versions of packages - kernel / mozilla etc are large, so this saves lots of space).
Old 06-17-2005, 11:01 PM   #6
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
You can clean up the yum crumbs with either:

yum clean packages


yum clean all


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
yum question: How to update from backed up yum cache? Arodef Linux - Software 2 02-02-2010 11:42 PM
yum update yum? TranceDude Linux - Software 3 08-23-2005 09:56 AM
Yum upgrade/update question stefaandk Linux - Newbie 1 06-23-2005 12:04 AM
trying to update via yum and update fails lnxmacusr Fedora 4 12-17-2004 03:12 PM
Yum Update complains of missing file to do update, but file exists! davidas Linux - Newbie 0 03-28-2004 11:14 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration