Re: debian archive integrity check tool?
Thanks for your replies Simons :)
On Wed, Nov 14, 2007 at 01:48:00PM +0100, Simon Richter wrote:
> Václav Ovsík schrieb:
> >please, is there any utility/script, that can verify integrity of Debian
> >archive? A maintainer of the ftp mirror ftp.linux.cz asks for this in
> >a national mailling list about Linux systems. He needs this for non
> >Debian system.
> The debmirror script has an option to check all MD5 sums when
> determining which files need to be downloaded; this can be used to get
> an existing mirror into a good state in-place (it will take ages
> though), or a temporary mirror could be created (I think the MD5 sum of
> downloaded files is checked always, but I'm not sure about that).
> I think the debmirror script should run on any Linux system.
Yes debmirror is only a perl script, good point.
On Wed, Nov 14, 2007 at 02:13:02PM +0100, Simon Paillard wrote:
> > please, is there any utility/script, that can verify integrity of Debian
> > archive? A maintainer of the ftp mirror ftp.linux.cz asks for this in
> > a national mailling list about Linux systems. He needs this for non
> > Debian system.
> rsync does MD4 integrity checks, so using this (recommanded) method, you
> can ensure of the integrity.
> Obvisouly, it doesn't check the sums with respect to the
> Packages/Release, but if the upstream mirror can be trusted, it's ok.
> BTW, it seems ftp.linux.cz is not referenced in the list of mirrors,
> could you communicate http://debian.org/mirrors/ to the admin ?
> ftp://ftp.linux.cz/pub/linux/debian-non-US/ can be dropped, since it is
> deprecated since the release of sarge.
Thanks for suggestions.
> > I reply him, that it should not be too dificult to generate input for
> > `md5sum -c -' from Release & Packages files using perl and can do it,
> > but I think, that something must exists already.
> > So, is there some utility, that can verify checksums from archive index
> > files (integrity of archive)?
> I follow the discussion on debian-mirrors, the right place to find such
> scripts :)
> Simon Paillard
Ok, I have subscribed into debian-mirror right now. Sorry for off topic.