如何在 Reprepro 中设置多个套件?

Gre*_*egB 5 apt reprepro

我想要一个用于稳定和不稳定的 lucid 包的私有 apt 存储库。当我尝试包含 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!
Run Code Online (Sandbox Code Playgroud)

我正在使用这个配置文件。

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
Run Code Online (Sandbox Code Playgroud)

我的配置文件有什么问题?

Nei*_*hew 5

就像错误消息所说的那样,您在两个套件中具有相同的代号,这是不可能的。您必须将第二个称为“清醒不稳定”之类的东西。这类似于官方 repo 对 lucid-updates、lucid-proposed、lucid-backports 等的处理。


Gre*_*egB 1

我从来没有用 reprepro 解决这个问题,但我确实发现了 Freight,它使 debian 存储库管理比 reprepro 容易得多。

https://github.com/rcrowley/freight