Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
show 1 more comment

1 Answer

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
add comment

Your Answer

 
discard

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.