Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustup update nightly fails #268

Closed
TimNN opened this issue Apr 5, 2016 · 15 comments
Closed

rustup update nightly fails #268

TimNN opened this issue Apr 5, 2016 · 15 comments

Comments

@TimNN
Copy link
Contributor

TimNN commented Apr 5, 2016

On OS X:

> rustup --version
rustup 0.1.3
> rustup toolchain list
nightly
nightly-2016-03-26
nightly-2016-03-26-x86_64-apple-darwin
nightly-2016-04-02-x86_64-apple-darwin
nightly-x86_64-apple-darwin
stable
> rustup --verbose update nightly
verbose: read metadata version: '12'
verbose: updating existing install for 'nightly-x86_64-apple-darwin'
verbose: toolchain directory: '/Users/logic/.multirust/toolchains/nightly-x86_64-apple-darwin'
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
verbose: creating temp file: /Users/logic/.multirust/tmp/umkvy9x4hmpu77ck_file
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-nightly.toml.sha256'
verbose: deleted temp file: /Users/logic/.multirust/tmp/umkvy9x4hmpu77ck_file
verbose: creating temp file: /Users/logic/.multirust/tmp/uo7vqtorg5gcyg9f_file.toml
verbose: downloading file from: 'https://static.rust-lang.org/dist/channel-rust-nightly.toml'
verbose: checksum passed
verbose: deleted temp file: /Users/logic/.multirust/tmp/uo7vqtorg5gcyg9f_file.toml
error: manifest missing package for component rust-std-aarch64-unknown-linux-gnu
> rustup --verbose update nightly-2016-04-05                                                                                                                           
verbose: read metadata version: '12'
verbose: installing toolchain 'nightly-2016-04-05-x86_64-apple-darwin'
verbose: toolchain directory: '/Users/logic/.multirust/toolchains/nightly-2016-04-05-x86_64-apple-darwin'
info: syncing channel updates for 'nightly-2016-04-05-x86_64-apple-darwin'
verbose: creating temp file: /Users/logic/.multirust/tmp/cs6suxkfhg3s8fir_file
verbose: downloading file from: 'https://static.rust-lang.org/dist/2016-04-05/channel-rust-nightly.toml.sha256'
verbose: deleted temp file: /Users/logic/.multirust/tmp/cs6suxkfhg3s8fir_file
verbose: no update hash at: '/Users/logic/.multirust/update-hashes/nightly-2016-04-05-x86_64-apple-darwin'
verbose: creating temp file: /Users/logic/.multirust/tmp/v8c4gqhcjbck3e1w_file.toml
verbose: downloading file from: 'https://static.rust-lang.org/dist/2016-04-05/channel-rust-nightly.toml'
verbose: checksum passed
verbose: deleted temp file: /Users/logic/.multirust/tmp/v8c4gqhcjbck3e1w_file.toml
error: manifest missing package for component rust-std-aarch64-unknown-linux-gnu
@plumenator
Copy link

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-gnu

@Bobo1239
Copy link

Bobo1239 commented Apr 5, 2016

Can confirm on windows and linux.

@alexcrichton
Copy link
Member

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?

@brson
Copy link
Contributor

brson commented Apr 5, 2016

@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.

@brson
Copy link
Contributor

brson commented Apr 5, 2016

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).

@alexcrichton
Copy link
Member

Ah yeah a validator is probably the best way to go here.

@pravic
Copy link

pravic commented Apr 6, 2016

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-gnu

@mattico
Copy link
Contributor

mattico commented Apr 6, 2016

It's working for me now (must've built a new nightly).

@brson
Copy link
Contributor

brson commented Apr 6, 2016

In the meantime I'm going to change this error to more clearly indicate this isn't an end-user problem.

@peschkaj
Copy link
Contributor

peschkaj commented May 2, 2016

triage - @brson I think this can be closed.

@TimNN TimNN closed this as completed May 2, 2016
@KodrAus
Copy link

KodrAus commented Feb 26, 2017

I'm getting this error for nightly today. In a fresh ubuntu container:

$ 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

stable seems to be fine.

@FaultyRAM
Copy link

FaultyRAM commented Feb 26, 2017

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)

@bitbegin
Copy link

bitbegin commented Feb 26, 2017

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)

@gbip
Copy link

gbip commented Feb 26, 2017

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)

@KodrAus
Copy link

KodrAus commented Feb 26, 2017

@alexcrichton linked this patch as a fix in another issue: rust-lang/rust#40111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests