首页 > 解决方案 > 无法在 LINUX 上安装 Fuchsia

问题描述

我正在尝试Fuchsia使用 Google 从此处提供的安装指南进行安装。

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

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

我们需要获取构建 Fuchsia 的源代码,通过运行以下命令,我得到了由于 server.

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

请帮忙。

标签: linuxoperating-systemfuchsia

解决方案


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

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

推荐阅读