This file is indexed.

/usr/sbin/debsums_gen is in debsums 2.0.51.

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
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#! /bin/sh
# Generate Checksums
# Christoph Lameter <clameter@debian.org> October 19, 1997
#
# Modified January 30, 1999 by Ben Collins - added ability to generate
# md5sums for specified packages on command line. Also added -l option for
# listing packages with no md5sums file, and a -f option for overwriting
# the md5sums file on listed packages

cd /

if [ "$1" = "-l" ]
then
    echo "Checking for packages without md5sums list "
    for i in /var/lib/dpkg/info/*.list
    do
	PACKAGE="`expr $i : '/var/lib/dpkg/info/\(.*\)\.list'`"
	if [ ! -f /var/lib/dpkg/info/$PACKAGE.md5sums ]
	then
	    echo -n "$PACKAGE "
	fi
    done
    echo
    echo done.
    exit 0
fi

FORCE=""
if [ "$1" = "-f" ]
then
    FORCE="(forcing) "
    shift
fi

if [ "$1" ]
then
    echo -n "${FORCE}Generating md5sums for "
    for i in $*
    do
	if [ -s /var/lib/dpkg/info/$i.list ]
	then
	    if [ ! -f /var/lib/dpkg/info/$i.md5sums ] || [ -n "$FORCE" ]
	    then
		md5sum `cat /var/lib/dpkg/info/$i.list` >/var/lib/dpkg/info/$i.md5sums 2>/dev/null
		echo -n "$i "
	    else
		echo -n "($i.md5sums exists)"
	    fi
	else
	    echo -n "($i.list does not exist) "
	fi
    done
else
    echo -n "Generating md5sums for "
    for i in /var/lib/dpkg/info/*.list
    do
	PACKAGE="`expr $i : '/var/lib/dpkg/info/\(.*\)\.list'`"

	if [ ! -f /var/lib/dpkg/info/$PACKAGE.md5sums ] && [ -s $i ]
	then
	# Package list includes directories. So just ignore md5sums
	# errormessages on those
	    md5sum `cat $i` >/var/lib/dpkg/info/$PACKAGE.md5sums 2>/dev/null
	    echo -n "$PACKAGE "
	fi
    done
fi

echo
echo "Done."