Attended Sysupgrade & preserving packages

I wish to upgrade my firmware from 25.12.1 to 25.12.2 and preserve my installed software packages. Trying to do so via LuCI right now results in a "server overload" error, so I thought I'd try the command line option described in the docs here.

Before I do so I want to check that the instructions are up to date and relevant to 25.12 series - i.e. that executing the following script (at the above link) will result in my packages being preserved:

sysupgrade -k -b - \
| tar -O -z -x -f - /etc/backup/installed_packages.txt \
| awk -e '/\s(overlay|unknown)$/{print $1}

I do not presently have an /etc/backup dir. Does this command create one from the list of packages installed by apk? I note that the Sysupgrade – Technical Reference docs still refer to opkg, specifically, under the section describing which files get preserved there is this:

opkg list-changed-conffiles - list of files derived by package manager.

How is this relevant to 25.12 series & apk?

Right at the top the Sysupgrade – Technical Reference docs it says:

This information is based upon v21.02, last updated for commit 6d266ef158 on 2022-02-10.

Is this doc up to date?

Many thanks in advance.

Use owut from ssh, it got a built in que system, it'll auto upgrade with all your packages, once it's your turn.

1 Like

I’m seeing a ~200 entry limit to the owut queue. Is there another command-line option I should be using to have the local owut queue it also?

root@gw:~# owut upgrade -V 25.12
ASU-Server     https://sysupgrade.openwrt.org
Upstream       https://downloads.openwrt.org
Target         bcm27xx/bcm2712
Profile        rpi-5
Package-arch   aarch64_cortex-a76
Version-from   25.12.1 r32768-b21cfa8f8c (kernel 6.12.74)
Version-to     25.12.2 r32802-f505120278 (kernel 6.12.74)
24 packages are out-of-date
There are 8 missing and 1 modified default packages
WARNING: There are 8 missing default packages, confirm this is expected before proceeding (run 'owut check --verbose' for details)
--
Status:   server overload, queue contains too many build requests: 201
Progress:   0s total =   0s in queue +   0s in build

Build failed in   0s total =   0s in queue +   0s to build:
ERROR: Build failed with status 529 (--version-to 25.12.2 --device bcm27xx/bcm2712:rpi-5:ext4)
The above errors are often due to the upgrade server lagging behind the
build server, first suggestion is to wait a while and try again.

All ASU clients (LuCI Attended Sysupgrade, owut and the Firmware Selector) use the same ASU server, so that queue limit applies everywhere. Just wait a day for the 25.12.2 stampede to abate somewhat and they will all start working again...

3 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.