/usr/lib/cruft/explain/DIVERSIONS is in cruft-common 0.9.34.
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 | #!/usr/bin/perl
open(DIVERT, "/var/lib/dpkg/diversions" ) || die( "Couldn't open diversions info\n");
$x = 0;
while(<DIVERT>) {
if ($x % 3 == 1) {
chomp;
print $_."\n" or die $! if -e $_; # a diversion doesn't necessarily need to be active
}
$x++;
}
close STDOUT or die $!;
|