hyperledger-archives / indy-sdk

indy-sdk
https://wiki.hyperledger.org/display/indy
Apache License 2.0
667 stars 737 forks source link

Unable to install on Ubuntu 20.04 #2487

Closed vpapanchev closed 2 years ago

vpapanchev commented 2 years ago

Is it possible to install the SDK on Ubuntu 20.04? I did not find any guideline on how to do it, so I tried using the guides for Ubuntu 16.04 / 18.04:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CE7709D068DB5E88
sudo add-apt-repository "deb https://repo.sovrin.org/sdk/deb (xenial|bionic) {release channel}"
sudo apt-get update
sudo apt-get install -y libindy

I am getting the following error:

The following packages have unmet dependencies:
 libindy : Depends: libsodium18 but it is not installable
           Depends: libssl1.0.0 but it is not installable
E: Unable to correct problems, you have held broken packages.
WadeBarnes commented 2 years ago

This (Dockerfile) works, and installs the indy-sdk on Ubuntu 20.04:

FROM ubuntu:20.04
RUN apt-get update -y && apt-get install -y \
    gnupg \ 
    ca-certificates

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CE7709D068DB5E88
RUN echo "deb https://repo.sovrin.org/sdk/deb bionic stable" >> /etc/apt/sources.list
RUN apt-get update -y && apt-get install -y \
    libindy
vpapanchev commented 2 years ago

Hello @WadeBarnes. Thanks for the reply. This does does install libindy correctly.

The problem I was having was due to incorrect APT data sources in /etc/apt/sources.list pointing to a source specific for the xenial distribution.

WadeBarnes commented 2 years ago

Great. If your issue is resolved please close the issue. Thanks