Rustup update, failed to install component 'cargo-x86_64-unknown-linux-gnu', detected conflict: '"share/man/man1/cargo-update.1"'


#1

Here is a Gist of the output: https://gist.github.com/jamesray1/892ad9aaf5e9db5b71b95a8e024572c5. What’s the recommended way to remove all cargo and Rust files in order to get rustup update to work? There are also a few other warnings and errors: warning: during uninstall component cargo-x86_64-unknown-linux-gnu was not found and error: could not rename component directory from '/home/james/.rustup/tmp/9qsrml14otudsvt9_dir/bk' to '/home/james/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu'.


#2

Fixed via IRC, rm -rf ~/.rustup, then reinstall, then there were no errors with rustup update.