On Wed, 2019-07-10 at 10:36 +0200, Florian Weimer wrote:
Do you have a way to remove files from search paths before remaining
scriptlets (from non-core packages, for example) run? RPM deletes
removed files very late in the transaction, and if they are still on
search paths, this might cause problems.
No ... the quick answer to a lot of similar questions is if it's not
in the current set of package scriptlets from the default image or
@server-product-environment then AFAIK nobody's thought about how to do
it another way.
So far, we have used %post scriptlets to delete these files
immediately.
It will still be technically possible to use scriptlets, if we need to
workaround upgrade problems in the future, however I'd assume the long
term goal would be that enough packages wouldn't that we wouldn't need
to do workarounds like the above.