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

make install fails - checksum mismatch #6056

Closed
reardenlife opened this issue Mar 6, 2019 · 5 comments
Closed

make install fails - checksum mismatch #6056

reardenlife opened this issue Mar 6, 2019 · 5 comments

Comments

@reardenlife
Copy link

Tried to upgrade from v0.4.19-dev to v0.4.19.

[root@v48807 go-ipfs]# pwd
/root/go/src/github.com/ipfs/go-ipfs
[root@v48807 go-ipfs]# git pull
Already up-to-date.
[root@v48807 go-ipfs]# make install
bin/check_go_version 1.11
go install -ldflags="-X "github.com/ipfs/go-ipfs".CurrentCommit=918dcbe" ./cmd/ipfs
go: downloading github.com/gogo/protobuf v1.2.1
go: downloading github.com/fd/go-nat v1.0.0
go: downloading github.com/whyrusleeping/go-notifier v0.0.0-20170827234753-097c5d47330f
go: downloading github.com/btcsuite/btcd v0.0.0-20190213025234-306aecffea32
go: downloading github.com/polydawn/refmt v0.0.0-20190221155625-df39d6c2d992
go: downloading github.com/cenkalti/backoff v2.1.1+incompatible
go: downloading github.com/miekg/dns v1.1.4
go: downloading github.com/jackpal/gateway v1.0.4
go: downloading github.com/huin/goupnp v0.0.0-20180415215157-1395d1447324
go: downloading github.com/whyrusleeping/go-smux-multistream v2.0.2+incompatible
go: downloading github.com/libp2p/go-libp2p-netutil v0.0.1
go: downloading github.com/libp2p/go-libp2p-transport-upgrader v0.0.1
go: downloading github.com/libp2p/go-libp2p-discovery v0.0.1
go: downloading github.com/dgraph-io/badger v1.5.5-0.20190226225317-8115aed38f8f
go: downloading github.com/libp2p/go-conn-security v0.0.1
go: downloading github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72
go: verifying github.com/polydawn/refmt@v0.0.0-20190221155625-df39d6c2d992: checksum mismatch
        downloaded: h1:G16v6hoz+26YUMfvEvUkBKeJeIvsljFH2RRFY3MeXUA=
        go.sum:     h1:bzMe+2coZJYHnhGgVlcQKuRy4FSny4ds8dLQjw5P1XE=
make: *** [cmd/ipfs-install] Error 1
@Kubuxu
Copy link
Member

Kubuxu commented Mar 6, 2019

Can you try running go clean -modcache?

@qiwaa
Copy link
Contributor

qiwaa commented Mar 6, 2019

I encountered the same problem. go clean -modcache didn't work.

go: verifying github.com/polydawn/refmt@v0.0.0-20190221155625-df39d6c2d992: checksum mismatch
        downloaded: h1:G16v6hoz+26YUMfvEvUkBKeJeIvsljFH2RRFY3MeXUA=
        go.sum:     h1:bzMe+2coZJYHnhGgVlcQKuRy4FSny4ds8dLQjw5P1XE=
make: *** [cmd/ipfs/ipfs] Error 1

@reardenlife
Copy link
Author

@Kubuxu

Tried. Same thing.

@Kubuxu
Copy link
Member

Kubuxu commented Mar 6, 2019

Which Go version are you using?
If you are running Go version lower than 1.11.4 please upgrade. It is probably caused by: golang/go#29278

Kubuxu added a commit that referenced this issue Mar 6, 2019
mod.sum generation had a fix in this version which probably is the
reason for #6056

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
@Kubuxu
Copy link
Member

Kubuxu commented Mar 6, 2019

The conclusion is, update to Go 1.11.4 or higher. Closing.

@Kubuxu Kubuxu closed this as completed Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants