Dependency failure on package updates - request tweak to rubygem-openscap package if suitable. I totally accept this is a self-inflicted issue but hoping rubygem-openscap can be repackaged accordingly.
On my CentOS 8 / foreman 2.1.3 install I have update the openscap engine from OS repo with later versions provided at https://copr.fedorainfracloud.org/coprs/openscapmaint/openscap-latest/
Seems there is a very recent update to openscap https://github.com/OpenSCAP/openscap/releases with some useful bugfixes.
However updating from the repo fails due to dependency on rubygem-openscap:
Problem: package rubygem-openscap-0.4.9-3.el8.noarch requires openscap < 1.3.4, but none of the providers can be installed - openscap-1.3.2-6.el8.i686 has inferior architecture - cannot install both openscap-1.3.4-1.el8.x86_64 and openscap-1.3.3-1.el8.x86_64 - cannot install both openscap-1.3.4-1.el8.x86_64 and openscap-1.3.2-6.el8.x86_64 - cannot install the best update candidate for package rubygem-openscap-0.4.9-3.el8.noarch - cannot install the best update candidate for package openscap-1.3.3-1.el8.x86_64 (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Package openscap-1.3.4-1.el8.x86_64 from other repo to update correctly.
I believe that the rubygem-openscap package constraints could be updated to cater for this later openscap version. I would be grateful for a second opinion if this is not possible!
Foreman and Proxy versions:
foreman v 2.2
Foreman and Proxy plugin versions:
Distribution and version:
Other relevant data:
I suspect a suitable fix could be incrementing max_openscap_version in rubygem-openscap.spec file
%global gem_name openscap %global min_openscap_version 1.2.9 %global max_openscap_version 1.3.4
Grateful for thoughts, thank you for the foreman!