-
Notifications
You must be signed in to change notification settings - Fork 897
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
Renaming error: Failing to update from 1.7.0 to 1.16.0 #1067
Comments
Did you make any changes to these directories yourself? Alternatively, could you have run rustup in parallel by accident? Unfortunately without more information or steps to reproduce it will be difficult to diagnose. |
I can reproduce what looks to me like a related issue, I am not to sure if it is actually a rustup bug. I am just going to leave the results of my investigation here though.
A minimal repository reproducing this can be found here notice how the newest build passes and the one before it fails. The relevant diff shows what my fix ultimately was. I am not sure why exactly this was happening as I can't just reproduce it by running |
I've been having this problems first on W7-64bits, now on Win10 64 bits. Same error as above it comes and go depending on rust version and it only happens on update. My install is with all the defaults no change (if that helps). |
This is another instance of missing/corrupt manifest data. Without knowledge of the installed file, rustup cannot remove it prior to installing the updated version, and then hits a conflict due to the file already existing, and you get the error. We've got a bunch of these bugs scattered all over the place, I'm closing them all to bring order. See #2417. |
OS:
Ubuntu 16.04 LTS
Versions:
rustup 1.2.0 (70faf07 2017-04-08)
rustc 1.7.0
When I run
rustup --update
I'm getting "could not rename component" error. Here's the outputThe text was updated successfully, but these errors were encountered: