2

I'm trying to install indy-node on a fresh Ubuntu 18.04 machine in order to create a small network with 4 nodes.

when following the installation instructions I get the following error:

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.

I've tried installing libsodium18 but I get the following error:

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

Likewise, trying to install indy-plenum has a bunch of 'unmet dependency' errors.

**Note:* this is all happens with the following repo:

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

when I try to add the packages for bionic instead of xenial, I get the following error:

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

I have also tried to install indy-node via python + pip, but that doesn't seem to work either.

Has anyone successfully installed indy-node, and if so, can you share the secret?

3 Answers 3

2

We've generated Docker images for Indy-Node using Ubuntu 18.04, but had to build libsodium from source. You can see the source dockerfile here although there are git URLs that get replaced by the build script: https://github.com/PSPC-SPAC-buyandsell/von-image/blob/master/node-1.9/Dockerfile.ubuntu

The final images are at https://hub.docker.com/r/bcgovimages/von-image/tags (the node-* images, latest is bcgovimages/von-image:node-1.12-2)

I believe the Indy-Node team are shortly going to be updating to 20.04 for the image used in testing.

2
  • Thanks Andrew, I'll checkout those images out.
    – simbro
    Commented Apr 6, 2020 at 9:51
  • 2
    I know that this comment is old, but I assume that the images from VON network are not intended for production use, right?
    – CurlyError
    Commented Jan 31, 2022 at 20:08
1

The solution in the end was to downgrade to Ubuntu 16.04

0

There is an Ubuntu 20 image here https://github.com/hyperledger/indy-node-container/blob/main/build/Dockerfile.ubuntu20 . See the commands in the docker file for how to install indy node on a ubuntu 20 installation. It's admittedly quite tricky, fetching packages from all over the place. We are currently working on an ubuntu 22 installation (image).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.