Page 1 of 1

Yum upgrade dependency issue on new CentOS 7 server

Posted: Thu May 04, 2017 7:55 am
by Kalimari
Just finished setting up and migrating websites to a new CentOS 7 server and noticed the following issue when running yum upgrade:
Resolving Dependencies
--> Running transaction check
---> Package kmod-xtables-addons.x86_64 0:2.10-1.22.el7.art will be updated
---> Package kmod-xtables-addons.x86_64 0:2.10-1.23.el7.art will be an update
--> Processing Dependency: kmod-xtables-addons-4.4.60-25.el7.art.x86_64 >= 2.10-1.23.el7.art for package: kmod-xtables-addons-2.10-1.23.el7.art.x86_64
---> Package xtables-addons.x86_64 0:2.10-1.22.el7.art will be updated
---> Package xtables-addons.x86_64 0:2.10-1.23.el7.art will be an update
--> Running transaction check
---> Package kmod-xtables-addons-4.4.60-25.el7.art.x86_64.x86_64 0:2.10-1.23.el7.art will be installed
--> Processing Dependency: kernel-uname-r = 4.4.60-25.el7.art.x86_64 for package: kmod-xtables-addons-4.4.60-25.el7.art.x86_64-2.10-1.23.el7.art.x86_64
--> Finished Dependency Resolution
Error: Package: kmod-xtables-addons-4.4.60-25.el7.art.x86_64-2.10-1.23.el7.art.x86_64 (tortix-kernel)
Requires: kernel-uname-r = 4.4.60-25.el7.art.x86_64
Installed: kernel-3.10.0-514.el7.x86_64 (@anaconda)
kernel-uname-r = 3.10.0-514.el7.x86_64
Installed: kernel-3.10.0-514.10.2.el7.x86_64 (@updates)
kernel-uname-r = 3.10.0-514.10.2.el7.x86_64
Installed: kernel-asl-4.4.52-20.7.el7.art.x86_64 (@tortix-kernel)
kernel-uname-r = 4.4.52-20.7.el7.art.x86_64
Installed: kernel-asl-4.4.57-22.el7.art.x86_64 (@tortix-kernel)
kernel-uname-r = 4.4.57-22.el7.art.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
It's been a long time since I've encountered problems like this (only use standard repo's), should I follow the instructions to "--skip-broken" or "rpm -Va --nofiles --nodigest"?
Thanks

Re: Yum upgrade dependency issue on new CentOS 7 server

Posted: Wed May 10, 2017 5:12 pm
by mikeshinn
Usually that happens if you hit the CDN when some of the mirrors are still populating, what happens if you clear your yum cache?