代码之家  ›  专栏  ›  技术社区  ›  Tiago Peres damanpreet singh

ipfs更新未显示预期的版本列表

  •  0
  • Tiago Peres damanpreet singh  · 技术社区  · 3 年前

    我跑了

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

    最后,它看起来像是一个正在进行的安装

    go-get:不赞成在模块模式下使用“go-get”安装可执行文件。

    使用“go install”pkg@version相反

    有关更多信息,请参阅 https://golang.org/doc/go-get-install-deprecation 或者运行“go help get”或“go help install”。

    github.com/ipfs/ipfs-update

    转到/pkg/mod/github.com/ipfs/ipfs-update@v1.7.1/main.go:318:21:无法使用lib。NewIpfsFetcher(distPath,0)(类型*lib.IpfsFetcher)作为类型迁移。迁移参数中的获取器。新建MultiFetcher:

    *lib。IpfsFetcher不实现迁移。Fetcher(缺少Close方法)

    enter image description here

    然后,使用

    ipfs-update versions
    

    但没有看到最新版本。

    1 回复  |  直到 3 年前
        1
  •  2
  •   Tiago Peres damanpreet singh    3 年前

    为了让它发挥作用,我用了

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

    然后一旦运行

    ipfs-update versions
    

    我得到了

    enter image description here

    然后可以简单地运行

    ipfs-update install v0.11.0
    

    enter image description here

    推荐文章