Use MD5 to check packages
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 debian-user-request@lists.debian.org < /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
smpitts@midsouth.rr.com
webmaster - http://www.mschess.org
Reply to: