Re: [gentoo-user] /usr/portage size

2006-06-17 Thread Daniel Iliev
It's my quick  dirty way for cleaning portage tree. Use at your own risk:

#rm -rf /usr/portage  emerge --sync

--
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr/portage size

2006-06-16 Thread Bo Ørsted Andresen
On Friday 16 June 2006 12:34, David Corbin wrote:
 While updating today, I ran out of space on /usr.  Looking closer at what
 was being used, /usr/portage is taking about 50% of /usr.  Can this be
 pruned somehow?

/usr/portage/distfiles contains the sources of everything that you have 
installed. If you delete it, it will be downloaded again the next time it is 
needed.

If you have buildpkg in your FEATURES (if you don't know what that is you 
don't), then everything that you have emerged will be stored in binary form 
in /usr/portage/packages.

eclean (which belongs to app-portage/gentoolkit) can be used to prune those 
two folders. Everything else in /usr/portage can be restored by emerge --sync 
if one ever deletes it. It is needed to emerge anything.

HtH

-- 
Bo Andresen


pgpiVuownWwgy.pgp
Description: PGP signature


Re: [gentoo-user] /usr/portage size

2006-06-16 Thread Teresa and Dale
David Corbin wrote:

While updating today, I ran out of space on /usr.  Looking closer at what was 
being used, /usr/portage is taking about 50% of /usr.  Can this be pruned 
somehow?

David
  


Man eclean should help.  I think it is eclean distfiles for the command.

Hope that helps.

Dale
:-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr/portage size

2006-06-16 Thread Alexander Skwar

David Corbin wrote:
While updating today, I ran out of space on /usr.  Looking closer at what was 
being used, /usr/portage is taking about 50% of /usr.  Can this be pruned 
somehow?


eclean

Alexander Skwar
--
Go out and tell a lie that will make the whole family proud of you.
-- Cadmus, to Pentheus, in The Bacchae by Euripides
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr/portage size

2006-06-16 Thread Neil Bothwick
On Fri, 16 Jun 2006 12:44:13 +0200, Bo Ørsted Andresen wrote:

  While updating today, I ran out of space on /usr.  Looking closer at
  what was being used, /usr/portage is taking about 50% of /usr.  Can
  this be pruned somehow?
 
 /usr/portage/distfiles contains the sources of everything that you have 
 installed. If you delete it, it will be downloaded again the next time
 it is needed.
 
 If you have buildpkg in your FEATURES (if you don't know what that is
 you don't), then everything that you have emerged will be stored in
 binary form in /usr/portage/packages.

I always point DISTDIR and PKGDIR to somewhere else, (PORTAGE_TMPDIR
too). It is safer to have them on a non-system partition, so you can't
cripple your computer if they fill up the partition.


-- 
Neil Bothwick

A wok is what you throw at a wabbit.


signature.asc
Description: PGP signature


Re: [gentoo-user] /usr/portage size

2006-06-16 Thread Uwe Thiem
On 16 June 2006 11:34, David Corbin wrote:
 While updating today, I ran out of space on /usr.  Looking closer at what
 was being used, /usr/portage is taking about 50% of /usr.  Can this be
 pruned somehow?

Sure. Remove all old tarballs under /usr/portage/distfiles.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list