繁体   English   中英

Hyperledger Sawtooth在Ubuntu 18.04 LTS上的安装问题

[英]Hyperledger Sawtooth Install problems on Ubuntu 18.04 LTS

我试图按照下面的链接安装Hyperledger Sawtooth,但是与受支持的Ubuntu 16.04版本不同,我使用的是本月初发布的Ubuntu 18.04 LTS。 您能否分享我如何解决此问题的想法?

热烈的问候,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

似乎还不支持Ubuntu 18.04。 让我们等待Hyperledger支持它。

android @ baymax:〜$ ./prereqs-ubuntu.sh

错误:不支持Ubuntu仿生

当前,锯齿1.0.x仅支持16.04 LTS。 如果可能,请切换到Ubuntu 16.04 LTS。 另外,您可以在ubuntu仿生OS上继续将锯齿与docker一起使用或将锯齿与“ adapt”一起使用。

我有同样的问题,切换到docker解决了这个问题。 确保使用版本1.0.5的docker文件。

现在支持Ubuntu服务器18.04,但似乎桌面版本仍然存在问题,至少Windows Hyper-V快速创建库中提供的桌面版本仍然存在问题。

问题与使用错误的protobuf编译器版本有关。

经过一番混乱之后,我发现使用以下命令删除了protobuf模块:

apt删除-y python3-protobuf

导致在教程期间安装了锯齿恢复模块,从而解决了该问题,然后我可以从1.2.3 Sawtooth文档中浏览整个Ubuntu教程:

https://sawtooth.hyperledger.org/docs/core/releases/1.2.3/app_developers_guide/ubuntu.html

查看之前和之后安装的模块列表并没有发现任何明显的问题,因此这一定是一些模块相互依赖性的问题。

据说现在已支持Ubuntu 18.04,但此问题仍然存在:-(

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM