1

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

按照安装说明进行操作时,出现以下错误:

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,如果是,你能分享一下这个秘密吗?

4

2 回答 2

1

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

于 2020-04-03T12:37:52.643 回答
1

我们已经使用 Ubuntu 18.04 为 Indy-Node 生成了 Docker 镜像,但必须从源代码构建 libsodium。您可以在此处查看源 dockerfile,尽管有 git URL 被构建脚本替换: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 以用于测试中使用的图像。

于 2020-04-04T19:58:48.807 回答