-
Notifications
You must be signed in to change notification settings - Fork 255
'rls' for target 'x86_64-unknown-linux-gnu' is unavailable for download #1221
Comments
Already reported in #1219, this will be fixed when a bug is fixed in the Rust repo (rust-lang/rust#57304). |
How does one get the latest nightly that has all necessary components? |
@NickeZ there is no direct command to do it AFAIK but you can force a specific nightly if you know of one that works. The most recent nightly that works for me is
|
Okey, then I'll wait, i don't want to do some ad-hoc changes |
Rls is available on today's nightly release. For those that don't know; we do expect RLS to be sometimes unavailable on the nightly channel, see:
|
This user experience is not good. IMHO it would be better if either rustup only downloaded nightlies with all components I have installed or if rustup told me I'm "up-to-date". But failing is really quite bad. |
When the latest nightly is missing components you have installed, rustup will fail the update and tell you this, is that what you're talking about? This protects rustup users from RLS, etc disappearing and it's quite useful. If that's working for you, do you just disagree with the message and exit code? If you have bugs/ideas for rustup I'd suggest raising an issue or looking over the discussion in rust-lang/rustup.rs. |
In my workflow (but YMMV) having to revert/stick to a particular known-to-work version of nightly is not a big deal, but usability may be improved by some form of "update to the latest nightly that matches X criteria", for instance *latest nightly which has all your components". This could be a separate command or flag from the default
|
Currently rustup does nothing as far as I understood. Does it actually download the latest possible version? In that case I was simply confused by the error message.
This sounds like the least surprising behavior for |
To clarify, currently rustup only downloads nightlies with all components IF it has all components for LATEST nightly otherwise it refuses to do anything and errors. As you said, I'd be personally happier if it could figure out a previous (not latest) nightly to download which satisfies alll dependencies and then install it with all components, but it would be semantically different from the current |
Too much fancy talk for nothing. |
No offense, but I feel this is to be a bit harsh. It's a discussion, everybody's contribution is valuable.
This is all understandable. Why not reporting this as a bug to the rustup team? https://github.com/rust-lang/rustup.rs/issues There is a recent post on the topic here. I'll chime in. |
info: latest update on 2019-01-03, rust version 1.33.0-nightly (ec194646f 2019-01-02)
error: component 'rls' for target 'x86_64-unknown-linux-gnu' is unavailable for download
The text was updated successfully, but these errors were encountered: