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

rustup not working #933

Open
gengjiawen opened this issue Sep 27, 2022 · 3 comments
Open

rustup not working #933

gengjiawen opened this issue Sep 27, 2022 · 3 comments
Labels
bug Something isn't working team: workspace

Comments

@gengjiawen
Copy link
Contributor

Bug description

rustup not working by default.

Steps to reproduce

gitpod /workspace/wu (master) $ rustup update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2022-09-22, rust version 1.64.0 (a55dd71d5 2022-09-19)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rls'
info: downloading component 'rust-analysis'
info: downloading component 'rust-src'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: removing the previous version of component 'cargo'
info: rolling back changes
error: could not rename component file from '/home/gitpod/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/libexec' to '/home/gitpod/.rustup/tmp/mzgzn1hbowybky0h_dir/bk'
info: checking for self-updates

  stable-x86_64-unknown-linux-gnu update failed - rustc 1.63.0 (4b91a6ea7 2022-08-08)

info: cleaning up downloads & tmp directories

Expected behavior

No response

Example repository

No response

Anything else?

No response

@gengjiawen gengjiawen added the bug Something isn't working label Sep 27, 2022
@BaoAn21
Copy link

BaoAn21 commented Sep 30, 2022

I ran rustup update stable, and it did not work either

@c3potheds
Copy link

+1, this is the issue that prompted #930

@c3potheds
Copy link

My workaround currently is to invoke:

rustup self uninstall
rm -rf .rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

... and then manually re-run the prebuild commands (e.g. cargo build, cargo install cargo-nextest).

If the resolution to #930 still isn't taking effect after a while I'll look into figuring out how to put all of this in the prebuild initializer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working team: workspace
Projects
No open projects
Status: No status
Development

No branches or pull requests

3 participants