Repository navigation
Conversation
…sitories
The rhel10 build of every package fails in rpm-init since the ubi10 image
ships rpm 4.19.1.1-25 while the ubi 10 repositories still serve -23:
cannot install both rpm-4.19.1.1-23.el10 from ubi-10-for-aarch64-baseos-rpms
and rpm-4.19.1.1-25.el10 from @System
rpm-build requires the exact version of rpm of its repository, so dnf has to
downgrade rpm and its dependent packages. Pass --allowerasing to let it do so.
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Member
|
Looks like @crazy-max may have fixed the remaining failures in #574 - so we may merge that one (if it goes green) |
Member
|
Closing as the other PR was merged (thanks!!) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does, in one sentence
The packages of the
rhel*targets are built again, becauserpm-initnow lets dnf downgrade the packages of a ubi image which is ahead of its repositories.Context
The
rhel10build of every package currently fails inrpm-init, on amd64 and arm64 (for instance therelease-composerun of Compose v5.7.1: https://github.com/docker/packaging/actions/runs/42984423383). Theubi10image shipsrpm-4.19.1.1-25.el10, while the ubi 10 repositories still serve-23, andrpm-buildrequires the exact version ofrpmof its repository:This is a mismatch on the Red Hat side, and the error is the same whenever the job is run again:
docker run registry.access.redhat.com/ubi10/ubi dnf install -y git rpm-build dnf-plugins-corereproduces it.What the PR brings
dnf installof therhel*case ofrpm-initis run with--allowerasing, so that dnf downgradesrpm(and the packages depending on its exact version) to what the repositories provide, then installsrpm-build. I ran it inubi10/ubi(arm64): the command succeeds and leavesrpmandrpm-buildin4.19.1.1-23.el10.Not changed: the other distributions, and the packages which get built.
🤖 Generated with Claude Code