Skip to content
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

Describe how to remove components when update fails #2355

Closed
shepmaster opened this issue Jun 1, 2020 · 1 comment · Fixed by #2384
Closed

Describe how to remove components when update fails #2355

shepmaster opened this issue Jun 1, 2020 · 1 comment · Fixed by #2384

Comments

@shepmaster
Copy link
Member

Describe the problem you are trying to solve

When upgrading to a Rust version missing currently installed components, we get the error message including the text

If you require these components

This has great text for what to do in this case, but we don't discuss the other case!

(Filed due to a Stack Overflow question: Unable to update stable rustup toolchain: some components unavailable for target i386-apple-ios, armv7s-apple-ios)

Describe the solution you'd like

It would be good to describe how to remove the components if we don't need them anymore (ideally copy-pastable).

Something like:

rustup component remove --toolchain $TC --target $TG $NAME

For each conflicting component.

@kinnison
Copy link
Contributor

kinnison commented Jun 1, 2020

This looks moderately easy to do, especially since there's a model for doing it. I'd be pleased to have someone come along to our #wg-rustup channel on the rust-lang discord and I'll mentor the work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants