----- Original Message ----- From: "Xavier Bestel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 28, 2002 7:25 PM Subject: how to verify installed packages ?
> Is there a command to verify the integrity of installed packages ? I > want something similar to the rpm --verify command (it verifies the > size, MD5 sum, permissions, type, owner and group of each file), but > couldn't find ti in the docs (and what tool to use ? dpkg, dselect, > apt-get ?). > > Thanks, > Xav I googled for "verify installed packages +debian" and it came up with with this package "debsums": "debsums can verify the integrity of installed package files against MD5 checksums installed by the package, or generated from a .deb archive." Do an "apt-cache show debsums" to see if it's exactely what you are looking for Also, check the debian reference guide. (slowly turning into the debian bible :-) http://www.debian.org/doc/user-manuals#quick-reference http://qref.sourceforge.net/ ======================= snip ====================== 6.3.14 Verify installed package files debsums enables verification of installed package files against MD5 checksums. Some packages do not have available MD5 checksums. A possible temporary fix for sysadmins: # cat >>/etc/apt/apt.conf.d/90debsums DPkg::Post-Install-Pkgs {"xargs /usr/bin/debsums -sg";}; ^D per Joerg Wendland <[EMAIL PROTECTED]> (untested). ======================= snip ====================== -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]