public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /usr/portage size
@ 2006-06-16 10:34 David Corbin
  2006-06-16 10:44 ` Bo Ørsted Andresen
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: David Corbin @ 2006-06-16 10:34 UTC (permalink / raw
  To: gentoo-user

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
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] /usr/portage size
  2006-06-16 10:34 [gentoo-user] /usr/portage size David Corbin
@ 2006-06-16 10:44 ` Bo Ørsted Andresen
  2006-06-16 10:57   ` Neil Bothwick
  2006-06-16 10:49 ` Teresa and Dale
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Bo Ørsted Andresen @ 2006-06-16 10:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 813 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] /usr/portage size
  2006-06-16 10:34 [gentoo-user] /usr/portage size David Corbin
  2006-06-16 10:44 ` Bo Ørsted Andresen
@ 2006-06-16 10:49 ` Teresa and Dale
  2006-06-16 10:50 ` Alexander Skwar
  2006-06-16 11:18 ` Uwe Thiem
  3 siblings, 0 replies; 7+ messages in thread
From: Teresa and Dale @ 2006-06-16 10:49 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] /usr/portage size
  2006-06-16 10:34 [gentoo-user] /usr/portage size David Corbin
  2006-06-16 10:44 ` Bo Ørsted Andresen
  2006-06-16 10:49 ` Teresa and Dale
@ 2006-06-16 10:50 ` Alexander Skwar
  2006-06-16 11:18 ` Uwe Thiem
  3 siblings, 0 replies; 7+ messages in thread
From: Alexander Skwar @ 2006-06-16 10:50 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] /usr/portage size
  2006-06-16 10:44 ` Bo Ørsted Andresen
@ 2006-06-16 10:57   ` Neil Bothwick
  0 siblings, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2006-06-16 10:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 863 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] /usr/portage size
  2006-06-16 10:34 [gentoo-user] /usr/portage size David Corbin
                   ` (2 preceding siblings ...)
  2006-06-16 10:50 ` Alexander Skwar
@ 2006-06-16 11:18 ` Uwe Thiem
  2006-06-17  6:45   ` Daniel Iliev
  3 siblings, 1 reply; 7+ messages in thread
From: Uwe Thiem @ 2006-06-16 11:18 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] /usr/portage size
  2006-06-16 11:18 ` Uwe Thiem
@ 2006-06-17  6:45   ` Daniel Iliev
  0 siblings, 0 replies; 7+ messages in thread
From: Daniel Iliev @ 2006-06-17  6:45 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-06-17  6:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-16 10:34 [gentoo-user] /usr/portage size David Corbin
2006-06-16 10:44 ` Bo Ørsted Andresen
2006-06-16 10:57   ` Neil Bothwick
2006-06-16 10:49 ` Teresa and Dale
2006-06-16 10:50 ` Alexander Skwar
2006-06-16 11:18 ` Uwe Thiem
2006-06-17  6:45   ` Daniel Iliev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox