我在 ubuntu-gnome 16.04.2 上安装 Rust 时遇到了问题。我按照锈网站。我附上了命令输出以供参考
$ curl https://sh.rustup.rs -sSf | sh
info: downloading installer
Welcome to Rust!
This will download and install the official compiler for the Rust programming
language, and its package manager, Cargo.
It will add the cargo, rustc, rustup and other commands to Cargo's bin
directory, located at:
/home/pearlstud/.cargo/bin
This path will then be added to your PATH environment variable by modifying the
profile file located at:
/home/pearlstud/.profile
You can uninstall at any time with rustup self uninstall and these changes will
be reverted.
Current installation options:
default host triple: x86_64-unknown-linux-gnu
default toolchain: stable
modify PATH variable: yes
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
1
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256' to '/home/pearlstud/.rustup/tmp/323e8vx3qfke7r7w_file'
info: caused by: error during download
info: caused by: [35] SSL connect error (error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol)
答案1
在谷歌上搜索你的 ssl 错误并返回此信息,我会尝试这些解决方案。 https://stackoverflow.com/questions/15166950/unable-to-establish-ssl-connection-how-do-i-fix-my-ssl-cert
也许你弄乱了你的 SSL?