"unusable due to having an invalid HEAD reference" when running cargo upgrade #15088
Labels
C-bug
Category: bug
S-needs-info
Status: Needs more info, such as a reproduction or more background for a feature request.
Problem
Hi, I am getting this error when running
cargo upgrade
:I tried running
cargo clean
andrustup upgrade
but the problem persists. Any idea what might be going on and how to fix?This is a similar error to this issue except that I am not trying to use a different registry. It appears to occur on any repository, including when creating one with
cargo init
:Thanks!
Steps
I don't have steps to reproduce as this may occur only on my setup.
Possible Solution(s)
I tried running
cargo clean
andrustup upgrade
but the problem persists.I have not tried doing a fresh uninstall/reinstall of rustup and Rust, but I can try that if this appears to be something totally broken with my setup.
Notes
No response
Version
The text was updated successfully, but these errors were encountered: