You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go version
bash: /go/pkg/mod/golang.org/toolchain@v0.0.1-go1.21.1.linux-arm64/bin/go: No such file or directory
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
bash: /go/pkg/mod/golang.org/toolchain@v0.0.1-go1.21.1.linux-arm64/bin/go: No such file or directory
What did you do?
I was using go 1.21.0 and updated to 1.21.1 using the new go get go@1.21.1 option to do so. Afterwards I ran go clean -cache -modcache. Now any go command returns the error above complaining about the missing toolcain.
What did you expect to see?
Not sure, probably go using 1.21.0 if the installed toolchain was removed.
What did you see instead?
The go command broke.
The text was updated successfully, but these errors were encountered:
Closing my shell and opening a new one seems to have fixed the issue:
$ go version
go: downloading go1.21.1 (linux/arm64)
go version go1.21.1 linux/arm64
But it is reproducible by running go clean -cache -modcache to trigger the error mentioned above and only closing and reopening a shell seems to allow go to fix the issue itself.
What version of Go are you using (
go version
)?I was using 1.21.0 with toolchain 1.21.1
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?
I was using go 1.21.0 and updated to 1.21.1 using the new
go get go@1.21.1
option to do so. Afterwards I rango clean -cache -modcache
. Now anygo
command returns the error above complaining about the missing toolcain.What did you expect to see?
Not sure, probably
go
using 1.21.0 if the installed toolchain was removed.What did you see instead?
The
go
command broke.The text was updated successfully, but these errors were encountered: