2015-08-14

【Linux】yum update 出現 Dependency 錯誤的解法

資料來源 -- CentOS 6.6 (Final) - yum kernel upgrade troubles

在做 yum update 時出現錯誤,大意是

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
...
...
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


可以試試

先清空 yumcache

[root]# yum clean all

再重做更新

[root]# yum update

沒有留言:

張貼留言