Ensure Debian repositories don't server Packages.gz as plain files
While testing !108492 (merged) with aptly
, I found out that older versions of aptly
(0.9.7-1, from Debian 9 stretch oldoldstable) always tries to get
compressed versions of Packages
indices, even when not present in the Release
file.
While newer versions of aptly
don't have this problem, we should still fix this to return 404 for compressed indices (as we don't support them - yet).
Note to the reviewers: I couldn't fix this using format
and other ruby-grape options. Help appreciated