CentOS 6.6 (Final) – yum kernel upgrade troubles

centoskernelredhatrpmyum

Well-being everybody,

I'm a SysAdmin Junior managing 3 CentOS Virtual (Web)Servers,
this morning I'm facing some troubles with package manager yum. As usual operation, this morning I've run the command yum update && yum upgrade, on one of the 3 CentOS (the younger) no problem, everything fine. But on the "oldest" 2 Servers (not that old, running from 1.5 year, but probably not outstanding) seems there are some problem upgrading the kernel, I've googled and it seems it's just my problem, following the console output:

# yum update && yum upgrade

.
.
.

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

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

Best Answer

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

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).