You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i run : rustup self uninstall
it show:
error: self-uninstall is disabled for this build of rustup
error: you should probably use your system package manager to uninstall rustup
pls ask : how can i enable self-uninstall
The text was updated successfully, but these errors were encountered:
You've installed rustup via some package manager. You need to use that same package manager to do the uninstall. E.g. apt/yum/snap/nix/whatever: we don't currently track what package manager installed rustup, so this message is as good as we can do.
rbtcollins
changed the title
rust can't uninstall
package manager installed rust uninstall instructions are unclear
Feb 14, 2021
I think the big question here is "Can we do anything to detect which package manager was in use and thusly recommend an uninstallation method?"
Coupled with that could be "If rustup itself came from a package manager, should rustup self uninstall at least remove the toolchains and links in $CARGO_HOME perhaps?"
I think these are open questions which need some thought and design work.
I haven't looked at the package manager mode; if its configured via a /etc file or something we could have the manager insert a string in there for instance.
when i run :
rustup self uninstall
it show:
error: self-uninstall is disabled for this build of rustup
error: you should probably use your system package manager to uninstall rustup
pls ask : how can i enable self-uninstall
The text was updated successfully, but these errors were encountered: