-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Error running "cargo install cargo-update" on Ubuntu 24.04.1 LTS #277
Comments
Ah yes, the FTR,
means this is error originates in curl-sys. The error says
and I am loathe to ask this but what does |
Many thanks for that. I am sorry but I don't know whence I got cargo, I would have guessed from apt as that's my preferred option but it's possible that I followed something asking me to get it some other way. (Plea in mitigation: I've been through installing so many things for the rebuild I have only really kept notes on the things that failed immediately, this was OK at first I believe.
I am guessing that says that I have two instances of cargo with the same version number but perhaps from different sources. Or perhaps not! Does it help at all? |
Well, you can tell if it's from apt by asking it ( This is something I personally like to support (well, latest debian stable, but that's a little older than yours). But this is in a dependency, so I can only forward this to curl-sys and hope their compat policy aligns with mine. If you'd instead like to "just get this to work", you probably want to install rust/cargo from rustup, cf. https://rustup.rs. (You can then |
Looks reported in alexcrichton/curl-rust#576 already |
Thanks @nabijaczleweli I clearly had the apt install (and thanks to you I have learned useful things about how to find out whether apt is the source of a package/program!) Like you, I would much prefer to stay with the Ubuntu repositories as my primary source of things but I decided that this time I would go for the "just work" and removed the existing installs and pulled rust/cargo from rustup and then |
…ntax for rustc-check-cfg (#581) * Use cargo: (universally supported) instead of cargo:: (1.80+ only) syntax for rustc-check-cfg Ref: commit e67e733 Ref: #575 Closes #576 Closes nabijaczleweli/cargo-update#277 * GitHub CI for rustc 1.75 (Ubuntu LTS 24.04) * Dockerfile-musl needs to follow redirects
Should now work on ubuntu cargo by pulling in curl-rust 0.4.77. |
I hope this is a sensible place to report this. This has been consistent for me over a few days now on Ubuntu 24.04.1 LTS on two separate machines. I get the error running topgrade
When I run
cargo install-update
I get all of this (giving all in case it is useful, error is at the end)Watching the process I think the error comes up at "103/113" in the processing of cargo-update.
I am just a Linux/Ubuntu end user but happy to report more information about the two systems and do anything that maybe helpful if I am given fairly luser-proof instructions.
TIA,
Chris
The text was updated successfully, but these errors were encountered: