> I recently set up an internal server for rsync and distfile distribution.
> How do I check to ensure that this internal server actually was successful
> at downloading the rsync files and the appropriate distfiles for the other
> sytems?

/usr/portage/metadata/timestamp contains the timestamp for when the sync was
completed.
 
> PROBLEM?
> I manually ran 'emerge -uDp world' today on both a client and the
> sever. The client updated a few files, the server returned nothing to
> update.
> I kept another p4 system using rsync and downloading the distfiles
> separate.

Since the server is the local rsync mirror it must do it's emerge --sync
first.  After it has completed (note: not during the run), the client(s) can
emerge --sync.
 
> emerge -uDp world shows this file (among others) on the P4 system using
> the old external update method:
> [ebuild  NS   ] sys-kernel/gentoo-sources-2.6.12-r5
> 
> The new internal-AMD rsync/distfile server, issueing
> 'emerge -s gentoo-sources' shows:
>       sys-kernel/gentoo-sources
>       Latest version available: 2.6.12-r4
>       Latest version installed: 2.6.12-r4
> 
> Is this evidence that the nightly updates, are not working on the
> internal server?

No, it is merely an indication that at some point between the server's sync
and the older sync that -r5 of gentoo sources was released.  My systems, as
of last night around midnight thought only -r4 was available.  Just now I
ran emerge --sync on the server and it now sees that -r5 is available.

It's strictly a timing issue.

> Is there a simple test to determine if the updates are working
> on the rsync and distfiles?

Sure.  New packages are released every day.  I can't remember a single day
in the last month where emerge -uDp reported no packages to update.

So if you run a few days and constantly see emerge -uDp reporting no
packages, there's probably a sync problem.




-- 
gentoo-user@gentoo.org mailing list

Reply via email to