This request is superseded by
request 1226590
(Show diff)
Overview
Request 1225856 superseded
- Add a Requires(preun) to ensure that libgio is available when
uninstalling glib2-tools. Otherwise, glib-compile-schemas might
fail to load when uninstalling (bsc#1231463).
- Created by mgorse
- In state superseded
- Superseded by 1226590
- Open review for gnome-maintainers
Loading...
Request History
mgorse created request
- Add a Requires(preun) to ensure that libgio is available when
uninstalling glib2-tools. Otherwise, glib-compile-schemas might
fail to load when uninstalling (bsc#1231463).
gnome-review-bot accepted review
Check script succeeded
dimstar declined request
See comments - the specified dependency chain can't produce a valid upgrade transaction in the end
superseded by 1226590
I somewhat doubt this will work - for the 'transaction' to be valid:
That means, the transaction would only be valid when: uninstall glib2-tools, upgrade libgio, install glib2-tools; but that's not how RPM operates in upgrade scenarios
Would just
Requires(preun): %{libgio}
avoid breaking upgrade transactions? I'm trying to fix the order of uninstallation when removing glib2-tools so that libgio isn't uninstalled first.
I assume the postun trigger is there for upgrades. An alternative to this would be to make the scriptlet exit gracefully if glib2-compile-schemas can't be run. I just looked at what Red Hat does, and they have a || : at the end of their postun trigger, so maybe that is the right thing to do.
That should work