Skip to content
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

Checksum mismatch for operator-sdk during make install #709

Closed
pavolloffay opened this issue Oct 18, 2019 · 6 comments
Closed

Checksum mismatch for operator-sdk during make install #709

pavolloffay opened this issue Oct 18, 2019 · 6 comments
Labels
bug Something isn't working

Comments

@pavolloffay
Copy link
Member

pavolloffay commented Oct 18, 2019

Also reported in #705 (comment)

make install                                                                                                                                                     2:24 
go: downloading github.com/operator-framework/operator-sdk v0.11.0
verifying github.com/operator-framework/[email protected]: checksum mismatch
	downloaded: h1:tQumPT2UjD6uhggfAerRbPt+rWOPKC80DmgKUEqeGYo=
	go.sum:     h1:If0MefBJjPGYAW6Os6azpTMoaFtsSlXRlQctF23/ORs=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.
go: downloading github.com/operator-framework/operator-sdk v0.11.0
verifying github.com/operator-framework/[email protected]: checksum mismatch
	downloaded: h1:tQumPT2UjD6uhggfAerRbPt+rWOPKC80DmgKUEqeGYo=
	go.sum:     h1:If0MefBJjPGYAW6Os6azpTMoaFtsSlXRlQctF23/ORs=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.
Installing SDK v0.11.0
go: finding golang.org/x/lint latest
go: finding github.com/securego/gosec latest
go: finding golang.org/x/tools latest
go: finding github.com/nbutton23/zxcvbn-go latest
Building vendor...
go: downloading github.com/operator-framework/operator-sdk v0.11.0
go: downloading golang.org/x/sys v0.0.0-20190922100055-0a153f010e69
go: downloading golang.org/x/net v0.0.0-20190923162816-aa69164e4478
go: downloading sigs.k8s.io/controller-tools v0.2.1
verifying github.com/operator-framework/[email protected]: checksum mismatch
	downloaded: h1:tQumPT2UjD6uhggfAerRbPt+rWOPKC80DmgKUEqeGYo=
	go.sum:     h1:If0MefBJjPGYAW6Os6azpTMoaFtsSlXRlQctF23/ORs=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.
make: *** [Makefile:36: vendor] Error 1
@pavolloffay pavolloffay added the bug Something isn't working label Oct 18, 2019
@pavolloffay
Copy link
Member Author

Before running make install I have removed vendor directory and rm -rf ~/projects/golang/pkg/mod/github.com/operator-framework

@pavolloffay
Copy link
Member Author

Removing rm -rf ~/projects/golang/bin/operator-sdk didn't help either.

@pavolloffay
Copy link
Member Author

Removing github.com/operator-framework/operator-sdk v0.11.0 h1:If0MefBJjPGYAW6Os6azpTMoaFtsSlXRlQctF23/ORs= from go.sum helped but now I got

go: downloading github.com/operator-framework/operator-sdk v0.11.0
go: downloading golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392
go: extracting golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392
go: extracting github.com/operator-framework/operator-sdk v0.11.0
go: downloading k8s.io/kube-state-metrics v1.7.2
go: downloading github.com/coreos/prometheus-operator v0.31.1
go: downloading k8s.io/apiextensions-apiserver v0.0.0-20190409022649-727a075fdec8
go: downloading github.com/gophercloud/gophercloud v0.2.0
go: downloading github.com/gobuffalo/envy v1.7.0
go: downloading github.com/gobuffalo/flect v0.1.5
go: extracting github.com/gobuffalo/envy v1.7.0
go: extracting k8s.io/kube-state-metrics v1.7.2
go: extracting k8s.io/apiextensions-apiserver v0.0.0-20190409022649-727a075fdec8
go: extracting github.com/gobuffalo/flect v0.1.5
go: downloading google.golang.org/api v0.3.2
go: extracting github.com/gophercloud/gophercloud v0.2.0
go: extracting github.com/coreos/prometheus-operator v0.31.1
go: extracting google.golang.org/api v0.3.2
Installing SDK v0.11.0
go: finding golang.org/x/lint latest
go: finding github.com/securego/gosec latest
go: finding golang.org/x/tools latest
go: finding github.com/nbutton23/zxcvbn-go latest
Building vendor...
go: downloading sigs.k8s.io/controller-tools v0.2.1
go: extracting sigs.k8s.io/controller-tools v0.2.1
github.com/jaegertracing/jaeger-operator imports
	sigs.k8s.io/controller-tools/pkg/crd/generator: module sigs.k8s.io/controller-tools@latest (v0.2.1) found, but does not contain package sigs.k8s.io/controller-tools/pkg/crd/generator
make: *** [Makefile:36: vendor] Error

@pavolloffay
Copy link
Member Author

This was related to using go 1.13.x. Going back to go 1.12.x worked.

@smiklosovic
Copy link

@pavolloffay I am getting the very same error. I do not have a clue how to solve it.

I upgraded from 0.10.0 to 0.11.0.

@pavolloffay
Copy link
Member Author

@smiklosovic just use the same golang version as the Jaeger operator uses. If that does not help try to clean cached vendor or golang/src (not sure if this helps though).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants