Peter Clark <peter-clark at bethel.edu>  wrote:
> Hey Debian people, is there some way to quickly check the integrity of
> a ll the packages installed on a box and reinstalling those packages
> that have missing or corrupted files?

Debian packages are installed with md5sums in the
/var/lib/dpkg/info/<package>.md5sums file.  If you want to check a
package, change to root (cd /) and run md5sum -c
/var/lib/dpkg/info/<package>.md5sums.

There may be "helper tools" written to make this automated, but it's
simple enough to go through with a shell script:

	#/bin/sh -e
	# Check md5sums for each package, exit when error found
	cd /
	for sums in /var/lib/dpkg/info/*.md5sums
	do
		md5sum -c $sums | $PAGER
	done


-- 
Chad Walstrom <chewie at wookimus.net>                 | a.k.a. ^chewie
http://www.wookimus.net/                            | s.k.a. gunnarr