【问题标题】:Indy-node installation fails on Ubuntu在 Ubuntu 上安装 Indy-node 失败
【发布时间】:2020-04-03 11:56:24
【问题描述】:

我正在尝试在新的 Ubuntu 18.04 机器上安装 indy-node,以创建一个具有 4 个节点的小型网络。

关注installation instructions 时出现以下错误:

localhost:~$ sudo apt-get install indy-node

The following packages have unmet dependencies:
 indy-node : Depends: indy-plenum (= 1.12.2) but it is not going to be installed
             Depends: libsodium18 but it is not installable
E: Unable to correct problems, you have held broken packages.

我尝试安装libsodium18,但出现以下错误:

Package libsodium18 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libsodium18' has no installation candidate

同样,尝试安装 indy-plenum 时会出现一堆“未满足的依赖关系”错误。

**注意:* 这一切都发生在以下 repo 中:

sudo bash -c 'echo "deb https://repo.sovrin.org/deb xenial stable" >> /etc/apt/sources.list'

当我尝试为仿生而不是 xenial 添加包时,我收到以下错误:

repository 'https://repo.sovrin.org/deb bionic InRelease' doesn't have the component 'stable'

我也尝试通过 python + pip 安装 indy-node,但这似乎也不起作用。

有没有人成功安装过 indy-node,如果有,可以分享一下秘诀吗?

【问题讨论】:

    标签: hyperledger hyperledger-indy


    【解决方案1】:

    我们使用 Ubuntu 18.04 为 Indy-Node 生成了 Docker 映像,但必须从源代码构建 libsodium。尽管有 git URL 被构建脚本替换,但您可以在此处查看源 dockerfile:https://github.com/PSPC-SPAC-buyandsell/von-image/blob/master/node-1.9/Dockerfile.ubuntu

    最后的图片在https://hub.docker.com/r/bcgovimages/von-image/tags(node-*图片,最新的是bcgovimages/von-image:node-1.12-2

    我相信 Indy-Node 团队很快就会将用于测试的图像更新到 20.04。

    【讨论】:

    • 谢谢 Andrew,我会检查这些图片。
    • 我知道这条评论很旧,但我认为来自 VON 网络的图像不适合生产使用,对吧?
    【解决方案2】:

    最终的解决方案是降级到 Ubuntu 16.04

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-09-08
      • 2015-10-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-20
      • 2017-08-16
      相关资源
      最近更新 更多