Ubuntu 16.04 上的 Sawtooth 运行 上的 Devmode-engine-rust
Devmode-engine-rust on Sawtooth running on Ubuntu 16.04
我想在 Ubuntu 16.04 上的 Sawtooth 1.0.5 运行 上安装 devmode-engine-rust。使用 apt-get 的标准安装给出:
sawtooth-devmode-engine-rust :
Depends: libstdc++6 (>= 8.3.0) but 5.4.0-6ubuntu1~16.04.11 is to be installed
Depends: libnorm1 (>= 1.5r6+dfsg1) but it is not installable
Depends: libzmq5 (>= 4.2.5) but 4.1.4-7ubuntu0.1 is to be installed
Depends: libssl1.1 (>= 1.1.1) but it is not installable
Depends: libsodium23 (>= 1.0.16) but it is not installable
Depends: libc6 (>= 2.27) but 2.23-0ubuntu11 is to be installed
Depends: libgcc1 (>= 1:8.3.0) but 1:6.0.1-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages
无法更正此问题,因此尝试从源代码进行编译。看起来编译正常。现在的问题是:什么是正确的目录,在哪里可以复制已编译的二进制文件和支持文件?尝试了最简单的方法 - 将 devmode-engine-rust 放在路径上,但这不起作用。
或者,如果有人知道如何使用
解决问题
sudo apt-get install sawtooth-devmode-engine-rust
那也太好了。非常欢迎任何关于安装 sawtooth-devmode-engine-rust 的建议。
谢谢!
(我确实找到了几篇关于它的 Whosebug 文章,即添加另一个存储库并进行 apt-get 更新等。None 其中有效)
P.S。这是当我启动锯齿波的不同部分时发生的情况:
Window 1 - 验证者:
$ sudo -u sawtooth sawtooth-validator -vv --scheduler parallel
[sudo] password for ahg2009:
[2019-08-04 11:41:31.052 INFO path] Loading path information from config: /etc/sawtooth/path.toml
[2019-08-04 11:41:31.058 INFO validator] Loading validator information from config: /etc/sawtooth/validator.toml
[2019-08-04 11:41:31.076 INFO path] Loading path information from config: /etc/sawtooth/path.toml
[2019-08-04 11:41:31.082 INFO keys] Loading signing key: /etc/sawtooth/keys/validator.priv
[2019-08-04 11:41:31.109 INFO cli] sawtooth-validator (Hyperledger Sawtooth) version 1.0.5
[2019-08-04 11:41:31.110 INFO cli] config [path]: config_dir = "/etc/sawtooth"; config [path]: key_dir = "/etc/sawtooth/keys"; config [path]: data_dir = "/var/lib/sawtooth"; config [path]: log_dir = "/var/log/sawtooth"; config [path]: policy_dir = "/etc/sawtooth/policy" .....etc. long output
Window 2
$ sudo -u sawtooth settings-tp -v
[sudo] password for ahg2009:
[2019-08-04 11:42:06.578 INFO core] register attempt: OK
Window3.
$ sudo -u sawtooth /home/ahg2009/sawtooth-devmode-master/target/release/devmode-engine-rust -vvv --connect tcp://localhost:5050
TRACE | sawtooth_sdk::messag | Sending 37 bytes
{{After a while...}}
ERROR | devmode_engine_rust: | ReceiveError: TimeoutError
```
如果我没理解错的话,你正在尝试 运行 共识引擎并连接到验证器。使用 Sawtooth 版本 >= 1.1。 1.0.5版本在验证器内部有共识模块运行ning,所以你不能从外部连接它作为一个单独的进程。默认为 运行ning 开发模式共识。
我想在 Ubuntu 16.04 上的 Sawtooth 1.0.5 运行 上安装 devmode-engine-rust。使用 apt-get 的标准安装给出:
sawtooth-devmode-engine-rust :
Depends: libstdc++6 (>= 8.3.0) but 5.4.0-6ubuntu1~16.04.11 is to be installed
Depends: libnorm1 (>= 1.5r6+dfsg1) but it is not installable
Depends: libzmq5 (>= 4.2.5) but 4.1.4-7ubuntu0.1 is to be installed
Depends: libssl1.1 (>= 1.1.1) but it is not installable
Depends: libsodium23 (>= 1.0.16) but it is not installable
Depends: libc6 (>= 2.27) but 2.23-0ubuntu11 is to be installed
Depends: libgcc1 (>= 1:8.3.0) but 1:6.0.1-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages
无法更正此问题,因此尝试从源代码进行编译。看起来编译正常。现在的问题是:什么是正确的目录,在哪里可以复制已编译的二进制文件和支持文件?尝试了最简单的方法 - 将 devmode-engine-rust 放在路径上,但这不起作用。
或者,如果有人知道如何使用
解决问题sudo apt-get install sawtooth-devmode-engine-rust
那也太好了。非常欢迎任何关于安装 sawtooth-devmode-engine-rust 的建议。
谢谢!
(我确实找到了几篇关于它的 Whosebug 文章,即添加另一个存储库并进行 apt-get 更新等。None 其中有效)
P.S。这是当我启动锯齿波的不同部分时发生的情况: Window 1 - 验证者:
$ sudo -u sawtooth sawtooth-validator -vv --scheduler parallel
[sudo] password for ahg2009:
[2019-08-04 11:41:31.052 INFO path] Loading path information from config: /etc/sawtooth/path.toml
[2019-08-04 11:41:31.058 INFO validator] Loading validator information from config: /etc/sawtooth/validator.toml
[2019-08-04 11:41:31.076 INFO path] Loading path information from config: /etc/sawtooth/path.toml
[2019-08-04 11:41:31.082 INFO keys] Loading signing key: /etc/sawtooth/keys/validator.priv
[2019-08-04 11:41:31.109 INFO cli] sawtooth-validator (Hyperledger Sawtooth) version 1.0.5
[2019-08-04 11:41:31.110 INFO cli] config [path]: config_dir = "/etc/sawtooth"; config [path]: key_dir = "/etc/sawtooth/keys"; config [path]: data_dir = "/var/lib/sawtooth"; config [path]: log_dir = "/var/log/sawtooth"; config [path]: policy_dir = "/etc/sawtooth/policy" .....etc. long output
Window 2
$ sudo -u sawtooth settings-tp -v
[sudo] password for ahg2009:
[2019-08-04 11:42:06.578 INFO core] register attempt: OK
Window3.
$ sudo -u sawtooth /home/ahg2009/sawtooth-devmode-master/target/release/devmode-engine-rust -vvv --connect tcp://localhost:5050
TRACE | sawtooth_sdk::messag | Sending 37 bytes
{{After a while...}}
ERROR | devmode_engine_rust: | ReceiveError: TimeoutError
```
如果我没理解错的话,你正在尝试 运行 共识引擎并连接到验证器。使用 Sawtooth 版本 >= 1.1。 1.0.5版本在验证器内部有共识模块运行ning,所以你不能从外部连接它作为一个单独的进程。默认为 运行ning 开发模式共识。