Gentoo Archives: gentoo-user

From: Daniel da Veiga <danieldaveiga@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Portage tree hosed?
Date: Wed, 10 May 2006 03:57:47
Message-Id: 342e1090605092051r4077afcpdb504b9868929bc2@mail.gmail.com
In Reply to: Re: [gentoo-user] Portage tree hosed? by Adrian
1 On 5/9/06, Adrian <linuxgn2@××××××××××××.com> wrote:
2 > On Mon, 8 May 2006 21:01:11 +0300
3 > "Mantas Povilaitis" <mpovilaitis@×××××.com> wrote the words:
4 >
5 > > On 5/8/06, Mantas Povilaitis <mpovilaitis@×××××.com> wrote:
6 > > > > On 5/7/06, Adrian <linuxgn2@××××××××××××.com> wrote:
7 > > > > > Everytime I try to sync it times out and I never finish.
8 > > > > > I'm on dial-up, so it's a bit slow. I am trying to install
9 > > > > > emerge-delta-webrsync and try from there, but of course, I
10 > > > > > can't emerge anything . . .
11 > > >
12 > > > You can try adding
13 > > >
14 > > > RSYNC_TIMEOUT=500
15 > > >
16 > > > or some other big value to make.conf.
17 > > >
18 > > sorry, don't use it, I forgot it would give this:
19 > > WARNING: usage of RSYNC_TIMEOUT is deprecated, use PORTAGE_RSYNC_OPTS
20 > > instead
21 > >
22 > > It should be something like this:
23 > > PORTAGE_RSYNC_OPTS="--timeout=500"
24 > >
25 > > --
26 > Thank you. I didn't know that option. I did set it to 500 but still
27 > having timeout problems. I still have a few other experiments to try
28 > but I'll be back when I know more.
29 >
30 > Adrian
31 >
32 >
33
34 There are alternative ways to update portage that are more suited to
35 your dial-up connection.
36
37 ########### Extracted from
38 http://article.gmane.org/gmane.linux.gentoo.user/153842
39
40 Download a snapshot (you can find one in any gentoo mirror), and
41 download the md5sum, move it to $PORTAGE_TMPDIR/emerge-webrsync and
42 run "emerge-webrsync", it will use those without downloading a new
43 snapshot.
44
45 Or, you can manually do the sync yourself. Extract the
46 portage-snapshot into a directory, and then use the following command:
47
48 rsync -av --progress --stats --delete --delete-after \
49 --exclude='/distfiles' --exclude='/packages' \
50 --exclude='/local' . ${PORTDIR%%/}
51
52 Either define PORTDIR, or replace that with the location of your
53 portage tree (/usr/portage by default).
54
55 ###########
56
57 Give it a try...
58
59 --
60 Daniel da Veiga
61 Computer Operator - RS - Brazil
62 -----BEGIN GEEK CODE BLOCK-----
63 Version: 3.1
64 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
65 PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
66 ------END GEEK CODE BLOCK------
67
68 --
69 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Portage tree hosed? Adrian <linuxgn2@××××××××××××.com>
Re: [gentoo-user] Portage tree hosed? Adrian <linuxgn2@××××××××××××.com>