7

I want a private apt repository for stable and unstable lucid packages. I keep getting an error when I try to include a debian.

Multiple distributions with the common codename: 'lucid'!
First was in ./conf/distributions line 1 to 8, another in lines 10 to 17There have been errors!

I'm using this config file.

Origin: Stable Repository
Label: Stable Repository
Suite: stable
Codename: lucid
Architectures: i386 amd64
Components: main non-free
Description: Stable Repository
SignWith: yes

Origin: Unstable Repository
Label: Unstable Repository
Suite: unstable
Codename: lucid
Architectures: i386 amd64
Components: main non-free
Description: Unstable Repository
SignWith: yes

What's wrong with my config file?

2 Answers 2

6

Like the error message says, you have the same codename in both suites, which isn't possible. You would have to call the second one something like "lucid-unstable". This is similar to what the official repo does with lucid-updates, lucid-proposed, lucid-backports, etc.

1

I never figured this out with reprepro, but I did discover Freight, which makes debian repository management much easier than with reprepro.

https://github.com/rcrowley/freight

1
  • 1
    freight does not support suite tag in metadata which I also was looking for. Even years later freight still does not support removing or copying deps so we still use reprepo Jun 27, 2019 at 14:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .