Rustup: Failure to update - "could not rename component file" / "file too big"

Created on 4 Oct 2020  路  3Comments  路  Source: rust-lang/rustup

Running rustup update nightly on stable alpine linux:

<snip>
info: rolling back changes
error: could not rename component file from '/home/james/.rustup/tmp/45lhf9ak1yv5h7rh_dir/bk' to '/home/james/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/share'
error: could not rename component file from '/home/james/.rustup/tmp/7chhsju2f0fp6zq9_dir/bk' to '/home/james/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/share/doc'
error: could not rename component file from '/home/james/.rustup/tmp/ogsf78p1zydu628t_dir/bk' to '/home/james/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl'
error: could not rename component file from '/home/james/.rustup/tmp/leet1tyroxw8sj2x_dir/bk' to '/home/james/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/share/man'
error: could not rename component file from '/home/james/.rustup/tmp/kszc8eegnew2a_jd_dir/bk' to '/home/james/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib'
error: could not rename component file from '/home/james/.rustup/tmp/m3b7mw3k9xqw8fvn_dir/bk' to '/home/james/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/share/zsh'
error: could not rename component file from '/home/james/.rustup/tmp/tze3_bkmx83ggg20_dir/bk' to '/home/james/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/etc'
error: File too big rustc-nightly-x86_64-unknown-linux-musl/rustc/lib/librustc_driver-226f99531f0362d8.so 207634128
$ rustup --version
rustup 1.21.1 :: v20200428+640 (e0579bdf9 2020-05-08)
$ rustup show
Default host: x86_64-unknown-linux-musl
rustup home:  /home/james/.rustup

installed toolchains
--------------------

nightly-2020-06-10-x86_64-unknown-linux-musl
nightly-x86_64-unknown-linux-musl

active toolchain
----------------

nightly-x86_64-unknown-linux-musl (default)
rustc 1.47.0-nightly (e15510ca3 2020-08-20)
bug

Most helpful comment

rustup self update

All 3 comments

Old rustup, please update.

how? rustup update does not succeed in updating self

rustup self update

Was this page helpful?
0 / 5 - 0 ratings

Related issues

QuarkDoe picture QuarkDoe  路  4Comments

KasMA1990 picture KasMA1990  路  3Comments

fenhl picture fenhl  路  4Comments

matthiaskrgr picture matthiaskrgr  路  3Comments

davidawad picture davidawad  路  3Comments