【发布时间】:2018-04-16 16:41:15
【问题描述】:
我正在尝试在 ubuntu 16.04 上安装 Hyperledger Sawtooth。执行此指令时:
$ sudo add-apt-repository 'deb http://repo.sawtooth.me/ubuntu/1.0/stable xenial universe'
我发现了这个错误:
** (mintSources.py:19571): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-143bDHVFZH: Connexion refused
我已经测试了此类问题的所有可能解决方案,例如
https://bbs.archlinux.org/viewtopic.php?id=228894
https://bugs.launchpad.net/ubuntu/+source/at-spi2-core/+bug/1193236
,但我无法解决问题。
如果您能帮助我,我将不胜感激。
【问题讨论】:
-
这看起来不像是 Hyperledger Sawtooth 问题。但是,您是否通过预先运行
sudo apt install software-properties-common python-software-properties来确保add-apt-repository命令可用? -
这似乎是操作系统问题。您可以尝试使用
add-apt-repository的替代方法,只是在/etc/apt/sources.list文件中添加 repo 规范。echo 'deb http://repo.sawtooth.me/ubuntu/1.0/stable xenial universe' >> /etc/apt/sources.list然后运行 apt-get update。您需要 root 用户权限才能运行这两个命令。 -
检查此链接并遵循此简单说明(更新):sawtooth.hyperledger.org/docs/core/releases/0.7/sysadmin_guide/…