首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >下载过程中出现rustup安装稳定错误

下载过程中出现rustup安装稳定错误
EN

Stack Overflow用户
提问于 2018-07-16 14:19:46
回答 0查看 1.3K关注 0票数 0

我使用以下命令安装Rust:

代码语言:javascript
复制
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh

当我运行时:

代码语言:javascript
复制
$ rustc main.rs

下面显示的是:

代码语言:javascript
复制
error: no default toolchain configured

所以我运行:

代码语言:javascript
复制
rustup install stable

然后:

代码语言:javascript
复制
info: downloading component 'rust-std'
 23.2 MiB /  56.2 MiB ( 41 %)  67.2 KiB/s ETA: 503 s                error: component download failed for rust-std-x86_64-unknown-linux-gnu
info: caused by: could not download file from 'https://static.rust-lang.org/dist/2018-07-10/rust-std-1.27.1-x86_64-unknown-linux-gnu.tar.xz' to '/home/kwebi/.rustup/downloads/d3b0d00357cfaecf85651bea6f1d72793a5a859b6b07e9613ba21285922d5d58.partial'
info: caused by: error during download
info: caused by: [56] Failure when receiving data from the peer (OpenSSL SSL_read: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac, errno 0)

首先,我使用下面的命令安装rust,错误信息像以前一样打印出来,有一个下载错误:

代码语言:javascript
复制
$ curl https://sh.rustup.rs -sSf | sh
curl: (56) OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104
rustup: command failed: downloader https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init /tmp/tmp.2EZ69sGKWR/rustup-init

我可以做什么来安装目前和完全的铁锈?

EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51355650

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档