OpenVZ Forum


Home » General » Support » new yum install issues
new yum install issues [message #15740] Fri, 10 August 2007 13:38 Go to next message
johan_hammy is currently offline  johan_hammy
Messages: 99
Registered: December 2005
Member
I have a CentOS 5 server I'm trying to get setup with OpenVZ. I decided to try the yum install method.

I get the following error when I try to install vzyum and vzpkg
--> Populating transaction set with selected packages. Please wait.
---> Package vzpkg.noarch 0:2.7.0-18 set to be updated
---> Package vzyum.noarch 0:2.4.0-11 set to be updated
--> Running transaction check
--> Processing Dependency: cElementTree.so for package: vzyum
--> Finished Dependency Resolution
Error: Missing Dependency: cElementTree.so is needed by package vzyum


I did a yum update. Many packages are installing the x86_64 version as well as the i686. Why are non 64bit packages being installed?

Since I didn't manually install the RPMs, how do I ensure the right kernel has been installed?

I thought I excluded the regular kernel from yum installation, but:

[root@Char mhammett]# rpm -qa | grep kernel
kernel-2.6.18-8.el5
ovzkernel-2.6.18-8.1.8.el5.028stab039.1
ovzkernel-2.6.18-8.1.8.el5.028stab039.1
ovzkernel-devel-2.6.18-8.1.8.el5.028stab039.1
kernel-headers-2.6.18-8.1.8.el5
ovzkernel-devel-2.6.18-8.1.8.el5.028stab039.1
[root@Char mhammett]# rpm -e kernel kernel-headers
error: Failed dependencies:
        kernel-headers >= 2.6.18 is needed by (installed) audit-libs-python-1.3.1-1.el5.x86_64
Re: new yum install issues [message #15769 is a reply to message #15740] Sat, 11 August 2007 11:52 Go to previous messageGo to next message
sspt is currently offline  sspt
Messages: 100
Registered: August 2006
Location: Portugal
Senior Member
You also need python-cElementTree i386:
rpm -ivh http://mirror.centos.org/centos/5/os/i386/CentOS/python-elem enttree-1.2.6-5.i386.rpm

It should solve your problem Smile


http://static.openvz.org/userbars/openvz-user.png
Re: new yum install issues [message #15773 is a reply to message #15769] Sat, 11 August 2007 13:05 Go to previous message
johan_hammy is currently offline  johan_hammy
Messages: 99
Registered: December 2005
Member
sspt wrote on Sat, 11 August 2007 06:52

You also need python-cElementTree i386:
rpm -ivh http://mirror.centos.org/centos/5/os/i386/CentOS/python-elem enttree-1.2.6-5.i386.rpm

It should solve your problem Smile


I tried to use yum provides to pull up the missing files, but yum had refused to install. Your route seemed to do the trick.

As an FYI to those searching the thread later, there's a space in the url above that causes it to not download.

http://mirror.centos.org/centos/5/os/i386/CentOS/python-elem enttree-1.2.6-5.i386.rpm
Previous Topic: large memory server (32GB) :: 64bit kernel advantageous?
Next Topic: Bandwidth limiting crashes the machine
Goto Forum:
  


Current Time: Fri Apr 19 06:29:31 GMT 2024

Total time taken to generate the page: 0.01835 seconds