人工信任库已损坏

时间:2018-07-19 06:06:22

标签: artifactory bintray

jfrog的可信任存储库中var deleteList = ExistingItems.Where(ei => !NewItemList.Any(ni => ni.ID == ei.ID )); var updateList = ExistingItems.Where(ei => NewItemList.Any(ni => ni.ID == ei.ID )); var addList = NewItemList.Where(ni => !ExistingItems.Any(ei => ei.ID == ni.ID )); 文件中用于工件的校验和与软件包不匹配。这会导致镜像和安装失败。检查2018年7月19日0606 UTC

Packages.bz2

编辑:

正如Royg所指出的那样,为了跟踪Bintray的重定向,我错过了$ curl -s https://jfrog.bintray.com/artifactory- debs/dists/trusty/main/binary-amd64/Packages.bz2|bzcat|grep -A2 -F jfrog-artifactory-oss-6.1.0.deb Filename: pool/main/j/jfrog-artifactory-oss-deb/jfrog-artifactory-oss-6.1.0.deb SHA1: dfe6d0cce9c3ca946d27b8dd1cf080e0ef6b9818 SHA256: c88e6f2f183426721ce3273642e0df00abce2150c7ca67afe1a69b175e9775f6 $ curl -s https://jfrog.bintray.com/artifactory-debs/pool/main/j/jfrog-artifactory-oss-deb/jfrog-artifactory-oss-6.1.0.deb | sha1sum da39a3ee5e6b4b0d3255bfef95601890afd80709 - $ curl -s https://jfrog.bintray.com/artifactory-debs/pool/main/j/jfrog-artifactory-oss-deb/jfrog-artifactory-oss-6.1.0.deb | sha256sum e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 - 的{​​{1}}标志。但是,这随后暴露了版本4.3.1的软件包存在的问题:

-L

1 个答案:

答案 0 :(得分:0)

卷曲-L--location中缺少重定向选项。

如果使用curl-v对工件进行--verbose命令,您会看到Bintray将您重定向到离您最近的CDN。这意味着您sha1sumsha256sum在空工件上,这就是为什么校验和不匹配的原因。

$ curl https://jfrog.bintray.com/artifactory-debs/pool/main/j/jfrog-artifactory-oss-deb/jfrog-artifactory-oss-6.1.0.deb -vL | sha1sum dfe6d0cce9c3ca946d27b8dd1cf080e0ef6b9818 - $ curl https://jfrog.bintray.com/artifactory-debs/pool/main/j/jfrog-artifactory-oss-deb/jfrog-artifactory-oss-6.1.0.deb -vL | sha256sum c88e6f2f183426721ce3273642e0df00abce2150c7ca67afe1a69b175e9775f6 -