Open manut opened 6 years ago
Do you know a public repository causing this error?
Based on #759 I would imagine this repository has non-empty Architectures:
in Release
file while no actual indexes per architecture (which is imho problem with the repo).
For a long time we had an option to override the checks via -force-architectures
and similar fixes for inconsistency between Architectures:
and repo contents.
So what I'm going to: is it possible to implement same thing by simply enforcing empty list of architectures (probably requires some change to aptly, as empty list today means "everything that repo has").
This is still issue with 1.4.0
See comment https://github.com/aptly-dev/aptly/pull/759#issuecomment-1023982151
Let's just improve the documentation.
If a mirror just contains source packages, aptly is not able to update it.
aptly always expects that there are binary packages on the mirror.