Skip to content

Cannot update on FreeBSD #1391

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
alexreg opened this issue Apr 9, 2018 · 6 comments
Closed

Cannot update on FreeBSD #1391

alexreg opened this issue Apr 9, 2018 · 6 comments

Comments

@alexreg
Copy link

alexreg commented Apr 9, 2018

Rustup has not been able to update Rust on FreeBSD for a while now. I get this error message:

$ rustup update
info: syncing channel updates for 'stable-x86_64-unknown-freebsd'
info: syncing channel updates for 'nightly-x86_64-unknown-freebsd'
info: latest update on 2018-04-08, rust version 1.27.0-nightly (056f589fb 2018-04-07)
error: component 'rust-docs' for 'x86_64-unknown-freebsd' is unavailable for download
info: checking for self-updates

       stable-x86_64-unknown-freebsd unchanged - rustc 1.25.0 (84203cac6 2018-03-25)
  nightly-x86_64-unknown-freebsd update failed - rustc 1.26.0-nightly (75af15ee6 2018-03-20)

So, the docs component is presumably missing (not built?), and this is causing the update to fail.

@thefallenidealist
Copy link

Try to remove ~/.rustup and ~/.cargo and run script from https://rustup.rs/

%  rustup show
Default host: x86_64-unknown-freebsd

nightly-x86_64-unknown-freebsd (default)
rustc 1.27.0-nightly (7360d6dd6 2018-04-15)

@alexreg
Copy link
Author

alexreg commented Apr 16, 2018

Thanks, that does the trick. Not sure how things got corrupted!

@asomers
Copy link
Contributor

asomers commented May 11, 2018

I'm experiencing this issue on a fresh jail with an empty .rustup and .cargo dir. I can install nightly, but not stable.

>rustup toolchain install stable
info: syncing channel updates for 'stable-x86_64-unknown-freebsd'
207.2 KiB / 260.2 KiB ( 80 %)   0 B/s ETA: Unknown                260.2 KiB / 260.2 KiB (100 %) 207.2 KiB/s ETA:   0 s                
info: latest update on 2018-05-10, rust version 1.26.0 (a77568041 2018-05-07)
error: component 'rust-docs' for 'x86_64-unknown-freebsd' is unavailable for download

@asomers
Copy link
Contributor

asomers commented May 11, 2018

This is a duplicate of rust-lang/rust#49462 .

@mqudsi
Copy link

mqudsi commented May 15, 2018

@asomers no, it's not, actually. Even the nightly toolchain doesn't install without deleting ~/.rustup under freebsd.

@Diggsey
Copy link
Contributor

Diggsey commented May 28, 2018

Fixed by #1419

@Diggsey Diggsey closed this as completed Jul 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants