Repository navigation
fix RPM conflicts in UBI builds and verification - #574
Merged
Merged
Conversation
UBI images can ship newer RPM packages than their repositories provide, preventing rpm-build and rpm-plugin-selinux from installing their exact-version dependencies. Allow DNF to remove conflicting packages during RHEL build initialization so RPM can match rpm-build. Synchronize the RPM package family in the separate verification image before installing packages that depend on SELinux. On UBI 10, this removes rpm-plugin-syslog and downgrades RPM to the version available in the repositories. Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
crazy-max
marked this pull request as ready for review
November 11, 2026 09:38
This was referenced Nov 11, 2026
Member
|
Opened a fix / workaround for the failure; |
ndeloof
approved these changes
Nov 11, 2026
Member
|
Testing both fixes combined here; #577 |
Member
Other PR was green, I'll bring this one in 👍 |
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.
relates to https://github.com/docker/packaging/actions/runs/42988937125/job/130417004174#step:19:583
UBI 10 currently ships newer RPM packages than its repositories provide, breaking installation of
rpm-buildduring builds andrpm-plugin-selinuxduring package verification. Allow DNF to remove conflicting packages when installing build dependencies, and synchronize the RPM package family in the separate verification image before installing packages.