Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Once subscription-manager is installed on a fresh and up-to-date Fedora system, whenever I try to update with "dnf upgrade", the 'updates' repo offers a strange subscription-manager-rhsm-certificates with a version that doesn't match the same scheme than the one in regular 'fedora' repo. That RPM version conflicts with subscription-manager package. Version-Release number of selected component (if applicable): First reproduced on Fedora 36. How reproducible: Always. Steps to Reproduce: 1. Start with a fresh Fedora system 2. dnf upgrade -y 3. dnf install subscription-manager -y # Everything fine so far 4. dnf upgrade -y Actual results: Conflict (see comment) Expected results: Successful upgrade. Additional info:
The conflict is like this: dnf upgrade Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Last metadata expiration check: 0:08:55 ago on Mon 22 Aug 2022 05:24:35 PM UTC. Dependencies resolved. Problem: package python3-subscription-manager-rhsm-1.29.21-2.fc36.x86_64 requires subscription-manager-rhsm-certificates = 1.29.21-2.fc36, but none of the providers can be installed - cannot install both subscription-manager-rhsm-certificates-20220425-1.fc36.noarch and subscription-manager-rhsm-certificates-1.29.21-2.fc36.x86_64 - cannot install the best update candidate for package subscription-manager-rhsm-certificates-1.29.21-2.fc36.x86_64 - cannot install the best update candidate for package python3-subscription-manager-rhsm-1.29.21-2.fc36.x86_64 ============================================================================================================================================================================================================================================= Package Architecture Version Repository Size ============================================================================================================================================================================================================================================= Skipping packages with conflicts: (add '--best --allowerasing' to command line to force their upgrade): subscription-manager-rhsm-certificates noarch 20220425-1.fc36 updates 19 k Transaction Summary ============================================================================================================================================================================================================================================= Skip 1 Package Nothing to do. Complete! The funniest thing is how subscription-manager-rhsm-certificates-1.29.21-2.fc36.x86_64 was installed from fedora repo, but updates repo offers subscription-manager-rhsm-certificates-20220425-1.fc36.noarch . The version schemes are different.
Hi Pablo, we updated subscription-manager-rhsm-certificates to a newer version (built from an own source, with its own version), however we did not update subscription-manager too. The issue is already reported as bug 2089022, and we are in the process of updating the subscription-manager stack (subscription-manager + subscription-manager-rhsm-certificates + subscription-manager-cockpit) down to f36. *** This bug has been marked as a duplicate of bug 2089022 ***