/usr/sbin/debsums_init is in debsums 2.0.53.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh -e
# Copyright (C) 2007 Osamu Aoki <osamu@debian.org>, Public Domain
# Find out missing *.md5sum and add it to the list
cd /var/lib/dpkg/info
for package in $(debsums --list-missing); do
echo "checking $package"
if [ ! -e $package.md5sums ]; then
echo "******* $package.md5sums missing *******"
apt-get --download-only --reinstall --yes install $package || true
debsums --generate=nocheck -p /var/cache/apt/archives $package || true
fi
done
echo "Finished generating md5sums!"
echo "Checking still missing md5files..."
debsums --list-missing
|