Re: Use MD5 to check packages

1999-06-19 Thread Martin Bialasinski

 BC == Ben Collins [EMAIL PROTECTED] writes:

BC Or you could install the debsums package which will also let you create
BC .md5sum files for packages that don't have them. 

How do you do that? There is nothing in the manpage or in
/usr/doc/debsums about this.

Ciao,
Martin


Use MD5 to check packages

1999-06-18 Thread Stephen Pitts
On Fri, Jun 18, 1999 at 09:20:41AM -0400, Jesse G Warford wrote:
 How do I ask dpkg to display the file sizes of files in a package ?
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

As others have mentioned, dpkg doesn't keep track of file sizes.
Another method of verifying the integrity of a binary is to use md5. For
the uninitiated, md5 generates a checksum unique to a specific file. It
is possible to modify the binary without changing the file size :-). 

The only caveat is that about half of the packages I have installed 
actually contain md5 information. For those that do, you can check very
easily, by doing cd /; md5sum -cv /var/lib/dpkg/info/package-name.md5sums

Anyone know why more packages don't have MD5 sums?
-- 
Stephen Pitts
[EMAIL PROTECTED]
webmaster - http://www.mschess.org


Re: Use MD5 to check packages

1999-06-18 Thread Ben Collins
On Fri, Jun 18, 1999 at 09:43:18AM -0500, Stephen Pitts wrote:
 The only caveat is that about half of the packages I have installed 
 actually contain md5 information. For those that do, you can check very
 easily, by doing cd /; md5sum -cv /var/lib/dpkg/info/package-name.md5sums

Or you could install the debsums package which will also let you create
.md5sum files for packages that don't have them. Only problem with debsums
is it does not follow diversion right now.