Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Could not rename component directory #623

@leshow

Description

@leshow

I'm not sure what's going on here, but it appears I can't update the nightly channel rls

~
❯ rustup update nightly
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2017-12-10, rust version 1.24.0-nightly (6fa53b00e 2017-12-09)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: downloading component 'rls-preview'
info: downloading component 'rust-std' for 'asmjs-unknown-emscripten'
info: downloading component 'rust-std' for 'wasm32-unknown-emscripten'
info: downloading component 'rust-analysis'
info: downloading component 'rust-src'
info: removing component 'rustc'
info: removing component 'rust-std'
info: removing component 'cargo'
info: removing component 'rust-docs'
info: removing component 'rust-std' for 'wasm32-unknown-unknown'
info: removing component 'rls-preview'
warning: during uninstall component rls-preview-x86_64-unknown-linux-gnu was not found
info: removing component 'rust-std' for 'asmjs-unknown-emscripten'
warning: during uninstall component rust-std-asmjs-unknown-emscripten was not found
info: removing component 'rust-std' for 'wasm32-unknown-emscripten'
warning: during uninstall component rust-std-wasm32-unknown-emscripten was not found
info: removing component 'rust-analysis'
warning: during uninstall component rust-analysis-x86_64-unknown-linux-gnu was not found
info: removing component 'rust-src'
warning: during uninstall component rust-src was not found
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'cargo'
info: installing component 'rust-docs'
info: installing component 'rust-std' for 'wasm32-unknown-unknown'
info: installing component 'rls-preview'
info: rolling back changes
error: could not rename component directory from '/home/leshow/.rustup/tmp/hbfsmobors2os9yn_dir/bk' to '/home/leshow/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown'
error: could not rename component directory from '/home/leshow/.rustup/tmp/vh0htas8nm5nkz_8_dir/bk' to '/home/leshow/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/share/zsh'
error: could not rename component directory from '/home/leshow/.rustup/tmp/8p130ly86kelgxwc_dir/bk' to '/home/leshow/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/etc'
error: could not rename component directory from '/home/leshow/.rustup/tmp/kqdda_n17nu3wri3_dir/bk' to '/home/leshow/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/share/man'
error: failed to install component: 'rls-preview-x86_64-unknown-linux-gnu', detected conflict: '"share/doc/rls/LICENSE-MIT"'

Why is it removing my components? then trying to install things that depend on them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions