Update error for one week

Searching for this error in Centos, I did this:

  • Edit /etc/yum.conf and set the following parameter
    installonly_limit=2
  • Install yum-utils:
    yum install yum-utils
  • Make an oldkernel cleanup:
    package-cleanup --oldkernels --count=2
    And I could update everything smoothly!