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.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2020:1090
Description of problem: libffi-devel will not uninstall when installed with tsflags=nodocs. Version-Release number of selected component (if applicable): libffi-3.0.13-18.el7 How reproducible: 100% Steps to Reproduce: 1. yum install --setopt=tsflags=nodocs libffi-devel 2. yum erase --setopt=tsflags=nodocs libffi-devel Actual results: $ sudo yum -y install --setopt=tsflags=nodocs libffi-devel [sudo] password for yselkowi: Loaded plugins: auto-update-debuginfo, product-id, search-disabled- : repos, subscription-manager Resolving Dependencies --> Running transaction check ---> Package libffi-devel.aarch64 0:3.0.13-18.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ===================================================================== Package Arch Version Repository Size ===================================================================== Installing: libffi-devel aarch64 3.0.13-18.el7 rhel-7-for-arm-64-rpms 22 k Transaction Summary ===================================================================== Install 1 Package Total download size: 22 k Installed size: 23 k Downloading packages: libffi-devel-3.0.13-18.el7.aarch64.rpm | 22 kB 00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : libffi-devel-3.0.13-18.el7.aarch64 1/1 install-info: No such file or directory for /usr/share/info/libffi.info.gz warning: %post(libffi-devel-3.0.13-18.el7.aarch64) scriptlet failed, exit status 1 Non-fatal POSTIN scriptlet failure in rpm package libffi-devel-3.0.13-18.el7.aarch64 Verifying : libffi-devel-3.0.13-18.el7.aarch64 1/1 Installed: libffi-devel.aarch64 0:3.0.13-18.el7 Complete! $ sudo yum -y erase --setopt=tsflags=nodocs libffi-devel Loaded plugins: auto-update-debuginfo, product-id, search-disabled- : repos, subscription-manager Resolving Dependencies --> Running transaction check ---> Package libffi-devel.aarch64 0:3.0.13-18.el7 will be erased --> Finished Dependency Resolution Dependencies Resolved ===================================================================== Package Arch Version Repository Size ===================================================================== Removing: libffi-devel aarch64 3.0.13-18.el7 @rhel-7-for-arm-64-rpms 23 k Transaction Summary ===================================================================== Remove 1 Package Installed size: 23 k Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction install-info: No such file or directory for /usr/share/info/libffi.info.gz error: %preun(libffi-devel-3.0.13-18.el7.aarch64) scriptlet failed, exit status 1 Error in PREUN scriptlet in rpm package libffi-devel-3.0.13-18.el7.aarch64 Verifying : libffi-devel-3.0.13-18.el7.aarch64 1/1 Failed: libffi-devel.aarch64 0:3.0.13-18.el7 Expected results: Package successfully uninstalls even with tsflags=nodocs. Additional info: The install-info commands should have ||: appended for this very reason, per: https://fedoraproject.org/wiki/Packaging:Scriptlets#Texinfo For QE, please consider adding an install/erase sequence with tsflags=nodocs (and perhaps other similar options) to TPS for all packages to catch similar cases.