每当我将新版本添加到 reprepro 存储库时,它会默认忘记并删除旧包。我想保留它,所以我使用--keepunreferencedfiles
配置:
$ reprepro --keepunreferencedfiles includedeb stable /path/to/jjdns_0_4.5_amd64.deb
jjdns_0.4.5_amd64.deb: component guessed as 'main'
Exporting indices...
1 files lost their last reference.
(dumpunreferenced lists such files, use deleteunreferenced to delete them.)
现在我已经在存储库中jjdns_0.4.5
引用了jjdns_0.4.4
,但不在索引中:
$ grep -A1 "Package: jjdns" dists/stable/main/binary-amd64/Packages
Package: jjdns
Version: 0.4.5
问题:如何添加0.4.4
回索引?或者,更好的是,上传时不要删除它0.4.5
?
答案1
reprepro 的最新版本支持多版本 https://github.com/ionos-cloud/reprepro