安全更新
dnf upgrade-minimal –security
报错信息: install of kernel-debuginfo-5.10.134-16.3.al8.x86_64 conflicts with file from package kernel-debuginfo-5.10.134-16.2.al8.x86_64
Linux 系统上两个版本的 kernel-debuginfo 包之间存在文件冲突。
环境:
# cat /etc/redhat-release
Alibaba Cloud Linux release 3 (Soaring Falcon)
处理步骤:
the older version (5.10.134-16.2.al8.x86_64)
the newer verion (5.10.134-16.3.al8.x86_64)
## Remove the older version of the debuginfo package
sudo dnf remove kernel-debuginfo-5.10.134-16.2.al8.x86_64
##Clean the package manager cache
sudo dnf clean all
##Reinstall the newer version:
sudo dnf install kernel-debuginfo-5.10.134-16.3.al8.x86_64
##Check for remaining conflicts:
sudo dnf check
图片from chatgpt