[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Verifying packages



On Wed, 6 Feb 2002 15:41:26 +1300 (NZDT), Cameron Kerr <cameron.kerr@paradise.net.nz> wrote:

> On Tue, 5 Feb 2002, Cameron Kerr wrote:
> 
> >My question is: Is it possible to verify all of the existing packages on
> >the system so I can tell which packages have now corrupted files?
> 
> Hi, I couldn't find anything to do this, so I made something myself. The
> md5sums for all package files are stored in
> /var/lib/dpkg/info/$PACKAGE.md5sums, and you can run
> 
> md5sum -c /var/lib/dpkg/info/$PACKAGE.md5sums
> 
> to check the static files of a package (not those marked as a conf file, I
> think). The fact that the md5sums are already stored by the dpkg suite
> would indicate that there should already be a tool for doing this. Oh
> well.

There is, "debsums".

-- 
Eric G. Miller <egm2@jps.net>



Reply to: