Repository navigation
rustup update nightly fails #268
Description
Activity
Just encountered the same error on Ubuntu:
$ rustup update nightly info: syncing channel updates for 'nightly-i686-unknown-linux-gnu' error: manifest missing package for component rust-std-aarch64-unknown-linux-gnuCan confirm on windows and linux.
This was caused by rust-lang-deprecated/rust-buildbot@70357d9, fixed in rust-lang-deprecated/rust-buildbot@d4319e0, and should be ready by tomorrow night.
In either case, though, seems like rustup should be resilient to slightly malformed manifests?
@alexcrichton This check is to explicitly to guard against the servers producing incorrect manifests (and it worked!).
For this particular check we might instead silently note that the component is busted and pretend it doesn't exist (if it's optional). If a required component is broken we might pretend the whole host architecture doesn't exist.
We could also run the rustup manifest validator, such as it is, on the server before deploying (I'd strongly prefer not deploying bogus data).
Ah yeah a validator is probably the best way to go here.
Same here with Windows:
rustup update nightly-x86_64-pc-windows-msvc
info: syncing channel updates for 'nightly-x86_64-pc-windows-msvc'
error: manifest missing package for component rust-std-aarch64-unknown-linux-gnuIt's working for me now (must've built a new nightly).
Reacted by pravicIn the meantime I'm going to change this error to more clearly indicate this isn't an end-user problem.
triage - @brson I think this can be closed.
I'm getting this error for
nightlytoday. In a freshubuntucontainer:$ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly info: downloading installer info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu' error: server sent a broken manifest: missing package for component rust-analysis-aarch64-apple-ios info: caused by: package not found: 'rust-analysis' rustup: command failed: /tmp/tmp.fPP2ubNCWO/rustup-init -y --default-toolchain nightly
stableseems to be fine.Getting it on Windows 10 Pro x64 1607 as well:
PS C:\Users\FaultyRAM> rustup --verbose update verbose: read metadata version: '12' verbose: updating existing install for 'nightly-x86_64-pc-windows-msvc' verbose: toolchain directory: 'C:\Users\FaultyRAM\.rustup\toolchains\nightly-x86_64-pc-windows-msvc' info: syncing channel updates for 'nightly-x86_64-pc-windows-msvc' verbose: creating temp file: C:\Users\FaultyRAM\.rustup\tmp\grm_04yq8kfb9364_file verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-nightly.toml.sha256' verbose: downloading with curl verbose: deleted temp file: C:\Users\FaultyRAM\.rustup\tmp\grm_04yq8kfb9364_file verbose: creating temp file: C:\Users\FaultyRAM\.rustup\tmp\7f5qejt2hto7k70z_file.toml verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-nightly.toml' verbose: downloading with curl verbose: checksum passed verbose: deleted temp file: C:\Users\FaultyRAM\.rustup\tmp\7f5qejt2hto7k70z_file.toml error: server sent a broken manifest: missing package for component rust-analysis-aarch64-apple-ios info: checking for self-updates nightly-x86_64-pc-windows-msvc update failed - rustc 1.17.0-nightly (306035c21 2017-02-18)
PS C:\Users\Administrator\.cargo\bin> rustup --verbose update verbose: read metadata version: '12' verbose: updating existing install for 'stable-i686-pc-windows-gnu' verbose: toolchain directory: 'C:\Users\Administrator\.rustup\toolchains\stable-i686-pc-windows-gnu' info: syncing channel updates for 'stable-i686-pc-windows-gnu' verbose: creating temp file: C:\Users\Administrator\.rustup\tmp\tnvi1j4aajdot318_file verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256' verbose: downloading with curl verbose: deleted temp file: C:\Users\Administrator\.rustup\tmp\tnvi1j4aajdot318_file verbose: toolchain is already up to date verbose: updating existing install for 'nightly-i686-pc-windows-gnu' verbose: toolchain directory: 'C:\Users\Administrator\.rustup\toolchains\nightly-i686-pc-windows-gnu' info: syncing channel updates for 'nightly-i686-pc-windows-gnu' verbose: creating temp file: C:\Users\Administrator\.rustup\tmp\mhwfnsbhn86w7qva_file verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-nightly.toml.sha256' verbose: downloading with curl verbose: deleted temp file: C:\Users\Administrator\.rustup\tmp\mhwfnsbhn86w7qva_file verbose: creating temp file: C:\Users\Administrator\.rustup\tmp\hzag9llf5qhjktr5_file.toml verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-nightly.toml' verbose: downloading with curl verbose: checksum passed verbose: deleted temp file: C:\Users\Administrator\.rustup\tmp\hzag9llf5qhjktr5_file.toml error: server sent a broken manifest: missing package for component rust-analysis-aarch64-apple-ios info: checking for self-updates stable-i686-pc-windows-gnu unchanged - rustc 1.15.1 (021bd294c 2017-02-08) nightly-i686-pc-windows-gnu update failed - rustc 1.11.0-nightly (bb4a79b08 2016-06-15)I have the same problem :
⇒ rustup update info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu' info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu' error: server sent a broken manifest: missing package for component rust-analysis-aarch64-apple-ios info: checking for self-updates stable-x86_64-unknown-linux-gnu unchanged - rustc 1.15.1 (021bd294c 2017-02-08) nightly-x86_64-unknown-linux-gnu update failed - rustc 1.17.0-nightly (668864d9e 2017-02-16)@alexcrichton linked this patch as a fix in another issue: rust-lang/rust#40111
On OS X: