----- Original Message ----

> From: Francesco Talamona <francesco.talam...@know.eu>
> 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"?
> 

"emerge --sync" works fine for your _normal_ portage tree.
But if you are running a mirror on a gentoo system that also needs its own copy 
of portage, then you really need to have two portage trees on the system.
One portage tree is hosted by rsync for all - it can be synch'd at will with 
the 
official portage trees.
The second portage tree is the system's portage tree, and is only sync'd when 
you update it - just like any other gentoo system.

Why?

I originally ran the server with rsync hosting its portage tree, with daily 
synchronizations. However, when I forgot and let the server fall behind a 
little 
in updates, it became quickly clear that it needed its own separate copy of 
portage so I can install software without synchronizing portage - or rather, 
install software without having to update the whole system, etc.

Now, may be there are options for "emerge --sync" that I'm not aware of to 
handle just this case - but it works very well, and I ran it for quite a while. 
Sadly, I did not have that script backed up or anything; so I will have to 
recreate it again.

Ben


Reply via email to