Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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.

Bug 1653364

Summary: ipa-* conflicts with itself and can not be reinstalled because of this
Product: Red Hat Enterprise Linux 7 Reporter: jcastran
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED DUPLICATE QA Contact: ipa-qe <ipa-qe>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.6CC: frenaud, jcastran, jvilicic, pvoborni, rcritten, tscherf
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-30 09:50:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jcastran 2018-11-26 16:17:08 UTC
Description of problem:
ipa-* packages can not be reinstalled due to conflicts.

Version-Release number of selected component (if applicable):
ipa-client-4.6.4-10.el7.x86_64
ipa-client-common-4.6.4-10.el7.noarch
ipa-common-4.6.4-10.el7.noarch
ipa-server-4.6.4-10.el7.x86_64
ipa-server-common-4.6.4-10.el7.noarch


How reproducible:
Everytime

Steps to Reproduce:
# yum install ipa-client-4.6.4-10.el7.x86_64 ipa-client-common-4.6.4-10.el7.noarch ipa-common-4.6.4- 
 10.el7.noarch ipa-server-4.6.4-10.el7.x86_64 ipa-server-common-4.6.4-10.el7.noarch

# yum reinstall ipa-client-4.6.4-10.el7.x86_64 ipa-client-common-4.6.4-10.el7.noarch ipa-common-4.6.4-10.el7.noarch ipa-server-4.6.4-10.el7.x86_64 ipa-server-common-4.6.4-10.el7.noarch

Actual results:
Running transaction check
ERROR with transaction check vs depsolve:
freeipa-common conflicts with (installed) ipa-common-4.6.4-10.el7.noarch
freeipa-server-common conflicts with ipa-server-common-4.6.4-10.el7.noarch
freeipa-server-common conflicts with (installed) ipa-server-common-4.6.4-10.el7.noarch
freeipa-client-common conflicts with ipa-client-common-4.6.4-10.el7.noarch
freeipa-client-common conflicts with (installed) ipa-client-common-4.6.4-10.el7.noarch
freeipa-client conflicts with ipa-client-4.6.4-10.el7.x86_64
freeipa-admintools conflicts with ipa-client-4.6.4-10.el7.x86_64
freeipa-admintools conflicts with (installed) ipa-client-4.6.4-10.el7.x86_64
freeipa-client conflicts with (installed) ipa-client-4.6.4-10.el7.x86_64
freeipa-server conflicts with ipa-server-4.6.4-10.el7.x86_64
freeipa-server conflicts with (installed) ipa-server-4.6.4-10.el7.x86_64


Expected results:
yum reinstalls the packages successfully

Additional info:
The only way to reinstall these packages is to either remove them and reinstall them 
OR you can use rpm but you must use --nodeps and --force to reinstall them.

FAIL:
# rpm -Uvh --force ipa-server-4.6.4-10.el7.x86_64.rpm 
  error: Failed dependencies:
	  freeipa-server conflicts with ipa-server-4.6.4-10.el7.x86_64
	  freeipa-server conflicts with (installed) ipa-server-4.6.4-10.el7.x86_64

WORKING:
# rpm -Uvh --force --nodeps ipa-server-4.6.4-10.el7.x86_64.rpm 
  Preparing...                          ################################# [100%]
  Updating / installing...
     1:ipa-server-4.6.4-10.el7          ################################# [100%]

Comment 4 Florence Blanc-Renaud 2018-11-28 16:01:30 UTC
The issue related to reinstall complaining about conflicts has already been reported, please see BZ 1564747 and BZ 1370134.

Which version of yum is installed on the system?

Comment 5 jcastran 2018-11-28 16:07:41 UTC
This is the same issue with 1564747 though that one is talking about centos. Root cause is probably the same.

   yum-3.4.3-161.el7.noarch

Latest version of yum so "package-cleanup --problems" and "yum check" don't show anything about the conflicts. Only yum's transaction depsolve check finds them and stops the transaction.

Comment 6 Florence Blanc-Renaud 2018-11-30 09:50:18 UTC
Thanks for the confirmation. In this case I will close this issue as a duplicate of 1564747.

*** This bug has been marked as a duplicate of bug 1564747 ***