无法在LINUX上安装Fuchsia

时间:2018-08-10 12:22:31

标签: linux operating-system fuchsia

我正在尝试使用Google从here提供的安装指南来安装Fuchsia

我能够运行第一个命令。 准备构建环境(每个构建环境一次)

sudo apt-get install texinfo libglib2.0-dev liblz4-tool autoconf libtool libsdl-dev build-essential golang git curl unzip

我们需要获取构建Fuchsia的资源,并且通过运行以下命令,我得到的错误是由于服务器造成的。

prashant@prashant-Lenovo:~$ curl -s "https://fuchsia.googlesource.com/scripts/+/master/bootstrap?format=TEXT" | base64 --decode | bash -s topaz
Please add /home/prashant/fuchsia/.jiri_root/bin to your PATH
WARN: Please opt in or out of analytics collection. You will receive this warning until an option is selected.
To check what data we collect run 'jiri init -show-analytics-data'
To opt-in run 'jiri init -analytics-opt=true "/home/prashant/fuchsia"'
To opt-out run 'jiri init -analytics-opt=false "/home/prashant/fuchsia"'

WARN: Please opt in or out of analytics collection. You will receive this warning until an option is selected.
To check what data we collect run 'jiri init -show-analytics-data'
To opt-in run 'jiri init -analytics-opt=true "/home/prashant/fuchsia"'
To opt-out run 'jiri init -analytics-opt=false "/home/prashant/fuchsia"'

Updating all projects
ERROR: 'git clone --no-checkout https://dart.googlesource.com/sdk /home/prashant/fuchsia/third_party/dart' failed:
Cloning into '/home/prashant/fuchsia/third_party/dart'...
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

command fail error: exit status 128

Wait for 5s before next attempt...: Cloning https://dart.googlesource.com/sdk

ERROR: 'git clone --no-checkout https://skia.googlesource.com/skia /home/prashant/fuchsia/third_party/skia' failed:
Cloning into '/home/prashant/fuchsia/third_party/skia'...
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

command fail error: exit status 128

请帮助。

1 个答案:

答案 0 :(得分:0)

这看起来是git通讯错误,请检查以下内容,

  • 您有git更新的版本
  • 您的获取配置(user.name,user.email)已设置
  • 您确实拥有Google帐户访问权限