Thorsten Kukuk píše v St 22. 11. 2017 v 10:01 +0100:
Hi,
if you never heard of /var/adm/update-scripts and your packages are not using it, you can ignore this.
In the good old times, libzypp wasn't able to handle RPM %posttrans scripts correct (which shows, that the old times were not always good ;) ). A workaround for this was to use update-scripts.
Since some years (SLE12) libzypp supports now RPM %posttrans scripts, so there is no need anymore to use update-scripts as workaround. The maintainers would like now to remove support of /var/adm/update- scripts from libzypp. Why? Because it creates a lot of additional efford for everybody. You have to implement everything twice (once for RPM, once for libzypp) and test everything twice. And since this is so much work, a lot of developer don't do that, which leads to bugs depending on how you install or update a package.
So, if you use update-scripts as RPM %posttrans replacement, please change your spec files to only use RPM %posttrans scripts.
If you need update-scripts for something else and you cannot remove it, please speak up now. But you should have a good answer to "what does happen if your package is installed or updated with plain rpm?".
Great plan, I have but one question, could we first implement rpmlint error and fail all the current packages that are using it? It is just one sure way to get them all fixed quickly. Also overall I think most installations will have it from texlive and some fonts. Cheers Tom