LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 06-16-2005, 01:16 PM   #1
kevingpo
Member
 
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, 02:13 PM   #2
mechanical-nucleus
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, 02:51 PM   #3
godzero
Member
 
Registered: May 2005
Distribution: Mandriva 2005LE
Posts: 78

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

Original Poster
Rep: Reputation: 30
Quote:
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, 09:55 PM   #5
dtimms
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-18-2005, 12:01 AM   #6
WhatsHisName
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

or

yum clean all
 
  


Reply


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


All times are GMT -5. The time now is 01:17 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration