Gentoo Archives: gentoo-user

From: Nils Holland <nhg@×××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Emerge Problems...
Date: Mon, 31 Jan 2011 23:17:40
Message-Id: 20110131224358.GB17581@x7bj.fritz.box
In Reply to: [gentoo-user] Re: Emerge Problems... by Francesco Talamona
1 On 21:35 Mon 31 Jan , Francesco Talamona wrote:
2 > On Monday 31 January 2011, BRM wrote:
3 > > I just wrote a new script last night, but I'm still not sure that all
4 > > of the parameters are correct
5 >
6 > Why not something proven and reliable like "emerge --sync"?
7
8 In fact, what I always do is sync one of my machines with an official
9 Gentoo mirror via "emerge --sync", and then I just use rsync to
10 distribute the updated tree to all my other local machines as in:
11
12 rsync --delete -trmv /usr/portage/ <user>@<dest_host>:/usr/portage
13
14 One might want to ask rsync to exclude the distfiles directory,
15 but I always include it as it oftentimes saves me the download of a
16 file I've already downloaded during an emerge on another machine.
17
18 In any case, locally updating my tree via rsync has always worked fine
19 for me. Leaving the "--delete" option to rsync out, however,
20 immediately leads to problems, with various ebuild-related error
21 messages on subsequent "emerge"s. I can imagine that the OP did, in
22 fact, update his tree in such an inconsistent manner, but that can
23 certainly be fixed, with the surest way being a "emerge --sync" using
24 an official mirror.
25
26 Greetings,
27 Nils
28
29
30 --
31 Nils Holland * Ti Systems, Wunsorf-Luthe (Germany)
32 Powered by GNU/Linux since 1998

Replies

Subject Author
Re: [gentoo-user] Re: Emerge Problems... Dale <rdalek1967@×××××.com>