How to Delete Old Unused Kernels
1 |
package-cleanup --oldkernels --count=1 |
error
1 |
package-cleanup has to be executed with one of the options: --dupes, --leaves, --orphans, --problems or --cleandupes |
Please Use command Fedora
1 |
sudo dnf --setopt=protected_packages remove $(dnf repoquery --installonly --latest-limit=-1 -q) |
1 |
dnf list kernel -q |
1 2 3 4 |
Installed Packages kernel.x86_64 5.15.14-100.fc34 @updates Available Packages kernel.x86_64 5.15.16-100.fc34 updates |