-
Notifications
You must be signed in to change notification settings - Fork 894
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
Confusing error message toolchain "stable-x86_64-unknown-linux-gnu" is not installable
#3885
Comments
@Pierremalle Salut, and thanks for filing this issue! The aforementioned error comes from here: Lines 1119 to 1124 in 1eb4de7
... which was introduced in #562 back in 2016 (!!). This message should indicate a checksum mismatch, however since this error is very rare, the last few lines of the expected error message have clearly gone missing over the years without anyone noticing until today:
Unless indicated otherwise, I suspect this would have something to do with the upstream release server(s) (the one within Thales rather than the official one), see #346 for more context on this. That said, it seems reasonable for us to make the error message clearer so that you might feel lost less often. |
Can confirm that somehow the output has deviated from the expected one in the v1.27 series: #3390 (comment). |
Thank you a lot. Want me to consider this as close or keep that feed until i can make it work in case of anything ? |
@Pierremalle I'd like to leave it open to track the missing output that made you confused :) |
Oh, it begins to be fun. i've looked at Artifactory configuration. I regenerated an API key and verified the proxy. I'll tell more when i find more about it. |
Well, as it turned out. The first error message was coming from the fact that my artifactory path to RUSTUP_UPDATE_ROOT didn't exist. Despite that i can't make Rustup work through Artifactory since :
After asking to a senior dev knowing a bit more with Artifactory, he basically told me : So i think my next move will be to force it with the rust standalone version or with the sources and link anything needed. Wish me luck lads. |
@Pierremalle Wait, you're still on the curl backend? We've been on reqwest by default since a while ago now and we're planning to move to reqwest+rustls (#3806). Is there a particular reason for still using curl? Hmmm if you need to install Rust manually, maybe you can still use Rustup with the instructions in https://rust-lang.github.io/rustup/installation/already-installed-rust.html. |
No not really. But doesn't the problem would be the same if i'm with curl or reqwest ? |
@Pierremalle You're right. I've made the following update to the error messages nonetheless: Before info: syncing channel updates for 'nightly-aarch64-apple-darwin'
info: update not yet available, sorry! try again later
error: toolchain 'nightly-aarch64-apple-darwin' is not installable After info: syncing channel updates for 'nightly-aarch64-apple-darwin'
warn: checksum failed for <SNIP>, expected: 'aaaaaaaaaa0f87d2df5e0cff356df307b6649a7b0b4effdf4b6dbd15070206de', calculated: '907f97b96e0f87d2df5e0cff356df307b6649a7b0b4effdf4b6dbd15070206de'
info: if you are on the official release server, this is most likely due to an update happening right now, please try again later
info: if you are on a third-party release server, this might indicate a problem with the server's configuration
error: toolchain 'nightly-aarch64-apple-darwin' is not installable I'll make this a PR real soon. |
toolchain "stable-x86_64-unknown-linux-gnu" is not installable
Verification
Problem
Hi,
My bug occurs when using the command "rustup default stable".
As you may see, i'm trying to install the latest rust version. My rustup path is changed through a Artifactory path mirroring the official one through a proxy.
What i don't understand is the "version is not installable" as if i don't have the rights or it can't connect to the repository.
Can you please help me ?
Steps
Possible Solution(s)
As i thought the problem may be two things :
Notes
No response
Rustup version
Installed toolchains
None
OS version
Redhat 7.3 x86_64
The text was updated successfully, but these errors were encountered: