Skip to content
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

Installation of rust version 1.49.0-nightly with profile "complete" fails to install #2519

Closed
ctsrc opened this issue Oct 11, 2020 · 2 comments
Labels

Comments

@ctsrc
Copy link

ctsrc commented Oct 11, 2020

Problem

When installing rust version 1.49.0-nightly with profile "complete", the installation fails with the following error:

error: failed to install component: 'rustc-docs-x86_64-unknown-linux-gnu', detected conflict: '"share/doc/rust/html/rustc"'

Steps

  1. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  2. Choose customize installation.
  • Default host triple? Leave as is
  • Default toolchain? nightly
  • Profile (which tools and data to install)? complete
  1. Proceed with installation

Possible Solution(s)

Notes

Output:

info: profile set to 'complete'
info: setting default host triple to x86_64-unknown-linux-gnu
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2020-10-11, rust version 1.49.0-nightly (b1af43bc6 2020-10-10)
warning: Force-skipping unavailable component 'miri-x86_64-unknown-linux-gnu'
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'llvm-tools-preview'
 20.0 MiB /  20.0 MiB (100 %)  13.1 MiB/s in  1s ETA:  0s
info: downloading component 'rls'
info: downloading component 'rust-analysis'
info: downloading component 'rust-analyzer-preview'
  5.2 MiB /   5.2 MiB (100 %)   2.2 MiB/s in  1s ETA:  0s
info: downloading component 'rust-docs'
info: downloading component 'rust-src'
info: downloading component 'rust-std'
 22.2 MiB /  22.2 MiB (100 %)  13.4 MiB/s in  1s ETA:  0s
info: downloading component 'rustc'
 55.1 MiB /  55.1 MiB (100 %)  12.8 MiB/s in  4s ETA:  0s
info: downloading component 'rustc-dev'
 92.9 MiB /  92.9 MiB (100 %)  12.5 MiB/s in  7s ETA:  0s
info: downloading component 'rustc-docs'
 10.2 MiB /  10.2 MiB (100 %)   2.3 MiB/s in  2s ETA:  0s
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: Defaulting to 500.0 MiB unpack ram
info: installing component 'clippy'
info: installing component 'llvm-tools-preview'
 20.0 MiB /  20.0 MiB (100 %)   7.3 MiB/s in  2s ETA:  0s
info: installing component 'rls'
  8.3 MiB /   8.3 MiB (100 %)   7.3 MiB/s in  1s ETA:  0s
info: installing component 'rust-analysis'
info: installing component 'rust-analyzer-preview'
info: installing component 'rust-docs'
 13.4 MiB /  13.4 MiB (100 %)   3.9 MiB/s in  3s ETA:  0s
info: installing component 'rust-src'
info: installing component 'rust-std'
 22.2 MiB /  22.2 MiB (100 %)   6.4 MiB/s in  3s ETA:  0s
info: installing component 'rustc'
 55.1 MiB /  55.1 MiB (100 %)   6.9 MiB/s in  8s ETA:  0s
info: installing component 'rustc-dev'
 92.9 MiB /  92.9 MiB (100 %)   6.8 MiB/s in 14s ETA:  0s
info: installing component 'rustc-docs'
 10.2 MiB /  10.2 MiB (100 %)   3.9 MiB/s in  3s ETA:  0s
info: rolling back changes
error: failed to install component: 'rustc-docs-x86_64-unknown-linux-gnu', detected conflict: '"share/doc/rust/html/rustc"'
@ctsrc ctsrc added the bug label Oct 11, 2020
@ehuss
Copy link
Contributor

ehuss commented Oct 11, 2020

The complete profile should almost never be used, as it will usually fail due to missing or broken components. This particular problem is a known issue with the rustc-docs component (rust-lang/rust#75833).

@ctsrc
Copy link
Author

ctsrc commented Oct 11, 2020

Ok, thanks I will close this issue then.

@ctsrc ctsrc closed this as completed Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants