On Tue, Jul 07, 2009 at 12:43:34PM +1000, John Ferlito wrote: > On Tue, Jul 07, 2009 at 12:34:51PM +1000, Peter Miller wrote: > > Debian packaging question. > > > > I seem to recall there is a tool to compare on-disk installed files with > > their original in-the-.deb checksums. My google foo is failing me (or > > it could be the cold I'm bubbling through). > > > > Follow up: I actually want to supply a different /etc/apt/sources.list > > and verify against that (network usually vs cdrom spot checks). Does > > tools already exist? > > The tool you want is debsums. Although it only compares against the > files in /var/lib/dpkg/info/*.md5sums > > So it is really telling you if someone changed the local file. Not if > it's the same as upstream.
Also if you have the original debs lying around that where used to install the packages then you can use debsig-verify to check if they are authentic. Cheers, John -- John Blog http://www.inodes.org/blog OLPC Friends http://olpcfriends.org _______________________________________________ coders mailing list coders@slug.org.au http://lists.slug.org.au/listinfo/coders