rustup: Checksum failed for nightly channel

I just moved from multirust to rustup and experience the following problem when installing nightly:

$> rustup update nightly
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
error: checksum failed, expected: 'afb2094f716fb7167accccdbc9e213ad5e707e7b56b0175aa664108cf994eaa0', calculated: 'b60f814a446940366499a350769dab93bce25e91bb30825eebb3f74820fd8b74'

Stable and beta install just fine. Also I removed all remains of multirust from my system(removed ~/.multirust, cleared $PATH, fresh console) and tried again, no help.

To clarify, I do not have any version of nightly currently installed (it seems to work for people with nightly already installed):

$> rustup show
installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu (default)
beta-x86_64-unknown-linux-gnu

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

stable-x86_64-unknown-linux-gnu (default)
rustc 1.9.0 (e4e8b6668 2016-05-18)

I am using the current version of rustup:

$> rustup -V
rustup 0.1.12 (c6e430a 2016-05-12)

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 38 (29 by maintainers)

Commits related to this issue

Most upvoted comments

I’ve got it on OS X as well. There’s nothing cargo-y in /tmp.

@AtheMathmo yes, that enum will need a new variant. I’d name it something more indicative of it’s hacky nature, like ManifestChecksumFailedHackOmgThisSucks.

Ok I finally found the problem! I found a folder called cargo-install.we9Ct4dun7pK in /tmp. Once I removed it, nightly installed just fine. I will leave this issue open. Please close it if you don’t consider this behavior a bug.