rustup: error: could not download file from ...
Arch linux Internet connection has no problem
$ rustup update
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/alex/.rustup/tmp/n6b91922kkyrvmlh_file'
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-nightly.toml.sha256' to '/home/alex/.rustup/tmp/mb54blu9ah_jdzen_file'
stable-x86_64-unknown-linux-gnu update failed - rustc 1.22.1 (05e2e1c41 2017-11-22)
nightly-x86_64-unknown-linux-gnu update failed - rustc 1.24.0-nightly (687d3d15b 2018-01-02)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 50 (13 by maintainers)
windows10 Internet connection has no problem
that’s my first install the Rust program language and I can assess to the office website.but this problem still exist.
It worked after I disabled network proxy…
Any updates to solution for this issue? I’m on Ubuntu 20.04.4 LTS. And I am getting a “unable to get local issuer certificate” error when trying to install with the following command:
curl --proto ‘=https’ --tlsv1.2 -sSf https://sh.rustup.rs | sh
I have strat Tor ( service tor start ) of course after installing the Tor. Then install Rust.
@kinnison Thank you for your suggestion. Snapcraft environment seems to use proxy. I ran some test script on the environment. rustup with curl-backend is OK, and rustup with reqwest-backend is NG.
Same issues here, using wsl
try again…
Turned off VPN here…
If unset, cURL can’t download.