aptly-dev / aptly

aptly - Debian repository management tool
https://www.aptly.info/
MIT License
2.58k stars 376 forks source link

not working with mirrors containing just sources (dsc) #758

Open manut opened 6 years ago

manut commented 6 years ago

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.

sliverc commented 6 years ago

Do you know a public repository causing this error?

smira commented 6 years ago

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.

smira commented 6 years ago

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").

nE0sIghT commented 4 years ago

This is still issue with 1.4.0

lbolla commented 2 years ago

See comment https://github.com/aptly-dev/aptly/pull/759#issuecomment-1023982151

Let's just improve the documentation.