Reputation: 21
I was trying to install Hyperledger Sawtooth as per below link but unlike the supported 16.04 version of Ubuntu, I'm using Ubuntu 18.04 LTS that was released earlier this month. Could you please share thoughts on how I can resolve this issue?
Warm Regards, Rishi
Rishi@Explorer-Ubuntu:~$ sudo apt-get install -y sawtooth Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: sawtooth : Depends: python3-sawtooth-cli but it is not going to be installed Depends: python3-sawtooth-intkey but it is not going to be installed Depends: python3-sawtooth-poet-cli but it is not going to be installed Depends: python3-sawtooth-poet-core but it is not going to be installed Depends: python3-sawtooth-poet-families but it is not going to be installed Depends: python3-sawtooth-poet-simulator but it is not going to be installed Depends: python3-sawtooth-rest-api but it is not going to be installed Depends: python3-sawtooth-sdk but it is not going to be installed Depends: python3-sawtooth-settings but it is not going to be installed Depends: python3-sawtooth-signing but it is not going to be installed Depends: python3-sawtooth-validator but it is not going to be installed Depends: python3-sawtooth-xo but it is not going to be installed E: Unable to correct problems, you have held broken packages. Rishi@Explorer-Ubuntu:~$ python3 --version Python 3.6.5
Upvotes: 2
Views: 2002
Reputation: 131
Ubuntu server 18.04 is now supported but it seems that an issue still exists with the desktop version, at least the desktop version provided in the Windows Hyper-V 'quick create' gallery.
The problem is related to it using the wrong protobuf compiler version.
After much messing around I found that removing the protobuf module with :
apt remove -y python3-protobuf
caused the installation of sawtooth during the tutorial to restore the module which resolved the issue and I could then run through the whole Ubuntu tutorial from the 1.2.3 Sawtooth docs here :
https://sawtooth.hyperledger.org/docs/core/releases/1.2.3/app_developers_guide/ubuntu.html
Looking at the list of installed modules before and after didn't show anything obvious so it must be some module interdependency issue.
Upvotes: 0
Reputation: 485
I had the same problem, switching to docker solved that. Ensure to use the docker file of version 1.0.5.
Upvotes: 1
Reputation: 6684
Currently, sawtooth 1.0.x supports only 16.04 LTS. If possible, switch to Ubuntu 16.04 LTS. Also, you could continue using sawtooth with dockers or use sawtooth with "adapt" on your ubuntu bionic OS.
Upvotes: 1
Reputation: 71
It seems like Ubuntu 18.04 is not yet supported. Let us wait for Hyperledger to support it.
android@baymax:~$ ./prereqs-ubuntu.sh
Error: Ubuntu bionic is not supported
Upvotes: 1