`Packages` isn't guaranteed to be there, you might only have `Packages.gz` which would need gunzipping before reading.