Skip to content

x/telemetry: go install / go run fails for golang.org/x/telemetry/cmd/gotelemetry@latest: "no matching versions for query "latest"" #63825

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

Closed
pofl opened this issue Oct 30, 2023 · 1 comment
Labels
FrozenDueToAge telemetry x/telemetry issues
Milestone

Comments

@pofl
Copy link

pofl commented Oct 30, 2023

What version of Go are you using (go version)?

$ go version
go version go1.21.3 linux/amd64

Does this issue reproduce with the latest release?

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/pofl/.cache/go-build'
GOENV='/home/pofl/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/pofl/go/pkg/mod'
GONOPROXY=''
GONOSUMDB='github.com/staffbase/*'
GOOS='linux'
GOPATH='/home/pofl/go'
GOPRIVATE=''
GOPROXY='https://[email protected]:[email protected]/artifactory/api/go/sb-go'
GOROOT='/home/linuxbrew/.linuxbrew/Cellar/go/1.21.3/libexec'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/home/linuxbrew/.linuxbrew/Cellar/go/1.21.3/libexec/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.3'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/pofl/analytics-service/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2312798008=/tmp/go-build -gno-record-gcc-switches'

What did you do?

$ go run golang.org/x/telemetry/cmd/gotelemetry@latest on
go: golang.org/x/telemetry/cmd/gotelemetry@latest: no matching versions for query "latest"
$ go install golang.org/x/telemetry/cmd/gotelemetry@latest
go: golang.org/x/telemetry/cmd/gotelemetry@latest: no matching versions for query "latest"

What did you expect to see?

That the documented commands work. go run is documented here. go install is documented here.

What did you see instead?

The above outputs. One thought: Could this error be caused by the fact that I'm using a GOPROXY? 🤔

@gopherbot gopherbot added the telemetry x/telemetry issues label Oct 30, 2023
@gopherbot gopherbot added this to the Unreleased milestone Oct 30, 2023
@pofl
Copy link
Author

pofl commented Oct 30, 2023

Lol yes. I kinda answered the question myself. go run golang.org/x/telemetry/cmd/gotelemetry@latest on works after I unset GOPROXY.

@pofl pofl closed this as completed Oct 30, 2023
@golang golang locked and limited conversation to collaborators Oct 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge telemetry x/telemetry issues
Projects
None yet
Development

No branches or pull requests

2 participants