On 5/9/06, Adrian <[EMAIL PROTECTED]> wrote:
On Mon, 8 May 2006 21:01:11 +0300
"Mantas Povilaitis" <[EMAIL PROTECTED]> wrote the words:
> On 5/8/06, Mantas Povilaitis <[EMAIL PROTECTED]> wrote:
> > > On 5/7/06, Adrian <[EMAIL PROTECTED]> wrote:
> > > > Everytime I try to sync it times out and I never finish.
> > > > I'm on dial-up, so it's a bit slow. I am trying to install
> > > > emerge-delta-webrsync and try from there, but of course, I
> > > > can't emerge anything . . .
> >
> > You can try adding
> >
> > RSYNC_TIMEOUT=500
> >
> > or some other big value to make.conf.
> >
> sorry, don't use it, I forgot it would give this:
> WARNING: usage of RSYNC_TIMEOUT is deprecated, use PORTAGE_RSYNC_OPTS
> instead
>
> It should be something like this:
> PORTAGE_RSYNC_OPTS="--timeout=500"
>
> --
Thank you. I didn't know that option. I did set it to 500 but still
having timeout problems. I still have a few other experiments to try
but I'll be back when I know more.
Adrian
There are alternative ways to update portage that are more suited to
your dial-up connection.
########### Extracted from
http://article.gmane.org/gmane.linux.gentoo.user/153842
Download a snapshot (you can find one in any gentoo mirror), and
download the md5sum, move it to $PORTAGE_TMPDIR/emerge-webrsync and
run "emerge-webrsync", it will use those without downloading a new
snapshot.
Or, you can manually do the sync yourself. Extract the
portage-snapshot into a directory, and then use the following command:
rsync -av --progress --stats --delete --delete-after \
--exclude='/distfiles' --exclude='/packages' \
--exclude='/local' . ${PORTDIR%%/}
Either define PORTDIR, or replace that with the location of your
portage tree (/usr/portage by default).
###########
Give it a try...
--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------
--
gentoo-user@gentoo.org mailing list