我克隆了 repo 并按照此处vagrant up
的说明运行。然后它失败了:
==> default: Step 11 : RUN /hyperledger/scripts/provision/common.sh
==> default: ---> Running in b8ef04b89dee
==> default: W
==> default: :
==> default: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages Hash Sum mismatch
==> default:
==> default:
==> default:
==> default: W
==> default: :
==> default: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources 404 Not Found [IP: 91.189.88.162 80]
==> default:
==> default:
==> default:
==> default: W
==> default: :
==> default: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/source/Sources 404 Not Found [IP: 91.189.88.162 80]
==> default:
==> default:
==> default:
==> default: W
==> default: :
==> default: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/universe/source/Sources 404 Not Found [IP: 91.189.88.162 80]
==> default:
==> default:
==> default:
==> default: W
==> default: :
==> default: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found [IP: 91.189.88.162 80]
==> default:
==> default:
==> default:
==> default: W
==> default: :
==> default: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.88.162 80]
==> default:
==> default:
==> default:
==> default: W
==> default: :
==> default: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.88.162 80]
==> default:
==> default:
==> default:
==> default: E
==> default: :
==> default: Some index files failed to download. They have been ignored, or old ones used instead.
==> default:
==> default:
==> default: W
==> default: :
==> default: Not using locking for read only lock file /var/lib/dpkg/lock
==> default:
==> default:
==> default: W
==> default: : Not using locking for read only lock file /var/lib/dpkg/lock
==> default: E: Unable to write to /var/cache/apt/
==> default: E: The package lists or status file could not be parsed or opened.
==> default:
==> default: The command '/bin/sh -c /hyperledger/scripts/provision/common.sh' returned a non-zero code: 4294967295
==> default: make: *** [build/image/base/.dummy] Error 255
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
我不知道如何解决这个问题。我想我的连接可能在构建时失败了?不确定如何重新启动该过程,因为vagrant up
再次运行只是说虚拟机已经在运行。vagrant ssh
失败,echo $?
255 说。