我正在尝试从本地 Debian 存储库中删除一个软件包。reprepro list
显示它,但reprepro remove
说找不到它。该文件存在于backup
目录中但不在pool
目录中。我猜这意味着它实际上不存在?
$ reprepro -b /opt/debrepo list qa
qa|beats|amd64: beats-blt 1.2.1-rc1
$ reprepro -b /opt/debrepo remove qa beats-blt
Exporting indices...
Not removed as not found: beats-blt
$ reprepro -b /opt/debrepo remove qa beats-blt_1.2.1-rc1
Exporting indices...
Not removed as not found: beats-blt_1.2.1-rc1
答案1
我遇到了类似的问题,只是 list 命令也没有看到它,但当我尝试添加它时,include 命令认为它仍然存在。这为我解决了这个问题:
reprepro deleteunreferenced