Deprecated: this program may be removed in a later release, see the debsums --generate option.
Note that this is not optimal. It is best if the md5sums are generated when the maintainer builds the package. At the time that the system administrator gets around to run this tool something might already have happened to the files in the package. It is recommended to run this tool as soon as possible after an upgrade or package installation in order to keep a full set of checksums for all files installed.
When run with no options, debsums will check all installed packages for an md5sums list. If one is not present, it will generate one for it from the existing file list in /var/lib/dpkg/info. You may also specify package name(s) on the command line to generate just those md5sum files. The -f option will force overwriting the current md5sums file for the listed package(s).
debsums_gen needs to be invoked as superuser.