On 21:35 Mon 31 Jan     , Francesco Talamona wrote:
> On Monday 31 January 2011, BRM wrote:
> > I just wrote a new script last night, but I'm still not sure that all
> > of the  parameters are correct
> 
> Why not something proven and reliable like "emerge --sync"?

In fact, what I always do is sync one of my machines with an official
Gentoo mirror via "emerge --sync", and then I just use rsync to
distribute the updated tree to all my other local machines as in:

rsync --delete -trmv /usr/portage/ <user>@<dest_host>:/usr/portage

One might want to ask rsync to exclude the distfiles directory,
but I always include it as it oftentimes saves me the download of a
file I've already downloaded during an emerge on another machine.

In any case, locally updating my tree via rsync has always worked fine
for me. Leaving the "--delete" option to rsync out, however,
immediately leads to problems, with various ebuild-related error
messages on subsequent "emerge"s. I can imagine that the OP did, in
fact, update his tree in such an inconsistent manner, but that can
certainly be fixed, with the surest way being a "emerge --sync" using
an official mirror.

Greetings,
Nils


-- 
Nils Holland * Ti Systems, Wunsorf-Luthe (Germany)
Powered by GNU/Linux since 1998

Reply via email to