rust-lang / rust-lang/rustup

Unhelpful "unsupported installer version" message

Open
#3,184 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
7k
Forks
1.1k
Avg merge
22h 40m
Merged PRs (30d)
46

Description

Problem

After curl https://sh.rustup.rs -sSf | sh on a UNIX machine, I got:

server:~$ cargo rustc -- --version
info: syncing channel updates for '1.65.0-x86_64-unknown-linux-gnu'
info: latest update on 2022-11-03, rust version 1.65.0 (897e37553 2022-11-02)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
55 deferred IO operations
info: installing component 'rust-std'
info: rolling back changes
error: unsupported installer version:
Steps
  1. Installed via curl https://sh.rustup.rs -sSf | sh
  2. Get error message for any rust commands
Possible Solution(s)

No response

Notes

No response

Rustup version
rustup 1.25.1 (bb60b1e89 2022-07-12)
Installed toolchains
server:~$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/user/.rustup

info: syncing channel updates for '1.65.0-x86_64-unknown-linux-gnu'
info: latest update on 2022-11-03, rust version 1.65.0 (897e37553 2022-11-02)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
 18.8 MiB /  18.8 MiB (100 %)   1.8 MiB/s in  8s ETA:  0s
info: installing component 'rust-std'
 30.0 MiB /  30.0 MiB (100 %)  12.5 MiB/s in  2s ETA:  0s
info: rolling back changes
(error: unsupported installer version: )

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported rustup installation and cargo rustc -- --version commands on the UNIX setup described. Trace the rollback path that emits unsupported installer version, then define done as replacing the empty or unhelpful message with actionable information and verifying the original scenario no longer produces it.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.