-
-
Notifications
You must be signed in to change notification settings - Fork 621
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
Unable to Install on Fedora 41 #1284
Comments
I am sorry, I can reproduce it on my side. Can you install any other Go modules? It looks like something related to your system. |
I repeated the installation command and it worked without problems this time. However, the utility is not on the PATH. Tips?
|
It should be in your |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I was unable to install Gosec on its latest version as of this issue is being submitted (2.22.0) on my Fedora 41 box. The installation hanged for some minutes on "oogle.golang.org/grpc v1.67.1", but moved further to the following steps. Then, it threw some kind of traceback and failed.
Steps to reproduce the behavior
go install github.com/securego/gosec/v2/cmd/gosec@latest
gosec version
v2.22.0
Go version (output of 'go version')
go version go1.23.4 linux/amd64
Operating system / Environment
Fedora 41 (kernel 6.12.8-200.fc41.x86_64)
Expected behavior
Gosec to get installed.
Actual behavior
$ go install github.com/securego/gosec/v2/cmd/gosec@latest
go: downloading github.com/securego/gosec/v2 v2.22.0
go: downloading github.com/google/generative-ai-go v0.19.0
go: downloading google.golang.org/api v0.214.0
go: downloading github.com/ccojocar/zxcvbn-go v1.0.2
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/gookit/color v1.5.4
go: downloading golang.org/x/sync v0.10.0
go: downloading github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778
go: downloading google.golang.org/protobuf v1.36.1
go: downloading github.com/googleapis/gax-go/v2 v2.14.0
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576
go: downloading cloud.google.com/go/ai v0.8.0
go: downloading google.golang.org/grpc v1.67.1
go: downloading cloud.google.com/go v0.116.0
go: downloading cloud.google.com/go/longrunning v0.5.7
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697
../../go/pkg/mod/cloud.google.com/go/[email protected]/autogen/longrunningpb/operations.pb.go:29:2: google.golang.org/genproto/googleapis/[email protected]: invalid version: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/mharley/go/pkg/mod/cache/vcs/461a63b9772f509ad6dbec285b16bb3603d20cbf5b324c1b0b97e0527058b46e: exit status 128:
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 914 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
../../go/pkg/mod/cloud.google.com/go/[email protected]/autogen/longrunningpb/operations.pb.go:30:2: reading google.golang.org/grpc/go.mod at revision v1.67.1: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/mharley/go/pkg/mod/cache/vcs/6bc32f050d801af642e55338f0b2959a44689c94c534a4510e457234d980af67: exit status 128:
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 15668 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
../../go/pkg/mod/cloud.google.com/go/[email protected]/autogen/longrunningpb/operations.pb.go:31:2: reading google.golang.org/grpc/go.mod at revision v1.67.1: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/mharley/go/pkg/mod/cache/vcs/6bc32f050d801af642e55338f0b2959a44689c94c534a4510e457234d980af67: exit status 128:
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 15668 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
../../go/pkg/mod/cloud.google.com/go/[email protected]/autogen/longrunningpb/operations.pb.go:32:2: reading google.golang.org/grpc/go.mod at revision v1.67.1: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/mharley/go/pkg/mod/cache/vcs/6bc32f050d801af642e55338f0b2959a44689c94c534a4510e457234d980af67: exit status 128:
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 15668 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
../../go/pkg/mod/github.com/googleapis/gax-go/[email protected]/apierror/internal/proto/error.pb.go:27:2: google.golang.org/genproto/googleapis/[email protected]: invalid version: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/mharley/go/pkg/mod/cache/vcs/461a63b9772f509ad6dbec285b16bb3603d20cbf5b324c1b0b97e0527058b46e: exit status 128:
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 914 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
../../go/pkg/mod/github.com/googleapis/gax-go/[email protected]/apierror/apierror.go:44:2: reading google.golang.org/api/go.mod at revision v0.214.0: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/mharley/go/pkg/mod/cache/vcs/14bb952cc8902e20fb82cb08a9d29b90b010f5d6d0d3737e9cb402b3b57a25b5: exit status 128:
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 2256 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
../../go/pkg/mod/github.com/googleapis/gax-go/[email protected]/apierror/apierror.go:45:2: google.golang.org/genproto/googleapis/[email protected]: invalid version: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/mharley/go/pkg/mod/cache/vcs/461a63b9772f509ad6dbec285b16bb3603d20cbf5b324c1b0b97e0527058b46e: exit status 128:
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 914 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
../../go/pkg/mod/github.com/googleapis/gax-go/[email protected]/header.go:42:2: reading google.golang.org/grpc/go.mod at revision v1.67.1: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/mharley/go/pkg/mod/cache/vcs/6bc32f050d801af642e55338f0b2959a44689c94c534a4510e457234d980af67: exit status 128:
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 15668 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
../../go/pkg/mod/cloud.google.com/go/[email protected]/autogen/auxiliary.go:21:2: reading google.golang.org/api/go.mod at revision v0.214.0: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/mharley/go/pkg/mod/cache/vcs/14bb952cc8902e20fb82cb08a9d29b90b010f5d6d0d3737e9cb402b3b57a25b5: exit status 128:
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 2256 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
../../go/pkg/mod/cloud.google.com/go/[email protected]/autogen/doc.go:95:2: reading google.golang.org/api/go.mod at revision v0.214.0: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/mharley/go/pkg/mod/cache/vcs/14bb952cc8902e20fb82cb08a9d29b90b010f5d6d0d3737e9cb402b3b57a25b5: exit status 128:
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 2256 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
../../go/pkg/mod/cloud.google.com/go/[email protected]/autogen/operations_client.go:34:2: reading google.golang.org/api/go.mod at revision v0.214.0: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/mharley/go/pkg/mod/cache/vcs/14bb952cc8902e20fb82cb08a9d29b90b010f5d6d0d3737e9cb402b3b57a25b5: exit status 128:
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 2256 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
../../go/pkg/mod/cloud.google.com/go/[email protected]/autogen/operations_client.go:35:2: reading google.golang.org/api/go.mod at revision v0.214.0: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/mharley/go/pkg/mod/cache/vcs/14bb952cc8902e20fb82cb08a9d29b90b010f5d6d0d3737e9cb402b3b57a25b5: exit status 128:
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 2256 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
../../go/pkg/mod/cloud.google.com/go/[email protected]/autogen/operations_client.go:36:2: reading google.golang.org/api/go.mod at revision v0.214.0: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/mharley/go/pkg/mod/cache/vcs/14bb952cc8902e20fb82cb08a9d29b90b010f5d6d0d3737e9cb402b3b57a25b5: exit status 128:
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 2256 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
The text was updated successfully, but these errors were encountered: