-2

I ran

go get -u github.com/ipfs/ipfs-update

and got in the end of what it looks like an installation going on the following

go get: installing executables with 'go get' in module mode is deprecated.

Use 'go install pkg@version' instead.

For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.

github.com/ipfs/ipfs-update

go/pkg/mod/github.com/ipfs/ipfs-update@v1.7.1/main.go:318:21: cannot use lib.NewIpfsFetcher(distPath, 0) (type *lib.IpfsFetcher) as type migrations.Fetcher in argument to migrations.NewMultiFetcher:

*lib.IpfsFetcher does not implement migrations.Fetcher (missing Close method)

enter image description here

Then, used

ipfs-update versions

but didn't see the latest version.

Tiago Martins Peres
  • 14,289
  • 18
  • 86
  • 145
  • 1
    I’m voting to close this question because as I've learned recently in Meta, it is better suited for the DevOps community - https://devops.stackexchange.com/q/15181/20375 – Tiago Martins Peres Dec 27 '21 at 15:46

1 Answers1

2

To get that working I've used instead

go install github.com/ipfs/ipfs-update@latest

Then once running

ipfs-update versions

I got

enter image description here

Then could simply run

ipfs-update install v0.11.0

enter image description here

Tiago Martins Peres
  • 14,289
  • 18
  • 86
  • 145