{
  "id": "go/module-cache-corruption",
  "signature": "go: github.com/example/lib@v0.2.5: verifying module: checksum mismatch",
  "signature_zh": "go: github.com/example/lib@v0.2.5: 验证模块：校验和不匹配",
  "regex": "go:\\ github\\.com/example/lib@v0\\.2\\.5:\\ verifying\\ module:\\ checksum\\ mismatch",
  "domain": "go",
  "category": "module_error",
  "subcategory": null,
  "root_cause": "Local module cache corruption or go.sum file tampering causing checksum mismatch.",
  "root_cause_type": "generic",
  "root_cause_zh": "本地模块缓存损坏，或go.sum文件被篡改，导致校验和不一致。",
  "versions": [
    {
      "version": "1.16",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.17",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "手动删除go.sum文件",
      "why_fails": "go.sum是必需的，删除后go mod verify会重新生成，但可能仍然不匹配。",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "复制其他项目的go.sum文件",
      "why_fails": "go.sum依赖于特定版本和依赖树，复制会导致更多错误。",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "清除模块缓存并重新下载",
      "success_rate": 0.8,
      "how": "go clean -modcache\ncd $GOPATH/pkg/mod && rm -rf github.com/example/lib@v0.2.5\ngo mod download",
      "condition": "",
      "sources": []
    },
    {
      "action": "使用GONOSUMCHECK绕过校验",
      "success_rate": 0.5,
      "how": "export GONOSUMCHECK=github.com/example/lib\ngo mod download",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-07-11",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}