ki0*_*ki0 10 debian packaging deb
我的debian回购中遇到了问题.我删除了一个错误的包:
reprepro -Vb . remove package
Run Code Online (Sandbox Code Playgroud)
这没关系,但是当我尝试使用下一个命令再次添加相同的包时:
reprepro -Vb . includedeb squeeze package
Run Code Online (Sandbox Code Playgroud)
我得到了下一个输出:
Already existing files can only be included again, if they are the same, but:
md5 expected: 1035762e5e21e6ad8689660c0032f42d, got: 77ea3b094fcbfca4110afb5a9af0d2cb
sha1 expected: e41527e49bee98a59b3a5e16fbe856bb15a836bd, got: 5c6b673e5f11f1a80201e76d0fa4ba1d5935f095
sha256 expected: ae795de3b2d62f513b634a00c4bec74c90d2a6f750e5ec0386ee2b7775af39ec, got: 1531b2dd1869214afe58bb526fa8bda70db1bd1ef73d133bde002d42f147a041
size expected: 327748, got: 253398
There have been errors!
Run Code Online (Sandbox Code Playgroud)
任何人都知道如何解决这个问题?我一直在检查代表人,我没有找到解决这种情况的解决方案.
the*_*aul 12
你的第一个命令不应该有效; remove需要您要从中删除该包的分发的代号.
假设这只是一种错误,并且你像删除命令那样"挤压"了删除命令includedeb,你很可能在不同的发行版中仍然拥有相同的包.Reprepro试图强制执行"具有相同名称和完全相同版本的包具有完全相同的内容"的debian理想,无论它们首次发布在哪个发行版中.
您可以reprepro ls $package查看它可能位于何处.一旦找到它,正确的做法就是将reprepro copy它从另一个地方挤回来.
如果您在存档中支持多个发行版,则需要从所有发行版中删除文件引用,然后才能允许将新文件包含在内。
之后reprepro ls您可能希望对reprepro remove {dist} {pkg}引用该文件的每个发行版使用一次。
当所有参考都消失后,您可以创建includedeb一个新参考。
| 归档时间: |
|
| 查看次数: |
13503 次 |
| 最近记录: |