Description
I haven't touched this box for a few weeks. I came back, and (forgetting I already installed rustup), tried
curl https://sh.rustup.rs -sSf | sh
This produces
n@nathanael-xeon:~/Documents$ curl https://sh.rustup.rs -sSf | sh
info: downloading installer
Segmentation fault (core dumped)
rustup: command failed: /tmp/tmp.UWJtLBWTNB/rustup-init
I check my system versions and info:
n@nathanael-xeon:~/Documents$ rustc -V
rustc 1.11.0 (9b21dcd6a 2016-08-15)
n@nathanael-xeon:~/Documents$ cargo -V
cargo 0.12.0-nightly (6b98d1f 2016-07-04)
n@nathanael-xeon:~/Documents$ rustup -V
rustup 0.1.12 (c6e430a 2016-05-12)
n@nathanael-xeon:~/Documents$ uname -a
Linux nathanael-xeon 3.19.0-66-generic #74~14.04.1-Ubuntu SMP Tue Jul 19 19:56:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Let me try using my existing rustup installation
n@nathanael-xeon:~/Documents$ rustup self update
error: rustup is not installed at '/home/n/.cargo'
n@nathanael-xeon:~/Documents$ rustup self uninstall
error: rustup is not installed at '/home/n/.cargo'
n@nathanael-xeon:~/Documents$ rustup update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: downloading component 'rustc'
43.3 MiB / 43.3 MiB (100 %) 2.8 MiB/s ETA: 0 s
info: downloading component 'rust-std'
55.8 MiB / 55.8 MiB (100 %) 2.9 MiB/s ETA: 0 s
info: downloading component 'rust-docs'
7.2 MiB / 7.2 MiB (100 %) 2.7 MiB/s ETA: 0 s
info: downloading component 'cargo'
4.1 MiB / 4.1 MiB (100 %) 2.6 MiB/s ETA: 0 s
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'rust-docs'
info: installing component 'cargo'
error: rustup is not installed at '/home/n/.cargo'
Hmm. Before I attempt to wipe everything away, is there any detail I should preserve (if this is worth fixing)?
I did note that 'multirust' is not present:
n@nathanael-xeon:~/Documents$ ls -R ~/.cargo/bin
cargo racer rustc rustdoc rust-gdb rust-lldb rustup
At one time, I used multirust, but I rid myself of it and got a working rustup installation (or, at one time, so I believed. Rust 1.8 is working, so...)
EDIT: It looks like ~/.multirust was still hanging around. Renaming the folder did nothing. It's ~89MB compressed, if it would help.
Deleting the folder did something.
Before deletion:
n@nathanael-xeon:~/Documents$ which rustc
/home/n/.cargo/bin/rustc
n@nathanael-xeon:~/Documents$ rustc -V
rustc 1.11.0 (9b21dcd6a 2016-08-15)
After:
n@nathanael-xeon:~/Documents$ rustc -V
error: no default toolchain configured
And it would appear that ~/.multirust/version keeps getting recreated with the contents 12
.
/usr/local/lib/rustlib/uninstall.sh
doesn't exist, so I'm not sure how to complete the exorcism.