Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I started setting up a deb repository today for some of our applications. Given that they are interpreted scripts, I went with "all" architecture (from conf/distributions):

Codename: lucid
Architectures: all

But reprepro will print a warning when I try to add a .deb to the repository:

WARNING: Distribution lucid contains an architecture called 'all'.

Now I wonder why it warns about that? What's the problem?

share|improve this question
I don't know why it does that, but try removing the "Architectures" line. Does it work that way? – Eduardo Ivanec Jun 10 '11 at 14:04
@Eduardo That results in Required field 'Architectures' expected (since line 1). I also checked the source of reprepro. It explicitly checks for "all". But there is no comment in the source about thre reason either :( – Oliver Salzburg Jun 10 '11 at 14:05
Does it add the .deb anyway when it gives you the "all" error? It's only a warning, so I guess it should. Try using "amd64 all" instead to see if it only gives you a warning because it's the only one present. – Eduardo Ivanec Jun 10 '11 at 14:09
@Eduardo No it doesn't create anything for "all". Also the "Packages" files for other architectures (like amd64) are created empty. – Oliver Salzburg Jun 10 '11 at 14:18
It sounds like a bug reports would be adequate. Does the tool have a --verbose switch you could use? – Eduardo Ivanec Jun 10 '11 at 14:28

Ah ha! I finally just figured it out. This has been frustrating me for ages now.

If you specify your .deb (control file) as Architecture: all, then don't put anything into the reprepro distributions file other than the arch's that you want it to get put into.

Architectures: amd64 i386 ...

share|improve this answer
Had to figure that out too. The all packages are then available in all the architectures defined in conf/distributions. – ortang Jan 19 at 17:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.