错误:curl -sSL的路径规范[在此处缩短URL] | bash -s 1.1.0 [英] Error: pathspecs with curl -sSL [shortened-url-here] | bash -s 1.1.0

查看:71
本文介绍了错误:curl -sSL的路径规范[在此处缩短URL] | bash -s 1.1.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据 hyperledger-composer教程,要用多个组织部署网络,我需要清除以前安装的composer:

According to hyperledger-composer tutorial, to deploy network with multi-organization I need to clean previous installation of composer:

cd ~/fabric-dev-servers
./stopFabric.sh
./teardownFabric.sh

此后,我克隆了 hyperledger/fabric-sample分支

git clone -b issue-6978 https://github.com/sstone1/fabric-samples.git

然后,导航到fabric-sample并使用缩短的链接从存储库下载特定的二进制文件

Then, navigate to fabric-sample and download specific binaries from the repository with shortened link

curl -sSL [shortened-url-here] | bash -s 1.1.0

此后,抛出一个错误

===> Checking out v1.1.0 branch of hyperledger/fabric-samples
error: pathspec 'v1.1.0' did not match any file(s) known to git.

此外,还有一些与几张图片有关的

Plus, there some more relating to several images

Error response from daemon: manifest for hyperledger/fabric-ca:x86_64-1.2.0-rc1 not found
Error response from daemon: No such image: hyperledger/fabric-ca:x86_64-1.2.0-rc1
===> Pulling thirdparty docker images
==> THIRDPARTY DOCKER IMAGE: couchdb

Error response from daemon: manifest for hyperledger/fabric-couchdb:x86_64-0.4.8 not found
Error response from daemon: No such image: hyperledger/fabric-couchdb:x86_64-0.4.8
==> THIRDPARTY DOCKER IMAGE: kafka

Error response from daemon: manifest for hyperledger/fabric-kafka:x86_64-0.4.8 not found
Error response from daemon: No such image: hyperledger/fabric-kafka:x86_64-0.4.8
==> THIRDPARTY DOCKER IMAGE: zookeeper

Error response from daemon: manifest for hyperledger/fabric-zookeeper:x86_64-0.4.8 not found
Error response from daemon: No such image: hyperledger/fabric-zookeeper:x86_64-0.4.8

我也附上以上错误的全部结果

I also attach with the full result of above errors

bp1@bp1-VirtualBox:~/fabric-dev-servers/fabric-samples$ curl -sSL [shortened-url here] | bash -s 1.1.0

Installing hyperledger/fabric-samples repo

===> Checking out v1.1.0 branch of hyperledger/fabric-samples
error: pathspec 'v1.1.0' did not match any file(s) known to git.

Installing Hyperledger Fabric binaries

===> Downloading version x86_64-1.1.0 platform specific fabric binaries
===> Downloading:  https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/linux-amd64-1.1.0/hyperledger-fabric-linux-amd64-1.1.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 35.4M  100 35.4M    0     0   145k      0  0:04:09  0:04:09 --:--:--  135k
==> Done.
===> Downloading version x86_64-1.2.0-rc1 platform specific fabric-ca-client binary
===> Downloading:  https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric-ca/hyperledger-fabric-ca/linux-amd64-1.2.0-rc1/hyperledger-fabric-ca-linux-amd64-1.2.0-rc1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4939k  100 4939k    0     0   153k      0  0:00:32  0:00:32 --:--:--  205k
==> Done.

Installing Hyperledger Fabric docker images

===> Pulling fabric Images
==> FABRIC IMAGE: peer

x86_64-1.1.0: Pulling from hyperledger/fabric-peer
Digest: sha256:57417699ddf50c5ebd47a9a2cc74c0324fbba0281eb1104b9ddd05a67776b01f
Status: Image is up to date for hyperledger/fabric-peer:x86_64-1.1.0
==> FABRIC IMAGE: orderer

x86_64-1.1.0: Pulling from hyperledger/fabric-orderer
Digest: sha256:0c3a3b5ecfd24b513da22bbb77da7b3f5bca9c121cc0ac5c46ba04c97c163654
Status: Image is up to date for hyperledger/fabric-orderer:x86_64-1.1.0
==> FABRIC IMAGE: ccenv

x86_64-1.1.0: Pulling from hyperledger/fabric-ccenv
Digest: sha256:07818367dc6d4264472d24b21819f9dc4e16e890d81ddfacee0341a22d72050b
Status: Image is up to date for hyperledger/fabric-ccenv:x86_64-1.1.0
==> FABRIC IMAGE: tools

