-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: toolchain downloads fails with verifying module: invalid GOSUMDB: malformed verifier id
#68782
Comments
It seemed that my environment was wrong. My setting was It was not very obvious what caused this issue and the doc is hidden, improving documentation on this parameter would be great. |
it seems quite obvious, the error mentioned that GOSUMDB was invalid |
I think it would have been obvious if it mentioned |
Go version
go version go1.22.6 linux/amd64
Output of
go env
in your module/workspace:What did you do?
I've tried to run the
go
command, but as soon as it executes it tries to download the toolchain and fails. I could work around this issue by upgrading to1.22.6
, but this just skips downloading a toolchain. When settingGOTOOLCHAIN=1.21.9
I am still getting this error.This issue blocks a lot scripts because it happens also on
go
calls without invoking subcommands, often blocking setups in.bashrc
&.zshrc
files.What did you see happen?
Run go command fails
Run with strace
Execute from home dir without any go.mod
What did you expect to see?
A successful build.
I am happy to help with debugging and thankful for any pointers.
The text was updated successfully, but these errors were encountered: