rustup: Rust 1.26.0 fails to install on ARM
This seems related to #1383, but this time on stable.
armv7$ rustup toolchain install 1.26.0
info: syncing channel updates for '1.26.0-armv7-unknown-linux-gnueabihf'
info: latest update on 2018-05-10, rust version 1.26.0 (a77568041 2018-05-07)
error: component 'rust-docs' for 'armv7-unknown-linux-gnueabihf' is unavailable for download
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 36 (8 by maintainers)
Looks like the nightly build resolves the issues:
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightlyIt’s also fixed in
betaInstall also did not work for me. I had to first uninstall and then install again and it worked. Thanks @rosenk !
@CodeCutterUK that worked: pi@goldpi:~ $ rustup default 1.25.0 info: syncing channel updates for ‘1.25.0-armv7-unknown-linux-gnueabihf’ info: latest update on 2018-03-29, rust version 1.25.0 (84203cac6 2018-03-25) info: downloading component ‘rustc’ 44.8 MiB / 44.8 MiB (100 %) 4.8 MiB/s ETA: 0 s
info: downloading component ‘rust-std’ 39.6 MiB / 39.6 MiB (100 %) 4.3 MiB/s ETA: 0 s
info: downloading component ‘cargo’ 3.5 MiB / 3.5 MiB (100 %) 1.5 MiB/s ETA: 0 s
info: downloading component ‘rust-docs’ 5.7 MiB / 5.7 MiB (100 %) 1.3 MiB/s ETA: 0 s
info: installing component ‘rustc’ info: installing component ‘rust-std’ info: installing component ‘cargo’ info: installing component ‘rust-docs’ info: default toolchain set to ‘1.25.0-armv7-unknown-linux-gnueabihf’
1.25.0-armv7-unknown-linux-gnueabihf installed - rustc 1.25.0 (84203cac6 2018-03-25)
pi@goldpi:~ $ rustc --version rustc 1.25.0 (84203cac6 2018-03-25) pi@goldpi:~ $
On a new board that doesn’t already have rustup, it appears you can install 1.25.0, from scratch, using this:
Could this be backported to stable. It’s really bad UX for new users if the language installer fails.
EDIT I’m happy to do this if someone oks it/points me in the right direction. EDIT 2 For me, rust 1.26.1 fixes the issue.
“Some users will need to run rustup install stable instead of rustup update to make rustup avoid the missing docs component, but this should be a one-time problem.” https://blog.rust-lang.org/2018/05/29/Rust-1.26.1.html
Still having issues here on a raspberry pi w upgrading to 1.26.1
The 1.26.1 release isn’t quite out yet, but you can test whether it works for you with
RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup update stable. Some users are still seeing problems, so it would be good to get wider testing to determine if there’s something further we can do to resolve this…