Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

rustup does things that take a long time before quick and easy things that can fail #81

Open
db48x opened this issue Jan 9, 2017 · 1 comment

Comments

@db48x
Copy link

db48x commented Jan 9, 2017

 db48x  ~  sh rustup.sh 
info: downloading installer
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 9500k  100 9500k    0     0  14744      0  0:10:59  0:10:59 --:--:-- 33938
warning: it looks like you have existing multirust metadata
warning: rustup cannot be installed alongside multirust
warning: delete `/home/db48x/.multirust` before installing rustup
error: cannot install while multirust is installed
rustup: command failed: /tmp/tmp.FDRmWtDAD3/rustup-init

Much better to fail early. Doesn't help either that it deleted the temporary directory. BTW, have you thought about making an rpm/deb instead of reinventing the wheel?

@db48x
Copy link
Author

db48x commented Jan 9, 2017

 db48x  ~  sh rustup.sh 
info: downloading installer
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 9500k  100 9500k    0     0  20358      0  0:07:57  0:07:57 --:--:-- 36882
warning: it looks like you have an existing installation of Rust
warning: rustup cannot be installed alongside Rust. Please uninstall first
warning: run `/usr/local/lib/rustlib/uninstall.sh` as root to uninstall Rust
error: cannot install while Rust is installed
rustup: command failed: /tmp/tmp.xaa80Prw74/rustup-init

/me sighs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant