Issue a real error message if no contents database is available for the suite
in question.
This isn't exposed on the Debian site since we actually have _some_ contents
for every suite (experimental has contents for debian-ports.org). But on
the Ubuntu site we have no information at all for *-backports and *-updates.
(cherry picked from commit
3eda9fe5cb2a6fe0fc67493c2147d8a3ff2d904d)
# full filename search is tricky
my $ffn = $mode eq 'filename';
+ unless (-e "$DBDIR/contents/reverse_$suite.db") {
+ fatal_error($cat->g("No contents information available for this suite"));
+ return;
+ }
my $reverses = tie my %reverses, 'DB_File', "$DBDIR/contents/reverse_$suite.db",
O_RDONLY, 0666, $DB_BTREE
or die "Failed opening reverse DB: $!";