dnf.plugin.protected_packages (8) - Linux Manuals

dnf.plugin.protected_packages: DNF protected_packages Plugin


dnf.plugin.protected_packages - DNF protected_packages Plugin


Prevents any DNF operation that would result in a removal of one of the protected packages from the system. These are typically packages essential for proper system boot and basic operation.


Deciding whether a package is protected is based on the package name. The set of packages names considered protected is loaded from configuration files under:


Every line in all *.conf files there is taken as a protected package name. Moreover, the currently booted kernel package is always protected.

Complete disabling of the protected packages feature is done by disabling the plugin:

dnf --disableplugin=protected_packages erase dnf


See AUTHORS in your Core DNF Plugins distribution


2014, Red Hat, Licensed under GPLv2+