OpenVZ Forum

Home » General » Support » Duplicate kernel error / error checking dependencies (kernel-3.10.0-957.1.3.el7.x86_64 is a duplicate with kernel-3.10.0-862.14.4.el7.x86_64)
Re: Duplicate kernel error / error checking dependencies [message #53616 is a reply to message #53615] Wed, 08 January 2020 20:39 Go to previous messageGo to previous message
dmc_dtc is currently offline  dmc_dtc
Messages: 15
Registered: May 2014
Location: Serbia
Junior Member

yes, initially i didnt get answer here so i posted it as bug in openvz forums here

There is a workaround i will post in the end but the main thing is we are doing it wrong. OpenVZ7 is only officially supported on Virtuozzo Liux 7. So up until to now it was possible to somewhat interchangeably use CentOS 7 with OpenVZ and you could install OpenVZ7 on CentOS7, but since latest release (7.0.12) there are changes in json-c and jansson libs which differ from vanilla CentOS versions of those libs. Solution is to install json-c and jansonn from Virtuozzo linux release repos... So before doing install of OpenVZ7 just install this two rpms first:

yum install ansson-2.10-1.vl7.1.x86_64.rpm
yum install son-c-0.11-13.vl7.1.x86_64.rpm

it can be done on a newly installed CentOS BEFORE openvz packages or apply it to existing CentOS7 with Openvz7 ones up until 7.0.12 release.

So after this i am not sure we wont run into similar issues again in the future if we continue to use CentOS 7 since obviosly virtuozzo linux and CentOS7 are now two separated branches, so i think definitely where you can, better use full virtuozzo linux 7 iso instalation to install it.. but as i mentioned in bug report some hosters make it hard for you to install custom iso so it is better to use centos7 and then convert CentOS7 to virtuozzo ... but the sciprt vzdeploy (which used to do exactly that) is broken with latest CentOS 7.7... so you have two options, either leave it on CentOS7 with this custom "hack" or use Virtuozzo Linux 7. I dont really see this hack as a problem, since i dont use dom0 (host OS) for anything, and i only need it to provide kernel updates to paravirtualaized containers, so even if in the future something similar happens and i cannot update OpenVZ i could still update just vzkernel which is fine.

Hope this solves your problem and give you a bit of background of the problem, again better to read bug report thread for more details.


>> dmc / dtc <<

[Updated on: Wed, 08 January 2020 20:40]

Report message to a moderator

Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ploop-balloon discard for additional HDD
Next Topic: openvz 6 really end of life
Goto Forum:

Current Time: Fri Jun 02 18:29:56 GMT 2023

Total time taken to generate the page: 0.01352 seconds