Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #1112

Closed
Open
Opened Jul 02, 2024 by yufei wang@feifei

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

wget https://studygolang.com/dl/golang/go1.18.10.linux-amd64.tar.gz

sudo 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
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#1112

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。