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

i can't rustup update #3660

Closed
ghost opened this issue Feb 4, 2024 · 5 comments
Closed

i can't rustup update #3660

ghost opened this issue Feb 4, 2024 · 5 comments
Labels

Comments

@ghost
Copy link

ghost commented Feb 4, 2024

Problem

C:\Windows\System32>rustup update
info: syncing channel updates for 'stable-i686-pc-windows-gnu'
info: syncing channel updates for 'stable-x86_64-pc-windows-gnu'
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
info: checking for self-update

     stable-i686-pc-windows-gnu unchanged - rustc 1.75.0 (82e1608df 2023-12-21)
   stable-x86_64-pc-windows-gnu unchanged - rustc 1.75.0 (82e1608df 2023-12-21)
  stable-x86_64-pc-windows-msvc unchanged - rustc 1.75.0 (82e1608df 2023-12-21)

info: cleaning up downloads & tmp directories
thread 'main' panicked at 'Unable to clean up C:\Users\Elia\.rustup\tmp: Os { code: 145, kind: DirectoryNotEmpty, message: "The directory isn't empty" }', src\utils\utils.rs:650:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

i can't even remove it manually, Windows 11

Steps

rustup update

Possible Solution(s)

No response

Notes

No response

Rustup version

rustup 1.26.0 (5af9b9484 2023-04-05)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.75.0 (82e1608df 2023-12-21)`

Installed toolchains

Default host: x86_64-pc-windows-gnu
rustup home:  C:\Users\Elia\.rustup

installed toolchains
--------------------

stable-i686-pc-windows-gnu
stable-x86_64-pc-windows-gnu (default)
stable-x86_64-pc-windows-msvc

active toolchain
----------------

stable-x86_64-pc-windows-gnu (default)
rustc 1.75.0 (82e1608df 2023-12-21)
@ghost ghost added the bug label Feb 4, 2024
@rami3l
Copy link
Member

rami3l commented Feb 5, 2024

@Heliox01 Thanks for filing this issue! Could you please delete C:\Users\Elia\.rustup\tmp and try again?

@ghost
Copy link
Author

ghost commented Feb 5, 2024

i forgot to put it, i tried manually and it said error:0x80070091 i tried to restart the pc same error,i tried to delete it in provisory mode but it didn't work

edit: i tried with rmdir /s /q C:\Users\Elia.rustup\tmp too but it says that the directory isn't empty, and it says that the file is used by another process but there is no rust process related running

@ghost
Copy link
Author

ghost commented Feb 5, 2024

i removed after using iobit unlocker on the locked file,iobit unlocker said it was alreasdy unlocked but i unlocked it anyway and then i was able to delete it

@rami3l
Copy link
Member

rami3l commented Feb 5, 2024

Sorry for your bad experience so far! I think this could be another instance of #988.

@rami3l
Copy link
Member

rami3l commented Feb 8, 2024

Closing for now as a duplicate of #988. If you have more questions, please don't hesitate to ask! :)

@rami3l rami3l closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant