PDA

View Full Version : Installing Yum in CentOS on a VPS


coolvik
11th March 2008, 22:13
Hi,

I just found out that my VPS hasn't yum installed. So I found this guide to install it: http://wiki.centos.org/TipsAndTricks/BrokenVserver

After the step rpm -Uvh *.rpm I got quite many dependencies errors. [root@bg yum]# rpm -Uvh *.rpm
warning: python-2.4.3-19.el5.i386.rpm: V3 DSA signature: NOKEY, key ID e8562897
error: Failed dependencies:
libc.so.6(GLIBC_2.4) is needed by python-2.4.3-19.el5.i386
libcrypto.so.6 is needed by python-2.4.3-19.el5.i386
libdb-4.3.so is needed by python-2.4.3-19.el5.i386
libreadline.so.5 is needed by python-2.4.3-19.el5.i386
libssl.so.6 is needed by python-2.4.3-19.el5.i386
rtld(GNU_HASH) is needed by python-2.4.3-19.el5.i386
libc.so.6(GLIBC_2.4) is needed by python-elementtree-1.2.6-5.i386
rtld(GNU_HASH) is needed by python-elementtree-1.2.6-5.i386
libc.so.6(GLIBC_2.4) is needed by python-sqlite-1.1.7-1.2.1.i386
rtld(GNU_HASH) is needed by python-sqlite-1.1.7-1.2.1.i386
m2crypto >= 0.16-5 is needed by python-urlgrabber-3.1.0-2.noarch
libc.so.6(GLIBC_2.4) is needed by sqlite-3.3.6-2.i386
libreadline.so.5 is needed by sqlite-3.3.6-2.i386
rtld(GNU_HASH) is needed by sqlite-3.3.6-2.i386
rpm >= 0:4.4.2 is needed by yum-3.0.5-1.el5.centos.5.noarch
rpm-python is needed by yum-3.0.5-1.el5.centos.5.noarch
yum-metadata-parser is needed by yum-3.0.5-1.el5.centos.5.noarch
[root@bg yum]#



Seems to me that the hosting company have installed a minimal CentOS.

Is there any way to use the rpm command to get all those dependent packages as well?


Regards,
Daniel

falko
12th March 2008, 20:49
You must download them to the directory from which you're running the rpm command.