Skip to content

Running rustup installs then removes rustc installation #20369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
huonw opened this issue Dec 31, 2014 · 3 comments
Closed

Running rustup installs then removes rustc installation #20369

huonw opened this issue Dec 31, 2014 · 3 comments

Comments

@huonw
Copy link
Member

huonw commented Dec 31, 2014

The switch to the new installers seems to result in rustup.sh deleting the rustc. It downloads and installs rustc fine, then downloads cargo, but the installer for that first deletes rustc as legacy, and then installs cargo, meaning cargo works fine... but there's no compiler.

Snippet of output at the end of installing rustc/beginning of installing cargo.

...
install: installing /usr/local/share/man/man1/rustc.1
install: installing /usr/local/share/man/man1/rustdoc.1
install: 
install: verifying installed binaries are executable

    Rust is ready to roll.

rustup: Extracting cargo-nightly-x86_64-unknown-linux-gnu.tar.gz
install: looking for install programs
install: 
install: found mkdir
install: found printf
install: found cut
install: found grep
install: found uname
install: found tr
install: found sed
install: 
install: processing ./rustup-tmp-install/cargo-nightly-x86_64-unknown-linux-gnu/install.sh args
install: 
install: CFG_DESTDIR          :=  
install: CFG_PREFIX           := /usr/local 
install: CFG_LIBDIR           := /usr/local/lib 
install: CFG_MANDIR           := /usr/local/share/man 
install: 
install: validating ./rustup-tmp-install/cargo-nightly-x86_64-unknown-linux-gnu/install.sh args
install: 
install: verifying platform can run binaries
install: verifying destination is writable
install: verifying destination is not the same as source
install: removing legacy file /usr/local/bin/rust-lldb
install: removing legacy file /usr/local/bin/rustc
install: removing legacy file /usr/local/bin/rustdoc
install: removing legacy file /usr/local/lib/libarena-4e7c5e5c.so
install: removing legacy file /usr/local/lib/libflate-4e7c5e5c.so
install: removing legacy file /usr/local/lib/libfmt_macros-4e7c5e5c.so
...

cc @brson

@steveklabnik
Copy link
Member

Tons and tons of IRC people hitting this today.

@Binero
Copy link
Contributor

Binero commented Dec 31, 2014

Duplicate of #20364

@alexcrichton
Copy link
Member

Closing as a dupe of #20364

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

No branches or pull requests

4 participants