卡布奇诺 发表于 2020-10-17 22:49:18

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]
查看完整版本: centos8移除老内核