cmd/go: checksum mismatch lacks resolution information #33665
Labels
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Ran
go mod tidy
What did you expect to see?
Instructions for investigating the cause and potential resolution of a checksum mismatch.
What did you see instead?
This information, while correct, is not very informative for most users. It tells them the problem but doesn't indicate how they can resolve it. Their build will not progress until they resolve the problem.
go help module-auth
provides very detailed information on the operation of the module checksum mechanism but doesn't help the typical user get their build working.In my case
go clean -modcache
solved my problem although I am left with the feeling that I just did the module analog of "switching it off and on again".The message would be more informative if it told me where the downloaded code is and how I can cross reference that with the code the checksum server saw.
The text was updated successfully, but these errors were encountered: