> You need something like this in a scriptlet:
> if systemctl is-enabled A; systemctl reenable A; done
>
> This will remove the old links and create the new ones.
Thanks Zbigniew for the idea. It seemed very promising and I tried it.
Unfortunately, it still did not help because "reenable"
> systemctl daemon-reload?
Thanks Dridi. I had forgotten to mention that I had tried daemon-reload and
that did not help.
> Isn't this handled automatically by the %systemd scriptlets?
%systemd_post macro is a no-op for upgrade case -
Hi,
I have removed dependency on service B from service A and all references to
service B. The new package works well for fresh install (service A can be
started normally), but it does not work for upgrades from previous versions
where service A used to depend on service B (starting service A