You are not logged in.

#1 2023-10-09 18:35:53

JasonMehmel
Member
Registered: 2015-10-06
Posts: 186

Updating Cargo beyond the repositories?

Decided I wanted my laptop to update it's time zone based on the network I was connecting to.

I was trying to install tzupdate:

https://github.com/cdown/tzupdate

Which needed Cargo, which I got from the repositories that come along with BunsenLabs.

But when I tried using cargo to get tzupdate, I got an error:

Caused by:
  failed to parse the `edition` key

Caused by:
  this version of Cargo is older than the `2021` edition, and only supports `2015` and `2018` editions.

I'm leery about adding any other repositories to my system, because that way lies madness. (I've already got just a few for Chrome and Skype, don't hate me!)

Does anyone have experience updating Cargo? I'll add repositories if I have to!


Fortune favours the bold.
ThinkPad T15 Gen 2i

Offline

#2 2023-10-11 21:24:14

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: Updating Cargo beyond the repositories?

JasonMehmel wrote:

But when I tried using cargo to get tzupdate, I got an error:

Caused by:
  failed to parse the `edition` key

Caused by:
  this version of Cargo is older than the `2021` edition, and only supports `2015` and `2018` editions.

I guess you are on Beryllium/Bullseye. If you upgrade to Debian 12/Bookworm, you can install cargo_0.66.0+ds1-1_amd64.deb from 2023-01-12, instead of cargo_0.47.0-3+b1_amd64.deb from 2020-12-08.

Current BL boron beta2, is good enough for new installation. Download from https://sourceforge.net/projects/bunsenlabs-releases/


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#3 2023-10-17 00:53:49

JasonMehmel
Member
Registered: 2015-10-06
Posts: 186

Re: Updating Cargo beyond the repositories?

Interesting. BL Boron is just about ready for general use, right? I can probably wait that long and just upgrade my whole system rather than doing a new install? (Also choosing the lazy option so I don't need to migrate all my config files!)


Fortune favours the bold.
ThinkPad T15 Gen 2i

Offline

Board footer

Powered by FluxBB