OpenVZ Forum


Home » General » Support » [Solved]Can't install yum on container.
Re: Can't install yum on container. [message #32381 is a reply to message #32302] Mon, 04 August 2008 20:19 Go to previous messageGo to previous message
JimL is currently offline  JimL
Messages: 116
Registered: February 2007
Senior Member
maratrus wrote on Wed, 30 July 2008 09:30

Hi,



4. Anyway I came across this thread nad think it could be very useful in this case.
http://forum.openvz.org/index.php?t=msg&th=4134&star t=0&
Unfortunately I don't try that but hope it works.




That was the trick. I did have to install a half dozen other packages to satisfy dependencies, but eventually that worked.

To document what I did in hopes it will help others, here's the script I used to successfully install yum:

rpm -Uvh  http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/gmp-4.1.4-3.i386.rpm
rpm -Uvh  http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/readline-4.3-13.i386.rpm 
rpm -Uvh  http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/python-2.3.4-14.4.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/libxml2-2.6.16-10.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/libxml2-python-2.6.16-10.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/expat-1.95.7-4.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/python-elementtree-1.2.6-5.el4.centos.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.1.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/elfutils-libelf-0.97.1-5.i386.rpm 
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/centos-release-4-4.4.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/elfutils-0.97.1-5.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/rpm-4.3.3-23_nonptl.i386.rpm 

rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/rpm-python-4.3.3-23_nonptl.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/yum-2.4.3-4.el4.centos.noarch.rpm
yum -y update


This was for a Centos 4.4 system.

Thanks,
Jim.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: OpenVZ & RAID
Next Topic: Redirect traffic from a specific hostame to a specific VE ?
Goto Forum:
  


Current Time: Sat Sep 07 18:19:12 GMT 2024

Total time taken to generate the page: 0.06033 seconds