rustup: nightly 2018-12-25 fails to install

Created on 25 Dec 2018  Â·  12Comments  Â·  Source: rust-lang/rust

Looks like I'm not getting a new nightly for Christmas :cry:
````
rustup update

info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: syncing channel updates for 'beta-x86_64-unknown-linux-gnu'
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2018-12-25, rust version 1.33.0-nightly (f960f377f 2018-12-24)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: downloading component 'rls'
info: downloading component 'clippy'
info: downloading component 'llvm-tools-preview'
info: downloading component 'rust-analysis'
info: downloading component 'rust-src'
info: downloading component 'rustfmt'
info: removing component 'rustc'
info: removing component 'rust-std'
info: removing component 'cargo'
info: removing component 'rust-docs'
info: removing component 'rls'
info: removing component 'clippy'
info: removing component 'llvm-tools-preview'
info: removing component 'rust-analysis'
info: removing component 'rust-src'
info: removing component 'rustfmt'
info: installing component 'rustc'
info: installing component 'rust-std'
info: rolling back changes
error: could not rename component file from '/home/matthias/.rustup/tmp/ronagpiu3nt6eloc_dir/bk' to '/home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/share'
error: could not rename component file from '/home/matthias/.rustup/tmp/9k8l7uv_ss553dk5_dir/bk' to '/home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/share/doc'
error: could not rename component file from '/home/matthias/.rustup/tmp/ki2c_xzhvwcjkabo_dir/bk' to '/home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu'
error: could not rename component file from '/home/matthias/.rustup/tmp/odxfao3_dovk8n4q_dir/bk' to '/home/matthias/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/share/man'
error: failed to install component: 'rust-std-x86_64-unknown-linux-gnu', detected conflict: '"lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-8svn.so"'
info: checking for self-updates

   stable-x86_64-unknown-linux-gnu unchanged - rustc 1.31.1 (b6c32da9b 2018-12-18)
     beta-x86_64-unknown-linux-gnu unchanged - rustc 1.32.0-beta.6 (a01b0bf0f 2018-12-19)

nightly-x86_64-unknown-linux-gnu update failed - rustc 1.33.0-nightly (2d3e909e4 2018-12-22)

````

O-linux O-macos P-high T-infra

Most helpful comment

Ay can we add a rustup installation test so that this is caught before uploading?

All 12 comments

I checked verbose mode but didnt see anything interesting, just a ton of
verbose: creating temp {file,directory}

cc @rust-lang/infra @rust-lang/dev-tools @pietroalbini @kennytm

56944 seems the most relevant. cc @alexcrichton

Windows appears to be unaffected.

PRs involved: ddab10a692aab2e2984b5c826ed9d78a57e94851...f960f377fde2a01f64ec6f747725ce41147f46de

Failed to install on macOS too.

I'm about 95% sure that this is https://github.com/rust-lang/rust/pull/56944. It's fine to revert it quickly as I won't have time to make a fix until 2019!

Hi I am still getting this error on macOS. I uninstalled all of my rust toolchains, so this nightly install would be in the only toolchain on my system. Should we reopen this bug? Error message:

➜  rust git:(master) ✗ rustup install nightly
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
info: latest update on 2018-12-25, rust version 1.33.0-nightly (f960f377f 2018-12-24)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: installing component 'rustc'
info: installing component 'rust-std'
info: rolling back changes
error: failed to install component: 'rust-std-x86_64-apple-darwin', detected conflict: '"lib/rustlib/x86_64-apple-darwin/lib/libLLVM.dylib"'

This will be fixed on tomorrow's nightly (released around midnight UTC).

Ay can we add a rustup installation test so that this is caught before uploading?

Still not fixed there still issues?

#  rustup install nightly
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2018-12-25, rust version 1.33.0-nightly (f960f377f 2018-12-24)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: installing component 'rustc'
info: installing component 'rust-std'
info: rolling back changes
error: failed to install component: 'rust-std-x86_64-unknown-linux-gnu', detected conflict: '"lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-8svn.so"'

I was able to successfully update now! :)
````
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: syncing channel updates for 'beta-x86_64-unknown-linux-gnu'
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2018-12-26, rust version 1.33.0-nightly (14b96659e 2018-12-25)
info: downloading component 'rustc'
81.9 MiB / 81.9 MiB (100 %) 1.1 MiB/s ETA: 0 s
info: downloading component 'rust-std'
56.8 MiB / 56.8 MiB (100 %) 1.2 MiB/s ETA: 0 s
info: downloading component 'cargo'
4.4 MiB / 4.4 MiB (100 %) 1.2 MiB/s ETA: 0 s
info: downloading component 'rust-docs'
8.6 MiB / 8.6 MiB (100 %) 1.2 MiB/s ETA: 0 s
info: downloading component 'rls'
6.7 MiB / 6.7 MiB (100 %) 1.2 MiB/s ETA: 0 s
info: downloading component 'clippy'
1.8 MiB / 1.8 MiB (100 %) 1.2 MiB/s ETA: 0 s
info: downloading component 'llvm-tools-preview'
2.1 MiB / 2.1 MiB (100 %) 1.2 MiB/s ETA: 0 s
info: downloading component 'rust-analysis'
info: downloading component 'rust-src'
1.3 MiB / 1.3 MiB (100 %) 1.3 MiB/s ETA: 0 s
info: downloading component 'rustfmt'
2.2 MiB / 2.2 MiB (100 %) 1.2 MiB/s ETA: 0 s
info: removing component 'rustc'
info: removing component 'rust-std'
info: removing component 'cargo'
info: removing component 'rust-docs'
info: removing component 'rls'
info: removing component 'clippy'
info: removing component 'llvm-tools-preview'
info: removing component 'rust-analysis'
info: removing component 'rust-src'
info: removing component 'rustfmt'
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'cargo'
info: installing component 'rust-docs'
info: installing component 'rls'
info: installing component 'clippy'
info: installing component 'llvm-tools-preview'
info: installing component 'rust-analysis'
info: installing component 'rust-src'
info: installing component 'rustfmt'
info: checking for self-updates

stable-x86_64-unknown-linux-gnu unchanged - rustc 1.31.1 (b6c32da9b 2018-12-18)
beta-x86_64-unknown-linux-gnu unchanged - rustc 1.32.0-beta.6 (a01b0bf0f 2018-12-19)
nightly-x86_64-unknown-linux-gnu updated - rustc 1.33.0-nightly (14b96659e 2018-12-25)
````

Was this page helpful?
0 / 5 - 0 ratings