# go: github.com/foo/bar@v1.0.0: open /root/go/pkg/mod/cache/download/github.com/foo/bar/@v/v1.0.0.zip: no such file or directory

- **ID:** `go/module-cache-corrupt`
- **Domain:** go
- **Category:** data_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The module cache is corrupted or incomplete, often due to interrupted downloads or manual deletion.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.15 | active | — | — |
| 1.21 | active | — | — |

## Workarounds

1. **** (90% success)
   ```
   go clean -modcache github.com/foo/bar
   ```
2. **** (95% success)
   ```
   rm -rf $(go env GOMODCACHE) && go mod download
   ```

## Dead Ends

- **** — If the cache is corrupted, Go may still use the corrupted entry unless you clean it. (40% fail)
- **** — The hash may not match, causing checksum errors. (80% fail)
