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 1720457

Summary: leapp failed when xchat is installed on RHEL7
Product: Red Hat Enterprise Linux 7 Reporter: Jay Shin <jaeshin>
Component: leappAssignee: Vinzenz Feenstra [evilissimo] <vfeenstr>
Status: CLOSED UPSTREAM QA Contact: Alois Mahdal <amahdal>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.6CC: mbocek, vfeenstr
Target Milestone: rcKeywords: Upgrades
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-12 09:45:04 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:
Bug Depends On: 1723113    
Bug Blocks:    

Description Jay Shin 2019-06-14 05:02:12 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. enable optional repository
2. yum install xchat
3. leapp upgrade

Actual results:

Running transaction check
Error: transaction check vs depsolve:
(enchant or enchant2) is needed by hexchat-2.14.1-2.el8.x86_64
rpmlib(RichDependencies) <= 4.12.0-1 is needed by hexchat-2.14.1-2.el8.x86_64
To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'.
You probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue.
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.


Expected results:


Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
Complete!
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.



Additional info:

Workaround is to remove xchat from system, the try again to upgrade.

# yum remove xchat

===================================================================================================================================================================================
 Package                           Arch                               Version                                       Repository                                                Size
===================================================================================================================================================================================
Removing:
 xchat                             x86_64                             1:2.8.8-23.el7                                @rhel-7-server-optional-rpms                             3.7 M

Transaction Summary
===================================================================================================================================================================================
Remove  1 Package

Comment 2 Vinzenz Feenstra [evilissimo] 2019-06-14 08:26:04 UTC
This is a known problem - Currently packages that would required rich dependencies are not supported and need to be removed. Another way beside removing it manually is adding xchat to /etc/leapp/transaction/to_remove

However the linked GitHub Pull Request is already adding support for newer RPM features and in a future release will be taken care of.

Comment 3 Michal Bocek 2019-09-11 16:03:26 UTC
Jay, could you please rerun your use case with the latest publicly released leapp-repository? Packages with rich dependencies shouldn't be causing failures during the upgrade now.