Method making dnf/yum not update certain packages. The method is simple. Add this line to dnf or yum’s configuration file: exclude =package_names package_name_pattern. For example, to exclude package kernel, nss and nss- from being updated, the line will be: exclude=kernel* nss nss-*. Package names are separated by a space.
To skip installing or updating kernel or other packages while using the yum update utility in Red Hat Enterprise Linux 5, 6, and 7, use following options: Temporary solution via Command line: # yum update --exclude=PACKAGENAME For example, to exclude all kernel related packages:
22.08.2019 · sudo dnf update --exclude=kernel* Or you can look at this other topic: [Howto] How can I exclude selected packages when I run dnf update command? 7 Likes. Slow boot / Black screen after kernel selections F31. ferdnyc (Frank Dana …
Set installonly_limit=5 in /etc/dnf/dnf. · Manually uninstall any kernel releases between your running kernel and the newest one. · Whenever a new kernel build ...