ipfs-update 没有显示预期的版本列表

ipfs-update isn't showing the expected version list

我运行

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

并完成了接下来的安装过程

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)

然后,用

ipfs-update versions

但是没有看到最新的版本。

为了让它正常工作,我改用了

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

然后一次运行宁

ipfs-update versions

我得到了

然后就可以运行

ipfs-update install v0.11.0