yum 更新内核时出现的问题

yum 更新内核时出现的问题
--> Running transaction check
---> Package e2fsprogs-resize2fs-static.x86_64 0:1.42.3-3.el6.1.ovz will be installed
---> Package kernel.x86_64 0:2.6.32-358.2.1.el6 will be installed
--> Processing Dependency: kernel-firmware >= 2.6.32-358.2.1.el6 for package: kernel-2.6.32-358.2.1.el6.x86_64
Package kernel-firmware-2.6.32-358.2.1.el6.noarch is obsoleted by vzkernel-firmware-2.6.32-042stab075.2.noarch which is already installed
--> Finished Dependency Resolution
Error: Package: kernel-2.6.32-358.2.1.el6.x86_64 (updates)
           Requires: kernel-firmware >= 2.6.32-358.2.1.el6
           Removing: vzkernel-firmware-2.6.32-042stab075.2.noarch (@openvz-kernel-rhel6)
               kernel-firmware = 2.6.32-279.22.1.el6
           Updated By: vzkernel-firmware-2.6.32-042stab076.5.noarch (openvz-kernel-rhel6)
               kernel-firmware = 2.6.32-279.22.1.el6
           Available: kernel-firmware-2.6.32-358.el6.noarch (base)
               kernel-firmware = 2.6.32-358.el6
           Available: kernel-firmware-2.6.32-358.0.1.el6.noarch (updates)
               kernel-firmware = 2.6.32-358.0.1.el6
           Available: kernel-firmware-2.6.32-358.2.1.el6.noarch (updates)
               kernel-firmware = 2.6.32-358.2.1.el6
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
kernel-2.6.32-358.0.1.el6.x86_64 has missing requires of kernel-firmware >= ('0', '2.6.32', '358.0.1.el6')
[root@HOST ~]# uname -a
Linux HOST.DOMAIN.SITE 2.6.32-042stab075.2 #1 SMP Tue Mar 5 15:21:53 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux

这个问题是因为它试图安装 2 个内核吗?

我该如何修复此问题才能使 yum 更新起作用?

答案1

无法安装默认的 CentOS 6.4 内核,因为 OpenVZ 内核阻止了它。这是意料之中的,因为你可能不知道OpenVZ 内核将被 CentOS 内核替换。

如果您有其他软件包需要更新,请--skip-broken按照建议使用。

当 OpenVZ 更新其内核包时,该问题将得到解决。

答案2

就像 openvz vzkernel-firmware 页面一样1vzkernel-firmware解释说,必须在 yum repo 文件中排除该软件包以避免在 Centos 安装中发生冲突。

相关内容