Indy-node安装在Ubuntu上失败

问题描述 投票:0回答:2

我正在尝试在新的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时会遇到很多“未满足的依赖关系”错误。

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

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

当我尝试为仿生而不是氙气添加软件包时,出现以下错误:

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

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

有人成功安装了indy-node,如果可以,您可以共享秘密吗?

hyperledger hyperledger-indy
2个回答
0
投票

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


0
投票

我们已经使用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(节点-*图像,最新为bcgovimages/von-image:node-1.12-2)] >>

我相信Indy-Node团队不久将针对测试中使用的图像更新到20.04。

© www.soinside.com 2019 - 2024. All rights reserved.