Rls: error: failed to install component: 'rls-preview-x86_64-unknown-linux-gnu', detected conflict: '"share/doc/rls/LICENSE-MIT"

Created on 2 May 2019  路  2Comments  路  Source: rust-lang/rls

Updated to rust-1.34.1-stable. When I tried to install rls issuing rustup component add rls-preview --toolchain stable following is the error:

info: downloading component 'rls'
info: installing component 'rls'
info: rolling back changes
error: failed to install component: 'rls-preview-x86_64-unknown-linux-gnu', detected conflict: '"share/doc/rls/LICENSE-MIT"'

platform: debian9.8

Most helpful comment

try this:

rustup toolchain uninstall stable-x86_64-unknown-linux-gnu
rustup toolchain install stable-x86_64-unknown-linux-gnu
rustup component add rls rust-analysis rust-src

it work for me

All 2 comments

try this:

rustup toolchain uninstall stable-x86_64-unknown-linux-gnu
rustup toolchain install stable-x86_64-unknown-linux-gnu
rustup component add rls rust-analysis rust-src

it work for me

Update to rust-1.35-stable solved the problem.

Was this page helpful?
0 / 5 - 0 ratings