public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] how to control portage space usage
@ 2005-08-07 21:06 motub
  2005-08-07 21:38 ` Fernando Meira
  0 siblings, 1 reply; 30+ messages in thread
From: motub @ 2005-08-07 21:06 UTC (permalink / raw
  To: gentoo-user

----- Original Message ----- 
From: Fernando Meira <fmeira@gmail.com> 
Date: Sunday, August 7, 2005 10:22 pm 
Subject: [gentoo-user] how to control portage space usage 
 
> Hi, 
> this is probably an old discussion, sorry for bring it up again. 
>  
> When I joined Gentoo (a few months ago) I got the idea that I could  
> control  
> very well the space that gentoo would require. That would be great  
> because  
> of my 4.6G available to it. Then, not so long time ago I got very  
> surprised  
> with how much less space available I had when I didn't have  
> (almost)  
> anything installed. Now it's completely full and I'm the middle of  
> an emerge  
> :( 
>  
> Well, tears apart, I would like to know if there's a good way to  
> control the  
> space usage of portage, since it is the reason for my problem.  
> My /usr/portage and /var/tmp/portage/ take 2.2G which is almost  
> half of the  
> partition. 
>  
> What I have installed: 
> - some (split) ebuilds of kde 3.4.1 
> - e16 
> - e17 
> - firefox 
> - gimp 
> - acrobat reader 7 
> - xmms, amsn (and maybe a few more small packages) 
>  
> What I've found until now: 
> - clear /usr/portage/distfiles and /var/tmp/portage after an  
> emerge, or  
> regularly (using tmpreaper) 
> - there are some users-made scripts (still buggy) that look for old  
> ebuilds  
> in portage tree and erases them ( 
> http://forums.gentoo.org/viewtopic-t-3011-highlight- 
> portage+space+usage.html) 
>  
> Any comments/ideas/scripts about this, or everyone has plenty space  
> to  
> spare... 
>  
> Cheers, 
> Fernando 
 
As far as I know, that's pretty much what you can do (assuming that the cleaning of /var/tmp/portage occurs when you have a failed emerge 
as well, since failed emerges leave the temporary work files there until the emerge is either correctly completed, or you delete the files 
yourself). 
 
The thing is, it now depends to some degree on just what you are emerging, because as you fill your disk with emerged programs, and 
assuming that those programs don't reside on another disk (/usr, /var, /tmp, or /opt on another disk or partition than / ), you will lose 
the ability to compile certain programs that naturally take up more space than you have available during the emerge process. 
 
I'm thinking specifically of OpenOffice.org, which takes about 3GB just to emerge, but I suspect Mozilla and its ilk, and certain KDE 
programs may not be much better. Not to mention X.org or glibc. But from what you've said, even if /usr/portage/distfiles 
and /var/tmp/portage are empty, you wouldn't have enough space to emerge OO.o at this time, and possibly other high-end programs as well. 
Of course, you could just use the openoffice-bin package for that case. But not for every case that this might occur, and frankly, it's a 
losing proposition (either you have to be constantly on the ball as to how much space every program you want needs to emerge, or you have 
to give up some stuff). 
 
Less than 5GB is really not enough for a Gentoo install unless it's going to be *very* minimal. If I was you, I'd look around for an old 5 
or 10 GB disk, slap it in the box and move /usr or /var (probably a better choice) to that, and then mount it to the / partition. 
 
Just my 0.02 
Holly 
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 30+ messages in thread
* [gentoo-user] how to control portage space usage
@ 2005-08-07 20:22 Fernando Meira
  2005-08-07 20:50 ` Rumen Yotov
  0 siblings, 1 reply; 30+ messages in thread
From: Fernando Meira @ 2005-08-07 20:22 UTC (permalink / raw
  To: gentoo-user

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

Hi,
this is probably an old discussion, sorry for bring it up again.

When I joined Gentoo (a few months ago) I got the idea that I could control 
very well the space that gentoo would require. That would be great because 
of my 4.6G available to it. Then, not so long time ago I got very surprised 
with how much less space available I had when I didn't have (almost) 
anything installed. Now it's completely full and I'm the middle of an emerge 
:(

Well, tears apart, I would like to know if there's a good way to control the 
space usage of portage, since it is the reason for my problem. 
My /usr/portage and /var/tmp/portage/ take 2.2G which is almost half of the 
partition.

What I have installed:
- some (split) ebuilds of kde 3.4.1
- e16
- e17
- firefox
- gimp
- acrobat reader 7
- xmms, amsn (and maybe a few more small packages)

What I've found until now:
- clear /usr/portage/distfiles and /var/tmp/portage after an emerge, or 
regularly (using tmpreaper)
- there are some users-made scripts (still buggy) that look for old ebuilds 
in portage tree and erases them (
http://forums.gentoo.org/viewtopic-t-3011-highlight-portage+space+usage.html
)

Any comments/ideas/scripts about this, or everyone has plenty space to 
spare...

Cheers,
Fernando

[-- Attachment #2: Type: text/html, Size: 1698 bytes --]

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

end of thread, other threads:[~2005-08-09 22:42 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-07 21:06 [gentoo-user] how to control portage space usage motub
2005-08-07 21:38 ` Fernando Meira
2005-08-07 22:04   ` Francisco J. A. Ares
2005-08-08  8:03     ` Neil Bothwick
2005-08-08  8:09       ` W.Kenworthy
2005-08-07 22:20   ` Tero Grundstr�m
2005-08-07 22:45     ` Fernando Meira
2005-08-08  7:45       ` Tero Grundstr�m
2005-08-08  9:30         ` Neil Bothwick
2005-08-08  9:44           ` Tero Grundstr�m
2005-08-08  9:53         ` Michael Kintzios
2005-08-08 10:20           ` Tero Grundstr�m
2005-08-08 13:00             ` Michael Kintzios
2005-08-08 13:13               ` Neil Bothwick
2005-08-08 18:23                 ` Fernando Meira
2005-08-08 19:10                   ` Neil Bothwick
2005-08-08 18:03         ` Fernando Meira
2005-08-08 10:48       ` Sean Reiser
2005-08-08 18:17         ` Fernando Meira
2005-08-08 18:54           ` Sean Reiser
2005-08-08 19:08             ` Luke Albers
2005-08-09 17:44             ` Fernando Meira
2005-08-09 18:25               ` Sean Reiser
2005-08-09 21:00                 ` Fernando Meira
2005-08-09 21:21                   ` Holly Bostick
2005-08-09 22:35                     ` Fernando Meira
2005-08-08 13:43   ` Richard Fish
2005-08-08 18:34     ` Fernando Meira
  -- strict thread matches above, loose matches on Subject: below --
2005-08-07 20:22 Fernando Meira
2005-08-07 20:50 ` Rumen Yotov

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