What if we have a package that
yum/dnf does not want to uninstall due to the broken dependencies or an uninstall scriptlets that won’t work?
The error itself can look like:
error: %preun(PACKAGE) scriptlet failed, exit status 1
If that happens, use either
--noscripts options with
rpm -e (erase):
# rpm -e --nodeps --noscripts PACKAGE
← IT'S OUT NOW
I wrote a complete guide on web application deployment. Ruby with Puma, Python with Gunicorn, NGINX, PostgreSQL, Redis, networking, processes, systemd, backups, and all your usual suspects.