Rustup install fails on ubuntu 20.10

--------------------
leder@leder-Standard-PC-Q35-ICH9-2009:~$ LANG=C curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
info: downloading installer
curl: (23) Failure writing output to destination
rustup: command failed: downloader https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init /tmp/tmp.BCJAzIMQVb/rustup-init x86_64-unknown-linux-gnu
--------------------

any idea?

I'm not sure what might be causing the error, but here are some things to try. You can pass a -v argument to the downloader like this to enable verbose output, which might help figure out the cause of the problem:

LANG=C curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -v

You could also try downloading and running rustup-init from here instead of using the script: Other installation methods - The rustup book