OpenVZ Forum - RDF feed
type: channel
items: yum update issue on CentOS 6.4
items: Re: yum update issue on CentOS 6.4

yum update issue on CentOS 6.4
type: item
description: Hi, I'm attempting to run yum update on a CentOS 6.4 server and it is failing with the following. Currently running 2.6.32-042stab083.2. ---> Package kernel.x86_64 0:2.6.32-431.11.2.el6 will be installed --> Processing Dependency: kernel-firmware >= 2.6.32-431.11.2.el6 for package: kernel-2.6.32-431.11.2.el6.x86_64 Package kernel-firmware-2.6.32-431.11.2.el6.noarch is obsoleted by vzkernel-firmware-2.6.32-042stab083.2.noarch which is already installed --> Finished Dependency Resolution Error: Package: kernel-2.6.32-431.11.2.el6.x86_64 (updates) Requires: kernel-firmware >= 2.6.32-431.11.2.el6 Removing: vzkernel-firmware-2.6.32-042stab083.2.noarch (@openvz-kernel-rhel6) kernel-firmware = 2.6.32-358.23.2.el6 Updated By: vzkernel-firmware-2.6.32-042stab085.20.noarch (openvz-kernel-rhel6) kernel-firmware = 2.6.32-431.1.2.el6 Available: kernel-firmware-2.6.32-431.el6.noarch (base) kernel-firmware = 2.6.32-431.el6 Available: kernel-firmware-2.6.32-431.1.2.0.1.el6.noarch (updates) kernel-firmware = 2.6.32-431.1.2.0.1.el6 Available: kernel-firmware-2.6.32-431.3.1.el6.noarch (updates) kernel-firmware = 2.6.32-431.3.1.el6 Available: kernel-firmware-2.6.32-431.5.1.el6.noarch (updates) kernel-firmware = 2.6.32-431.5.1.el6 Available: kernel-firmware-2.6.32-431.11.2.el6.noarch (updates) kernel-firmware = 2.6.32-431.11.2.el6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Here is the complete output of yum update: " yum update Loaded plugins: dellsysid, fastestmirror, security Determining fastest mirrors * openvz-kernel-rhel6: mirror.scalabledns.com * openvz-utils: mirror.scalabledns.com base | 3.7 kB 00:00 base/primary_db | 4.4 MB 00:00 extras | 3.4 kB 00:00 extras/primary_db | 19 kB 00:00 ksplice-uptrack | 951 B 00:00 ksplice-uptrack/primary | 4.2 kB 00:00 ksplice-uptrack 14/14 openvz-kernel-rhel6 | 951 B 00:00 openvz-kernel-rhel6/primary | 3.5 kB 00:00 openvz-kernel-rhel6 12/12 openvz-utils | 951 B 00:00 openvz-ut…
creator: PJF5000
date: 2014-04-08T22:05:20-00:00

Re: yum update issue on CentOS 6.4
type: item
description: replied many times- please search in wiki and forums.
creator: Paparaciz
date: 2014-04-10T18:45:57-00:00

Re: yum update issue on CentOS 6.4
type: item
description: You are correct, it was an easy and obvious fix. I searched before but it was a long day and my brain was tired. The fix was in: /etc/yum.repos.d/CentOS-Base.repo I added exclude=kernel* Under the [base] and [updates] repos. I've done this a million times, must have missed the obvious here. Sorry for the lame post! Thanks for your help.
creator: PJF5000
date: 2014-04-10T19:08:09-00:00

Re: yum update issue on CentOS 6.4
type: item
description: no, the right sollution is: https://wiki.openvz.org/Vzkernel-firmware
creator: Paparaciz
date: 2014-04-10T19:20:39-00:00

Re: yum update issue on CentOS 6.4
type: item
description: I've been running our systems without stock kernel, with just vzkernel and using vzkernel-firmware. The added benefit is less updates and we don't need to double check if the stock kernel has set itself as default in grub.conf. For us, this approach has worked well for years... YMMV, of course.
creator: Ales
date: 2014-04-10T20:15:41-00:00

Re: yum update issue on CentOS 6.4
type: item
description: Ales, Thatis how I normally run them as well. Why would I keep the stock CentOS kernels and kernel-firmware installed if I am only running OpenVZ and will never be booting back into the stock CentOS kernel. My solution was to remove the CentOS kernels, and exlcude them from the update repo. Paparaciz, is there a reason why this isn't the correct solution? Thanks for your help.
creator: PJF5000
date: 2014-04-10T20:57:05-00:00

Re: yum update issue on CentOS 6.4
type: item
description: personally I also tend to remove stock kernel, but as a matter of my answer- it is only quick reply for people which didn't/don't want to remove stock kernel. Also there can be situations when you debug problems, and in process you install stock kernel (to verify is this openvz specific problem or general problem), than you can also get this situation. and... in fact if I remember everything ok, there was some situations when it still goes to dependency hell. after that this wiki article came in. Also keep in mind that openvz kernel is some time behind of stock kernel, so stock kernel-firmware package can have fixes or improovements that still not available in openvz vzkernel-firmware package. thats my opinion, and thus I remove stock kernel, but setup as in wiki article.
creator: Paparaciz
date: 2014-04-10T21:24:48-00:00