Closed mmstick closed 2 years ago
When trying to upgrade from 21.10 I got the following error:
system76@pop-os:~$ pop-upgrade release upgrade
checking if pop-upgrade requires an update
Current Release: 21.10
Upgrading to: 22.04
New version available: 9
Event: updating package lists
Release upgrade status: release upgrade aborted: failed to update package lists for the current release
Journalctl is attached, anything else I should send that could help? journal-pi.log
From the logs, it looks like it errors because the daemon downgraded to the release version of pop-upgrade, which doesn't set the correct URL. You would have to run the client with env S76_TEST=1
to prevent the client from checking for updates and downgrading the daemon while testing the daemon.
Getting closer, after I ran the command a long time passed before it gave an error:
system76@pop-os:~$ env S76_TEST=1 pop-upgrade release upgrade
Current Release: 21.10
Upgrading to: 22.04
New version available: 10
Release upgrade status: systems are go for launch: reboot now
[ERROR] client/mod.rs:350: breaking connection to pop-upgrade daemon due to inactivity
Did the upgrade happen after rebooting?
Upgrade successful on my Pi 400
Ok after rebooting and re-running the script it looks like it finally actually started the upgrade process.
The first time I only got what I pasted; now i'm getting a progress and percentage.
also, could we add raspi-config? helps in setting certain things on the pi including resizing the sd image
i'll also test my 8GB pi 4 at home tonight
Spoke too soon. After it hit 100% I got:
Release upgrade status: release upgrade aborted: unable to upgrade to next release: failed to update sources
Caused by:
0: failed to update source lists
1: status is unknown: exist status: 100
Looks like pop-upgrade was updated and got the staging removed again while it was running even with the env S76_TEST=1
option
Upgrade successful on my Pi 400
I'm curious, what resolution monitor are you using? I wonder if for some reason my work monitor might be too large and is slowing the pi down
Using a VGA display with 1280x1024 resolution.
Hmm, I'm at 3840 x 1080 ... I'll try reducing it as well as try in a tty console and not gui; could also just be the factory internet
Ok, at home with my better internet and a 1440 monitor everything is upgrading perfectly.
Uses
if cfg!(aarch64) { "ports" } else { "us" }
to get the correct location for Ubuntu's source lists.Also updates Cargo dependencies.