CentOS 6.6 (Final) - yum 内核升级烦恼

les*_*ese 5 redhat centos kernel yum rpm

祝大家安康

我是一名 SysAdmin Junior 管理 3 个CentOS虚拟(Web)服务器,今天早上我在包管理器方面遇到了一些麻烦yum。像往常一样,今天早上我运行了命令yum update && yum upgrade,在 3 个 CentOS 之一(年轻的)上没问题,一切正常。但是在“最旧”的 2 台服务器(不是那么旧,从 1.5 年开始运行,但可能并不出色)似乎升级内核时出现了一些问题,我用谷歌搜索了一下,在控制台输出之后,这似乎只是我的问题:

# yum update && yum upgrade
Run Code Online (Sandbox Code Playgroud)

. . .

Finished Dependency Resolution
Error: Package: kernel-2.6.32-573.1.1.el6.x86_64 (centos6_x86_update)
       Requires: dracut-kernel >= 004-388.el6
       Installed: dracut-kernel-004-356.el6_6.3.noarch (@centos6_x86_update)
           dracut-kernel = 004-356.el6_6.3
       Available: dracut-kernel-004-336.el6.noarch (centos6_x86_update)
           dracut-kernel = 004-336.el6
       Available: dracut-kernel-004-336.el6_5.2.noarch (centos6_x86_update)
           dracut-kernel = 004-336.el6_5.2
       Available: dracut-kernel-004-356.el6.noarch (base)
           dracut-kernel = 004-356.el6
       Available: dracut-kernel-004-356.el6_6.1.noarch (centos6_x86_update)
           dracut-kernel = 004-356.el6_6.1
       Available: dracut-kernel-004-356.el6_6.2.noarch (centos6_x86_update)
           dracut-kernel = 004-356.el6_6.2
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Run Code Online (Sandbox Code Playgroud)

I've readed the documentation in order to try to understand what the advised commands above here was going to do, and since it didn't seems dangerous to me, I've runned them, but really nothing changed. The problem remain...

Does somebody can give me a shove?

THANKS in advance

that the wind will be favorable to you

eta*_*klo 6

Seems like a problem with your mirror or your yum-cache, as dracut-kernel 004-388.el6 should be available, at least it is for me:

=============================================================================================================
 Package                        Arch               Version                            Repository        Size
=============================================================================================================
Installing:
 dracut-kernel                  noarch             004-388.el6                        base              26 k
Run Code Online (Sandbox Code Playgroud)

Clean your yum cache and try again:

yum clean all && yum update

P. S.:

yum update && yum upgrade doesn't make sense, the only difference between these commands is the implied obsoletes flag. This is NOT like apt-get (apt-get update && apt-get upgrade).