我正在尝试在一个新的Ubuntu18.04机器上安装indy节点,以便创建一个包含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也会出现一系列“未满足的依赖关系”错误。
**注:*这一切都发生在下列回购中:
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节点,但这似乎也不起作用。
已经成功地安装了indy节点,如果是的话,您能分享这个秘密吗?
发布于 2020-04-04 19:58:48
我们已经使用Ubuntu18.04为Indy生成了Docker映像,但不得不从源代码中构建using。您可以在这里看到源代码dockerfile,尽管有一些git被构建脚本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团队不久将更新到20.04,用于测试的图像。
发布于 2020-04-03 12:37:52
最终的解决办法是降级到Ubuntu 16.04
https://stackoverflow.com/questions/61011373
复制相似问题