Skip to content

Survive armhf libsystemd0 version skew in the linux-armv7 dependency install - #128

Merged
chrisuthe merged 1 commit into
mainfrom
chrisuthe/task/survive-armhf-libsystemd0-version-skew-in-the
Nov 19, 2026
Merged

chrisuthe merged 1 commit into
mainfrom
chrisuthe/task/survive-armhf-libsystemd0-version-skew-in-the

Conversation

@chrisuthe

@chrisuthe chrisuthe commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

The linux-armv7 leg failed now and then with "held broken packages" because libsystemd0/libudev1 are Multi-Arch: same: the armhf copy from ports.ubuntu.com must exactly match the amd64 one the runner image ships, and the two drift while a systemd update propagates.

The apt part of the step moves into scripts/install_armhf_deps.sh, which, on each attempt:

  • prints the installed host versions next to the armhf candidates;
  • installs both libraries on both arches at one version: upgrades the host side to the armhf candidate when that is newer and the host sources carry it, otherwise pins armhf to the installed host version if ports carries it (never downgrades the host);
  • then runs the existing armhf install, with phased updates still taken.

It tries three times, waiting 2 then 4 minutes in between. That stays within the leg's 20-minute timeout, since the leg normally takes about 4 minutes. If the last attempt fails, it ends with a ::error:: per mismatched package naming both versions.

The source setup, the pinning to the runner's VERSION_CODENAME, and the binfmt probe are unchanged. The only host-arch packages it can add are the two runtime libraries, never a -dev.

On this PR's own CI run the runner had amd64 255.4-1ubuntu8.18 while ports served .19. That is the skew from #126, and the leg aligned to .19 and passed.

Compatibility

CI-only change. Nothing breaks for CLI users: no flags, config, protocol, state format, exit codes or shipped binaries change.

Closes #126

@chrisuthe
chrisuthe marked this pull request as ready for review November 19, 2026 21:14
@chrisuthe
chrisuthe merged commit 8fa5c4d into main Nov 19, 2026
20 checks passed
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

Successfully merging this pull request may close these issues.

linux-armv7: armhf dependency install fails when libsystemd0 versions skew between the runner and ports.ubuntu.com

1 participant