在这里找到的被接受的答案似乎不适用于我:https://ethereum.stackexchange.com/a/46926/11266
我创建了Ubuntu16.04LTS (HVM)的EC2实例。
$ bash <(curl https://get.parity.io -Lk) -r stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 170 0 170 0 0 1465 0 --:--:-- --:--:-- --:--:-- 1452
100 3847 100 3847 0 0 21491 0 --:--:-- --:--:-- --:--:-- 21491
Release selected is: stable
Upgrading parity from 0.0.0 to 1.11.10
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
/usr/bin/sha256sum: /tmp/tmp.NnKCndYjTQ/parity: No such file or directory
cp: cannot stat '/tmp/tmp.NnKCndYjTQ/parity': No such file or directory
rm: cannot remove '/tmp/tmp.NnKCndYjTQ/*': No such file or directory
我试着用引号包装url,但结果是一样的。
$ bash <(curl 'https://get.parity.io' -Lk) -r stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 170 0 170 0 0 1360 0 --:--:-- --:--:-- --:--:-- 1349
100 3847 100 3847 0 0 21857 0 --:--:-- --:--:-- --:--:-- 21857
Release selected is: stable
Upgrading parity from 0.0.0 to 1.11.10
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
/usr/bin/sha256sum: /tmp/tmp.VZclpPZSN8/parity: No such file or directory
cp: cannot stat '/tmp/tmp.VZclpPZSN8/parity': No such file or directory
rm: cannot remove '/tmp/tmp.VZclpPZSN8/*': No such file or directory
发布于 2018-09-01 15:46:02
问题不在于一行命令,而在于安装程序本身。您可以通过运行:
curl https://get.parity.io -Lk > installer.sh
下载文件,然后通过运行
./installer.sh
你会遇到同样的问题。这个问题与获取下载二进制文件的URL的网站.已经更改了稳定版本和beta版本的名称有关。因此,您必须覆盖bash文件中的一些变量。从这里开始
if [ "$RELEASE" = "beta" ]; then
LOOKUP_URL="$VANITY_SERVICE_URL&os=$PKG&version=beta-release"
elif [ "$RELEASE" = "stable" ]; then
LOOKUP_URL="$VANITY_SERVICE_URL&os=$PKG&version=stable-release"
else
LOOKUP_URL="$VANITY_SERVICE_URL&os=$PKG&version=$RELEASE"
fi
对此:
if [ "$RELEASE" = "beta" ]; then
LOOKUP_URL="$VANITY_SERVICE_URL&os=$PKG&version=beta"
elif [ "$RELEASE" = "stable" ]; then
LOOKUP_URL="$VANITY_SERVICE_URL&os=$PKG&version=stable-backup"
else
LOOKUP_URL="$VANITY_SERVICE_URL&os=$PKG&version=$RELEASE"
fi
发布于 2018-10-11 22:43:28
或者,您可以使用
bash <(curl https://raw.githubusercontent.com/ethcore/scripts/master/install-deps.sh -L)
这将为您安装和配置奇偶校验客户端。
https://ethereum.stackexchange.com/questions/57882
复制相似问题