cmd/go: 'go list -m -u' fails when latest version is retracted #53594
Labels
FrozenDueToAge
GoCommand
cmd/go
NeedsFix
The path to resolution is known, but the work has not been done.
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?
example.com/m
, at the highest release version, sayv1.2.0
, which is retracted.go list -m -u example.com/m
What did you expect to see?
go list -m -u
should report the module path and current version and note that the current version is retracted. It should not report an update.What did you see instead?
go list -m -u
exits with a non-zero status and prints an error about the retraction.The text was updated successfully, but these errors were encountered: