解决CentOS Yum 命令安装软件时出现fwupdate-efi和grub2-common冲突

笔者在安装了Cent OS 7.5后,手动安装了桌面系统。在使用Yum命令时,出现了Transaction check error:file
/boot/efi/EFI/redhat from install of fwupdate-efi-12-5.el7.x86_64
conflicts with file from package
grub2-common-1:2.02-0.65.el7_4.2.noarch的错误信息,现分享解决方案如下——

该问题源于文件的版本冲突:
grub2-common包的冲突,所以要将该包使用yum update grub2-common命令进行更新。

54373-n735i527y5.png

解决方案:

#yum update grub2-common
#yum install fwupdate-efi

即可解决。

解决方案原文:

Restating the issue:

This will not affect RHEL 7.6 fresh installs as that will come with the updated grub2-common. fwupdate-efi conflicts with all versions of grub2-common below grub2-common-2.02-0.76.el7.noarch currently. 


 # rpm -q grub2-common
    grub2-common-2.02-0.65.el7_4.2.noarch

 # yum groupinstall "Server with GUI"
    Transaction check error:
      file /boot/efi/EFI/redhat from install of fwupdate-efi-12-5.el7.x86_64 conflicts with file from package grub2-common-1:2.02-0.65.el7_4.2.noarch

 # yum install fwupdate-efi
    Transaction check error:
      file /boot/efi/EFI/redhat from install of fwupdate-efi-12-5.el7.x86_64 conflicts with file from package grub2-common-1:2.02-0.65.el7_4.2.noarch


*** Updating grub2-common will workaround this issue allowing customers to install Server with GUI or fwupdate-efi as required ***

 # yum update grub2-common
 # rpm -q grub2-common
   grub2-common-2.02-0.76.el7.noarch
 # yum install fwupdate-efi

原文链接



标签: linux centos