x86_64-1.1.0: Pulling from hyperledger/fabric-tools
1be7f2b886e8: Already exists 
6fbc4a21b806: Already exists 
c71a6f8e1378: Already exists 
4be3072e5a37: Already exists 
06c6d2f59700: Already exists 
4d536120d8a5: Already exists 
0baaf9ec263e: Already exists 
3ea9b6cc6f21: Already exists 
6173b9a5fe5e: Already exists 
e73719e0bcbe: Already exists 
b55408c6ced5: Already exists 
1a8bca84adfa: Pull complete 
b54c1992cc9c: Pull complete 
68093aff3e84: Pull complete 
3827dc0ff46d: Pull complete 
1e22360bf4e7: Pull complete 
Digest: sha256:36d7fa8e8ddcc19fed8e1c3c06bc6ae1dac18c35e8a884188d2c08df3e5a4472
Status: Downloaded newer image for hyperledger/fabric-tools:x86_64-1.1.0
===> Pulling fabric ca Image
==> FABRIC CA IMAGE

Error response from daemon: manifest for hyperledger/fabric-ca:x86_64-1.2.0-rc1 not found
Error response from daemon: No such image: hyperledger/fabric-ca:x86_64-1.2.0-rc1
===> Pulling thirdparty docker images
==> THIRDPARTY DOCKER IMAGE: couchdb

Error response from daemon: manifest for hyperledger/fabric-couchdb:x86_64-0.4.8 not found
Error response from daemon: No such image: hyperledger/fabric-couchdb:x86_64-0.4.8
==> THIRDPARTY DOCKER IMAGE: kafka

Error response from daemon: manifest for hyperledger/fabric-kafka:x86_64-0.4.8 not found
Error response from daemon: No such image: hyperledger/fabric-kafka:x86_64-0.4.8
==> THIRDPARTY DOCKER IMAGE: zookeeper

Error response from daemon: manifest for hyperledger/fabric-zookeeper:x86_64-0.4.8 not found
Error response from daemon: No such image: hyperledger/fabric-zookeeper:x86_64-0.4.8

===> List out hyperledger docker images
hyperledger/fabric-ca                                                                                                x86_64-1.1.0        72617b4fa9b4        3 months ago        299MB
hyperledger/fabric-tools                                                                                             latest              b7bfddf508bc        3 months ago        1.46GB
hyperledger/fabric-tools                                                                                             x86_64-1.1.0        b7bfddf508bc        3 months ago        1.46GB
hyperledger/fabric-orderer                                                                                           latest              ce0c810df36a        3 months ago        180MB
hyperledger/fabric-orderer                                                                                           x86_64-1.1.0        ce0c810df36a        3 months ago        180MB
hyperledger/fabric-peer                                                                                              latest              b023f9be0771        3 months ago        187MB
hyperledger/fabric-peer                                                                                              x86_64-1.1.0        b023f9be0771        3 months ago        187MB
hyperledger/fabric-ccenv                                                                                             latest              c8b4909d8d46        3 months ago        1.39GB
hyperledger/fabric-ccenv                                                                                             x86_64-1.1.0        c8b4909d8d46        3 months ago        1.39GB
hyperledger/fabric-baseimage                                                                                         x86_64-0.4.6        dbe6787b5747        4 months ago        1.37GB
hyperledger/fabric-couchdb                                                                                           x86_64-0.4.6        7e73c828fc5b        4 months ago        1.56GB

请多谢一些建议,谢谢.

Please kindly share some advice, thanks in advance.

推荐答案

由于Fabric的最新更改,我们应该在本教程中捕获行为的变化.

Due to recent Fabric changes, there is a change in behaviour that we should capture in the tutorial..

请尝试使用curl -sSL [shortened-url-here] | bash -s 1.1.0 1.1.0 0.4.6-即上面的bash -s命令(特别是那些版本)的3个参数,以空格分隔.

Please try curl -sSL [shortened-url-here] | bash -s 1.1.0 1.1.0 0.4.6 - ie 3 parameters, separated by spaces, to the bash -s command above and specifically those versions.

由于我们正在使用本教程的自定义存储库,因此您现在可以忽略error: pathspec 'v1.1.0'消息.

You can ignore the error: pathspec 'v1.1.0' message for now, as we're using a custom repo for the tutorial.

这篇关于错误:curl -sSL的路径规范[在此处缩短URL] | bash -s 1.1.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