Can dpkg verify files from an installed package?
I don’t thinks so, in Ubuntu md5 checksums are only stored for certain files. For any given package the list of files that have checksums can be found in /var/lib/dpkg/info/<package>.md5sums e.g /var/lib/dpkg/info/openssh-server.md5sums These generally don’t contain a complete list of the files that have been installed by a package e.g. openssh-server.md5sums bb5096cf79a43b479a179c770eae86d8 usr/lib/openssh/sftp-server 42da5b1c2de18ec8ef4f20079a601f28 usr/sbin/sshd …