Closed matthiaskrgr closed 3 years ago
cc @kinnison (do we not have a rustup github team?)
It's not clear from the error above what is going on here to me.
I think these errors are almost certainly what happens when you have two rustup updates happening in parallel (I can reproduce the same error messages when running rustup update
in two windows at the same time), see https://github.com/rust-lang/rustup/issues/988. Are you sure you didn't have another command or editor running in the background?
You can end up with this kind of problem if two rustup
operations hit the store at the same time, or if some kind of disk corruption, uncaught out-of-disk or similar causes some of the manifest files to become damaged. We're not very good at handling some of those cases yet because they're hard to replicate in the test suite -- race conditions which are outside the program are hard to code against. The easiest fix is to rustup toolchain uninstall beta
and then rustup toolchain install beta
since a full uninstall ignores the manifests and just wipes the tree.
@Mark-Simulacrum To my knowledge, no.
Hm, I don't remember doing anything like running 2 rustups at a time, but since I seem to be the one with this problem, it's likely an error somewhere on my side.
And yes, un- and reinstalling beta fixes the error. Closing since this is probably not actionable.
rustup 1.24.3 (ce5817a94 2021-05-31)
rustup update