centos8移除老内核
centos8 提示 low disk space on boot这里我们采取移除老的多余内核
网上查资料发现大多是如下写法:
package-cleanup --oldkernels --count=2 -y实际执行会发现报异常:
package-cleanup has to be executed with one of the options: --dupes, --leaves, --orphans, --problems or --cleandupes进一步查资料,执行如下语句成功:
dnf remove --oldinstallonly --setopt installonly_limit=2
资料来源
页:
[1]