0

I am trying to set up a Debian repository. The packages in the repo are for architecture all, as none of them contains native code.

In reprepro/conf/distributions, if I set Architectures: all, reprepro throws an error:

Error: Distribution alldist contains an architecture called 'all'.

If instead I set Architectures to a specific architecture (e.g. amd64), install fails on clients with non-matching architectures:

N: Skipping acquire of configured file 'dev/binary-arm64/Packages' as repository 'https://server/apt alldist InRelease' doesn't support architecture 'arm64'

The packages get built on amd64, so if there ever are any native packages, they would be limited to that architecture, while architecture-agnostic packages would still work on any architecture.

How do I populate the Architectures field correctly to reflect that fact?

1 Answer 1

2

While all is legitimate to specify as the architecture for a single Debian package (indicating it is not specific to any architecture), this does not apply to repositories.

reprepro does not recognize all as a valid architecture.

The only workaround is to explicitly list all supported architectures, e.g.:

Architectures: amd64 arm64 

This will still limit the repository to the explicitly named architectures; add any missing architectures as needed.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.