On Wed, Nov 5, 2008 at 5:49 AM, Dirk Uys <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 5, 2008 at 9:18 AM, Lorenzu Hewa, Gayan Neomal
> <[EMAIL PROTECTED]> wrote:
>> I Used the Live CD ... It does contain few packages like X11,xfce4, gdm
>> , some network utils,vim . But I need to get other packages which I
>> need. lIke Gcj , fluxbox , mpg321 ...
>>
>> Even though it has only few packages installed it consumes a lot of disk
>> space... that another problem im having.
>>
>
> I used to run an offline gentoo setup. You can use "emerge -upvf
> <package-name(s)>" to get a list of files you need to obtain. Pipe the
> output of that to some file, do some grep/sed to remove duplicates and
> remove the multiple urls.
>
> Write a script to fetch all the files in your file list. It can be as
> simple as "for file in `cat filelist` do wget $URL/$file; done;" When
> you get to an internet connection, run the script to fetch all the
> files.
Why don't you just run wget -i filelist? In fact, you do not even need
to edit the filelist to remove duplicates; you can just use wget's -nc
option.

So you can use wget -nc -i filelist
or, if you want to do it in the background
wget -nc -i filelist -b --progress=dot:mega

> The /usr/portage/distfiles directory can very quickly grow, clean it
> up every now and then.
I suggest the tool eclean (part of gentoolkit).

Reply via email to