-
Notifications
You must be signed in to change notification settings - Fork 893
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 update nightly fails on win10 #1436
Comments
I've been having a similar issue; uninstalled nightly completely and am now without:
|
See #1443 (comment):
|
This still doesn't work.
Every rustup command that tries to do anything like |
Same presists in the lastest version of the rustup update as well...
Need help to resolve this issue. |
I'm having the same problem. Using ProcMon I've traced the problem to calls to |
This helped me:
|
This was still happening for me. Beyond rofrol's suggestions, I also had
|
Unfortunately there's little we can do short-term about Windows Defender. We're looking into sorting a mechanism for trusted binary signatures, but we're a long way off that. |
If you have antivirus then you'll have to turn that off instead of windows defender. Although the way I solved it using visual studio code was:
|
Disable Mcafee works for me on WSL. Thanks, rofrol! |
There are several distinct issues discussed here. The original issue 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. |
toolchain: nightly-x86_64-pc-windows-msvc
here is the log:
error: could not rename component directory from 'C:\Users\francek.rustup\tmp\pewpan3stlkl1g0c_dir\bk' to 'C:\Users\francek.rustup\toolchains\nightly-x86_64-pc-windows-msvc\share/zsh'
error: could not rename component directory from 'C:\Users\francek.rustup\tmp\bdzmxklyrc405dgw_dir\bk' to 'C:\Users\francek.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib/rustlib/x86_64-pc-windows-msvc/codegen-backends'
error: failed to install component: 'rust-docs-x86_64-pc-windows-msvc', detected conflict: '"share/doc/rust/html"'
The text was updated successfully, but these errors were encountered: