ERROR This download does NOT match an earlier download recorded in go.sum. The bits may have been replaced on the origin server, or an attacker may have intercepted the download attempt
【产品名称/功能模块】
【问题描述】
- 1.在执行/build_release.sh出现下面的错误 build chainmaker /root/yufei/chainmaker-go... build for linux or mac linverifying github.com/oleiade/reflections@v1.0.0/go.mod: checksum mismatch downloaded: h1:rdFxbxq4QXVZWj0F+e9jqjDkc7dbp97vkRixKo2JR60= go.sum: h1:RbATFBbKYkVdqmSFtx13Bb/tVhR0lgOBXunWTZKeL4w= SECURITY ERROR This download does NOT match an earlier download recorded in go.sum. The bits may have been replaced on the origin server, or an attacker may have intercepted the download attempt. For more information, see 'go help module-auth'. make: *** [Makefile:28: chainmaker] Error 1
-
-
【期望内容/功能改进】
- 1.有没有最新的解决方案,目前试了两种方式:
- 2.go clean -modcache go mod tidy这种方法无效
- 3.删除掉go.mod重新执行还是错误 4.卸载掉go之后重新下载: wget https://go.dev/dl/go1.18.10.linux-amd64.tar.gz
https://studygolang.com/dl/golang/go1.18.10.linux-amd64.tar.gz
wgetsudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.18.10.linux-amd64.tar.gz 还是同样的报错
原文链接:https://blog.csdn.net/y515789/article/details/122478980
【联系方式】(选填)
可填写微信号,或者手机号,方便联系
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information