Skip to content

rustup doesn't install a toolchain? #3757

Closed as not planned
Closed as not planned
@casesolved-co-uk

Description

@casesolved-co-uk

Verification

Problem

rustup thinks the stable toolchain is both up to date and not installed:

$ rustup --verbose toolchain install --force stable
verbose: read metadata version: '12'
verbose: installing toolchain 'stable-i686-apple-darwin'
verbose: toolchain directory: '/Users/rich/.rustup/toolchains/stable-i686-apple-darwin'
info: syncing channel updates for 'stable-i686-apple-darwin'
verbose: creating temp file: /Users/rich/.rustup/tmp/6_fbc3uuq0c_3inq_file
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256'
verbose: downloading with reqwest
verbose: deleted temp file: /Users/rich/.rustup/tmp/6_fbc3uuq0c_3inq_file
verbose: no update hash at: '/Users/rich/.rustup/update-hashes/stable-i686-apple-darwin'
verbose: creating temp file: /Users/rich/.rustup/tmp/y_zwqlzuujit3a6__file.toml
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-stable.toml'
verbose: downloading with reqwest
verbose: checksum passed
verbose: creating temp file: /Users/rich/.rustup/tmp/_grzq49wquikkwnh_file
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-stable.toml.asc'
verbose: downloading with reqwest
verbose: deleted temp file: /Users/rich/.rustup/tmp/_grzq49wquikkwnh_file
verbose: Good signature from on https://static.rust-lang.org/dist/channel-rust-stable.toml from:
verbose: from builtin Rust release key
verbose:   RSA/85AB96E6-FA1BE5FE - Rust Language (Tag and Release Signing Key) <[email protected]>
verbose:   Fingerprint: 108F 6620 5EAE B0AA A8DD 5E1C 85AB 96E6 FA1B E5FE
verbose: deleted temp file: /Users/rich/.rustup/tmp/y_zwqlzuujit3a6__file.toml
info: latest update on 2024-03-28, rust version 1.77.1 (7cf61ebde 2024-03-27)
verbose: toolchain is already up to date

  stable-i686-apple-darwin unchanged - (toolchain not installed)

info: checking for self-updates
info: downloading self-update

Is there any way to force/trick an install?
I have tried an uninstall too.
I think this is the latest version for my old MacOS 10.11?

Steps

$ rustup --verbose toolchain install --force stable

Possible Solution(s)

I'm a newb, could be me, could just be the old version

Notes

No response

Rustup version

$ rustup --version
rustup 1.21.1 :: 1.21.0+13 (03e2c55dd 2019-12-20)

Installed toolchains

$ rustup show
Default host: i686-apple-darwin
rustup home:  /Users/rich/.rustup

(error: toolchain 'stable-i686-apple-darwin' is not installed, not a directory: '/Users/rich/.rustup/toolchains/stable-i686-apple-darwin')

OS version

MacOS 10.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions