1

几周前我在远程服务器上工作时生锈,但现在在尝试安装它时突然出现错误:'sysinfo failure' 多次,然后在尝试下载/安装 rustc 时卡住,运行下列的: curl https://sh.rustup.rs -sSf | sh

rustup 似乎已安装,因为我可以运行 rustup --version 返回:

rustup 1.24.2 (755e2b07e 2021-05-12) info: This is the version for the rustup toolchain manager, not the rustc compiler.

但是 rustc --version 返回:

'rustc' is not installed for the toolchain 'stable-x86_64-unknown-linux-gnu'

所以它告诉我运行命令: rustup component add rustc 但这给了我错误:Missing manifest in toolchain 'stable-x86_64-unknown-linux-gnu'

对于这个错误,我发现另一个帖子说 rustup 可能没有成功安装,就是这种情况,但我已经尝试过多次重新安装,现在没有任何进展。据我所知,服务器甚至没有任何变化,所以这真的很奇怪。当检查 ls ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/ 时,只有“组件 rust-installer-version”,所以没有清单或配置文件......

我还尝试安装不同版本的 rustup,例如 1.51.0,但错误“sysinfo failure”不断出现,没有更多信息。有谁可能出了什么问题或我该如何解决这个问题?

4

0 回答 0