代码音符

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

创建时间: 2018-12-10 13:44

修改时间: 2023-9-25 2:17

浏览: 772

笔者在安装了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-commonn命令进行更新。

解决方案:

# 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

原文链接:https://bugzilla.redhat.com/show_bug.cgi?id=1644438

创建时间: 2018-12-10 13:44

修改时间: 2023-9-25 2:17

浏览: 772

*本文遵循 CC BY-NC-SA 许可协议。转载请注明出处!