Created attachment 1353600 [details] rpm log Description of problem: %transfiletriggerpostun scriptlet of "shared-mime-info" package is not called after package "djvulibre" has been uninstalled. shared-mime-info's spec file contains: %transfiletriggerpostun -- %{_datadir}/mime update-mime-database -n %{_datadir}/mime djvulibre package contains (among others): /usr/share/mime/packages/djvulibre-mime.xml Version-Release number of selected component (if applicable): rpm-4.14.0-2.fc27.x86_64 share-mime-info-1.9-1.fc27.x86_64 djvulibre-3.5.27-4.fc27.x86_64 How reproducible: always Steps to Reproduce: 1. dnf install djvulibre 2. rpm -e -vv djvulibre Actual results: no triggerpostun in the output (and the database is not updated - but it also depends on the "-n" flag) Expected results: triggerpostun in the output Additional info: Spotted when working on https://bugzilla.redhat.com/show_bug.cgi?id=1513188. It seems that the scriptlet "%transfiletriggerpostun" from "hicolor-icon-theme" package is executed.
Easily reproduced, will investigate. Thanks for reporting!
Fixed upstream: https://github.com/rpm-software-management/rpm/commit/db1b99db2543b2c2526a2e116daeffa0498d5de4 This will need updates to all Fedora versions.
rpm-4.14.1-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-cf91c45f15
rpm-4.14.1-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-cf91c45f15
rpm-4.14.1-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
rpm-4.13.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d4cacdf9bc
rpm-4.13.1-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d4cacdf9bc
rpm-4.13.1-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.