linux - 无法在 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
请帮忙。
解决方案
这看起来是 git 通信错误,请检查以下内容,
- 你有 git 更新版本
- 您的获取配置(user.name,user.email)已设置
- 您确实拥有 Google 帐户访问权限
推荐阅读
- javascript - 秘银上的事件捕获?
- python - How to create a pivot table using a datetime column in pandas
- android - 布局关闭后设置参数
- c - 声明 int 时的预期表达式错误
- jira - 如何在 mule4 中使用 http 请求连接器发送文件
- java - 会话中缺少属性
- webauthn - 带有 yubikey 的 Webauthn 扩展 HMACSecret
- html - How to chage CSS attributes of a Div when another Div is hovered that is located after the first Div
- javascript - 如何显示 reddit 评论的关系
- jooq - 将连接结果映射到 DTO