Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2010 00:23:58 +0200
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Strange contents on some ftp mirrors
Message-ID:  <4C50ADFE.5030208@bsdforen.de>
In-Reply-To: <i2q7to$dri$6@dough.gmane.org>
References:  <i2na4v$f3c$1@dough.gmane.org>	<4c4fac09.Kkzz6V/G5TxaiQAZ%perryh@pluto.rain.com>	<i2pahu$dri$1@dough.gmane.org> <4C504F25.8050607@bsdforen.de>	<i2pk2l$dri$4@dough.gmane.org> <4C5070C0.6090004@bsdforen.de> <i2q7to$dri$6@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28/07/2010 23:36, Marcin Wisnicki wrote:
> On Wed, 28 Jul 2010 20:02:40 +0200, Dominic Fandrey wrote:
> 
>> On 28/07/2010 17:58, Marcin Wisnicki wrote:
>>>
>>> I think you could also detect inconsistent mirror by comparing
>>> modification time of package against mtime of INDEX. If pkg is newer
>>> than INDEX then it's a sign of incomplete sync.
>>
>> True, but if the check does not fail it still doesn't mean that the
>> package is valid. Checking against the master (it will check size and
>> time) is the safest method, I think
> 
> What do you mean by master ? If you think about ftp-master then it's
> password protected. AFAIK there is no publicly available ftp site
> that is an authoritative source, ftp.freebsd.org is synced just like
> any other mirror.
> You can see in my initial post that it was even less up-to-date than
> ftp.fr.freebsd.org.

Well, I never had a download of an INDEXED package fail from one
of the unnumbered servers, so there ought to be something different,
because the remaining mirrors normally only are able to provide
~20% of them.

Any way, in pkg_upgrade terms master is whichever server is chosen
to provide the index. Everything else downloaded will be checked to
be consistent with that one.

It's not about getting the latest packages, but about getting a
consistent set.

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C50ADFE.5030208>