Description of problem: When updating the ibus-libs package the postun scriptlet fails and emits an error: Non-fatal POSTUN scriptlet failur in rpm package ibus-libs Version-Release number of selected component (if applicable): ibus-libs-1.5.17-5.fc27.x86_64 (and others) How reproducible: Always. Steps to Reproduce: 1. Update ibus-libs (using a method that doesn's silently hide errors) 2. See the error message Actual results: You can see that there is an issue using the command $ echo ---- ; rpm -q --scripts ibus-libs; echo ---- ---- postinstall program: /sbin/ldconfig postuninstall scriptlet (using /sbin/ldconfig): # FIXME: no version number ---- Expected results: What you expect is the following: $ echo ---- ; rpm -q --scripts -p results_ibus/1.5.17/7.fc28/ibus-libs-1.5.17-7.fc27.x86_64.rpm ; echo ---- ---- postinstall program: /sbin/ldconfig postuninstall program: /sbin/ldconfig ---- I.e. The %postun script should be empty, like the %post script is. The FIXME comment in the specfile is currently placed in the %postun scriptlet, and /sbin/ldconfig does not understand it and throws an error. Additional info: This can be fixed by moving the FIXME comment into the %files section: diff --git a/ibus.spec b/ibus.spec index b0ac4ca..8ff21f7 100644 --- a/ibus.spec +++ b/ibus.spec @@ -346,8 +346,8 @@ dconf update || : %ldconfig_scriptlets libs -# FIXME: no version number %files -f %{name}10.lang +# FIXME: no version number %doc AUTHORS COPYING README %dir %{_datadir}/ibus/ %{_bindir}/ibus The rpm used in the "Expected results" section was built with this change.
ibus-1.5.17-6.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-abc8910c09
ibus-1.5.17-6.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-27cb0cd918
ibus-1.5.17-6.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-27cb0cd918
ibus-1.5.17-6.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-abc8910c09
ibus-1.5.17-6.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
ibus-1.5.17-6.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.