Skip to content

CI: apt-get update before purging host packages#18609

Merged
behlendorf merged 1 commit into
openzfs:masterfrom
chrislongros:ci/qemu-apt-update-before-remove
Jun 1, 2026
Merged

CI: apt-get update before purging host packages#18609
behlendorf merged 1 commit into
openzfs:masterfrom
chrislongros:ci/qemu-apt-update-before-remove

Conversation

@chrislongros
Copy link
Copy Markdown
Contributor

@chrislongros chrislongros commented May 31, 2026

Motivation and Context

As reported in #18607, every qemu-x86 job currently fails at the Setup QEMU step with a 404 while fetching a Java package. The package-cleanup runs against a stale host's package index, so apt resolves a package version that has since been removed from the repository.

Description

  • Run apt-get update before the package removal in qemu-1-setup.sh so the versions apt resolves match what the repository actually serves.

How Has This Been Tested?

Pushed to a fork branch; the full qemu matrix now passes the Setup QEMU step on every distro.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Quality assurance (non-breaking change which makes the code more robust against bugs)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

Closes #18607

The package removal ran against a stale package index and failed to
fetch a package that had been removed from the repository. Refresh
the index first.

Signed-off-by: Christos Longros <chris.longros@gmail.com>
Copy link
Copy Markdown
Contributor

@behlendorf behlendorf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for sorting this out!

@behlendorf behlendorf added the Status: Accepted Ready to integrate (reviewed, tested) label Jun 1, 2026
@behlendorf behlendorf merged commit bfb914c into openzfs:master Jun 1, 2026
43 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Accepted Ready to integrate (reviewed, tested)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: qemu matrix fails on apt 404 for openjdk-21

2 participants