每当我向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时不删除它?
发布于 2022-11-10 21:02:55
reprepro的最后一个版本支持多版本控制https://github.com/ionos-cloud/reprepro。
https://unix.stackexchange.com/questions/698756
复制相似问题