Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/usr/portage/distfiles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
madpenguin8
n00b
n00b


Joined: 19 Jun 2002
Posts: 38
Location: Detroit MI

PostPosted: Wed Jan 29, 2003 2:59 am    Post subject: /usr/portage/distfiles Reply with quote

Why is mine full of tar balls of old versions of everything, and more importantly how do I clear out everything except the most up to date packages?
_________________
Have you ever stopped to think...............and never start again?
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Wed Jan 29, 2003 3:08 am    Post subject: Reply with quote

because the portage system don't clean up the files. They are cached so re-install of a package or even a new ebuild that just adds a patch don't have to download the files again.

You can easily delete the files you want to.
If you only want files after a certain date, use find /usr/portage/distfiles -ctime X -exec rm -f {} \;
where X is x*24hrs.
I.e to remove files older than 7 days use -ctime 7

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
BlackBart
Apprentice
Apprentice


Joined: 07 Oct 2002
Posts: 252

PostPosted: Wed Jan 29, 2003 7:07 am    Post subject: Reply with quote

i seem to remember something in the gentoolkit cleaning out tarballs of packages not intstalled, I don't remember what it was though.
Back to top
View user's profile Send private message
fifo
Guru
Guru


Joined: 14 Jan 2003
Posts: 437

PostPosted: Thu Jan 30, 2003 3:56 pm    Post subject: Reply with quote

The thread https://forums.gentoo.org/viewtopic.php?t=3011 has some interesting suggestions as to how to clean out unneeded distfiles.
Back to top
View user's profile Send private message
drakonite
l33t
l33t


Joined: 02 Nov 2002
Posts: 768
Location: Lincoln, NE

PostPosted: Fri Jan 31, 2003 1:31 am    Post subject: Reply with quote

If you don't plan on re-emerging the same version of any of the packages you have you can safely delete all the files in /usr/portage/distfiles.
_________________
Shoot Pixels Not People

My GPG/PGP Public key
Back to top
View user's profile Send private message
S_aIN_t
Guru
Guru


Joined: 11 May 2002
Posts: 488
Location: Ottawa

PostPosted: Fri Jan 31, 2003 1:45 am    Post subject: Reply with quote

i delete them regularly to reclaim the space used.
_________________
"That which is overdesigned, too highly
specific, anticipates outcome; the anicipation of
outcome guatantees, if not failure, the
absence of grace."
- William Gibson, "All Tomorrow's Parties"
----
http://petro.tanreisoftware.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum