Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
If postgresql related packages are installed from rhel-7-server-rpms , then upgrading that Capsule 6.9 to 6.10 will fail with the following error :
~~
Error: rh-postgresql12-postgresql-syspaths conflicts with postgresql-9.2.24-7.el7_9.x86_64
~~
Version-Release number of selected component (if applicable):
Satellite Capsule 6.10 ( being upgraded from 6.9 )
How reproducible:
Easily
Steps to Reproduce:
1. Install a Satellite 6.10 and Capsule 6.9
2. Do a "yum install postgresql" on that capsule server
3. Try upgrading that capsule to 6.10
Actual results:
2021-11-17 09:19:31 [ERROR ] [configure] Execution of '/bin/yum -d 0 -e 0 -y install rh-postgresql12-postgresql-syspaths' returned 1: Error: rh-postgresql12-postgresql-syspaths conflicts with postgresql-9.2.24-7.el7_9.x86_64
2021-11-17 09:19:31 [ERROR ] [configure] You could try using --skip-broken to work around the problem
2021-11-17 09:19:31 [ERROR ] [configure] You could try running: rpm -Va --nofiles --nodigest
2021-11-17 09:19:31 [ERROR ] [configure] Loaded plugins: langpacks, product-id, subscription-manager
2021-11-17 09:19:31 [ERROR ] [configure] /Stage[main]/Postgresql::Client/Package[postgresql-client]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum -d 0 -e 0 -y install rh-postgresql12-postgresql-syspaths' returned 1: Error: rh-postgresql12-postgresql-syspaths conflicts with postgresql-9.2.24-7.el7_9.x86_64
Expected results:
The installer or satellite-maintain should be able to solve this conflict on its own or we need to mark "rpm -e --nodeps postgresql" as a mandatory pre-requisite for Capsule upgrade to 6.10 in Upgrade helper as well as upgrade guide
Additional info:
We had fixed a similar bug back in Satellite 6.8 when base postgresql was being migrated to RHSCL one. But that fix was never required in capsule until now.
Almost every customer tried to upgrade the capsules to 6.10 have landed onto this issue and the simplest solution was
# rpm -e --nodeps postgresql
and then re-run the upgrade