OpenVZ Forum


Home » Mailing lists » Users » yum update problem on CentOS 5.8 server
Re: yum update problem on CentOS 5.8 server [message #48048 is a reply to message #48047] Wed, 26 September 2012 13:13 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

On 09/26/2012 04:46 PM, Holger Rabbach (ICT) wrote:
>
> Hi,
>
> I tried to run yum update on a CentOS 5.8 OpenVZ host server today and
> something strange happened. Yum tries to update vzctl-core to version
> 4.0-1, which seems to require an updated plop-lib package, but the
> updated plop-lib package from the yum repository requires a kernel >=
> 2.6.32 (CentOS 5 runs on 2.6.18). As a result, the entire update
> fails. It looks like there are the wrong package versions in the yum
> repository for RHEL/CentOS 5 -- or is there something else going on?
>

There are two problems here:

1 ploop

Since you have RHEL5-based kernel that do not require ploop, you can
remove ploop when installing vzctl-4.0. I have made vzctl not requiring
ploop by dynamically loading it when it's available. Note that vzctl is
not requiring ploop anymore, it just conflicts with the old version of it.

2 libcgroup

Currently I don't have a solution rather than compiling libcgroup from
source. I will take a closer look in the coming days and find a fix.

In the meantime,
- please stay with vzctl-3.3 and
- maybe it's a good time for switching to RHEL6 kernel which has a lot
of nice features such as VSwap.

> Best regards,
>
> Holger
>
> PS: full output from yum follows:
>
> [root@paul ~]# yum update
>
> Loaded plugins: dellsysid, fastestmirror, security
>
> Loading mirror speeds from cached hostfile
>
> * base: mirror.netcologne.de
>
> * epel: ftp.uni-koeln.de
>
> * extras: mirror.netcologne.de
>
> * openvz-kernel-rhel5: openvz.proserve.nl
>
> * openvz-utils: openvz.proserve.nl
>
> * updates: mirror.netcologne.de
>
> base | 1.1 kB 00:00
>
> cr | 1.9 kB 00:00
>
> dell-omsa-indep | 1.9 kB 00:00
>
> dell-omsa-specific | 1.9 kB 00:00
>
> openvz-kernel-rhel5 | 951 B 00:00
>
> openvz-utils | 951 B 00:00
>
> updates | 1.9 kB 00:00
>
> Skipping security plugin, no data
>
> Setting up Update Process
>
> Resolving Dependencies
>
> Skipping security plugin, no data
>
> --> Running transaction check
>
> ---> Package ploop.x86_64 0:1.5-1 set to be updated
>
> ---> Package ploop-lib.x86_64 0:1.5-1 set to be updated
>
> ---> Package vzctl.x86_64 0:4.0-1 set to be updated
>
> --> Processing Dependency: libcgroup.so.1()(64bit) for package: vzctl
>
> ---> Package vzctl-core.x86_64 0:4.0-1 set to be updated
>
> --> Processing Dependency: libcgroup.so.1(CGROUP_0.32.1)(64bit) for
> package: vzctl-core
>
> --> Processing Dependency: libcgroup.so.1(CGROUP_0.34)(64bit) for
> package: vzctl-core
>
> --> Processing Dependency: libcgroup.so.1(CGROUP_0.35)(64bit) for
> package: vzctl-core
>
> --> Processing Dependency: libcgroup.so.1(CGROUP_0.32)(64bit) for
> package: vzctl-core
>
> --> Processing Dependency: libcgroup.so.1()(64bit) for package: vzctl-core
>
> --> Processing Conflict: ploop-lib conflicts vzkernel <
> 2.6.32-042stab061.1
>
> --> Processing Conflict: ploop-lib conflicts vzkernel <
> 2.6.32-042stab061.1
>
> --> Processing Conflict: ploop-lib conflicts vzkernel <
> 2.6.32-042stab061.1
>
> --> Processing Conflict: ploop-lib conflicts vzkernel <
> 2.6.32-042stab061.1
>
> --> Processing Conflict: ploop-lib conflicts vzkernel <
> 2.6.32-042stab061.1
>
> --> Finished Dependency Resolution
>
> vzctl-core-4.0-1.x86_64 from openvz-utils has depsolving problems
>
> --> Missing Dependency: libcgroup.so.1(CGROUP_0.32)(64bit) is needed
> by package vzctl-core-4.0-1.x86_64 (openvz-utils)
>
> vzctl-core-4.0-1.x86_64 from openvz-utils has depsolving problems
>
> --> Missing Dependency: libcgroup.so.1(CGROUP_0.35)(64bit) is needed
> by package vzctl-core-4.0-1.x86_64 (openvz-utils)
>
> vzctl-core-4.0-1.x86_64 from openvz-utils has depsolving problems
>
> --> Missing Dependency: libcgroup.so.1(CGROUP_0.34)(64bit) is needed
> by package vzctl-core-4.0-1.x86_64 (openvz-utils)
>
> vzctl-core-4.0-1.x86_64 from openvz-utils has depsolving problems
>
> --> Missing Dependency: libcgroup.so.1()(64bit) is needed by package
> vzctl-core-4.0-1.x86_64 (openvz-utils)
>
> vzctl-core-4.0-1.x86_64 from openvz-utils has depsolving problems
>
> --> Missing Dependency: libcgroup.so.1(CGROUP_0.32.1)(64bit) is
> needed by package vzctl-core-4.0-1.x86_64 (openvz-utils)
>
> ploop-lib-1.5-1.x86_64 from openvz-utils has depsolving problems
>
> --> ploop-lib conflicts with ovzkernel
>
> vzctl-4.0-1.x86_64 from openvz-utils has depsolving problems
>
> --> Missing Dependency: libcgroup.so.1()(64bit) is needed by package
> vzctl-4.0-1.x86_64 (openvz-utils)
>
> Error: Missing Dependency: libcgroup.so.1()(64bit) is needed by
> package vzctl-4.0-1.x86_64 (openvz-utils)
>
> Error: ploop-lib conflicts with ovzkernel
>
> Error: Missing Dependency: libcgroup.so.1()(64bit) is needed by
> package vzctl-core-4.0-1.x86_64 (openvz-utils)
>
> Error: Missing Dependency: libcgroup.so.1(CGROUP_0.34)(64bit) is
> needed by package vzctl-core-4.0-1.x86_64 (openvz-utils)
>
> Error: Missing Dependency: libcgroup.so.1(CGROUP_0.32.1)(64bit) is
> needed by package vzctl-core-4.0-1.x86_64 (openvz-utils)
>
> Error: Missing Dependency: libcgroup.so.1(CGROUP_0.35)(64bit) is
> needed by package vzctl-core-4.0-1.x86_64 (openvz-utils)
>
> Error: Missing Dependency: libcgroup.so.1(CGROUP_0.32)(64bit) is
> needed by package vzctl-core-4.0-1.x86_64 (openvz-utils)
>
> You could try using --skip-broken to work around the problem
>
> You could try running: package-cleanup --problems
>
> package-cleanup --dupes
>
> rpm -Va --nofiles --nodigest
>
> [root@paul ~]#
>


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: yum update problem on 32-bit CentOS 6.3
Next Topic: porting openwrt to openvz
Goto Forum:
  


Current Time: Sat Jul 27 14:12:41 GMT 2024

Total time taken to generate the page: 0.02766 seconds