Browsing all articles from July, 2008
Jul
25

Finding the rpm package for Linux binary

Author andy18    Category Linux-related     Tags

Use the following command to find the exact rpm packages needed if you can’t find the exact rpm to be used. Example, if your system is missing the ‘nslookup’ command binary, running the following command will shows you the exact package name.

shell># rpm -qf /usr/bin/nslookup
bind-utils-9.3.4-6.0.2.P1.el5_2

Jul
24

RPM error : Package XXXXXXX.rpm is not signed

Author andy18    Category Linux-related     Tags

If you have downloaded any rpms to your local Linux distro server and getting the message :

Package XXXXX.rpm is not signed

You may edit yum.conf by setting the gpgcheck from gpgcheck=1 to gpgcheck=0

Jul
21

Installing yum on Linux VPS

Author andy18    Category Linux-related     Tags

You will need yum if you wish to install any rpms on your Linux machine. However, yum usually is not installed by default on any VPS hosting provider. In order to get this install, you will need the following rpms downloaded. If your Linux VPS is running Centos, just go to the mirror site and browse to /distro.version/os/i386/CentOS/ and grab the following to your server.

libxml2-2.6.26-2.1.2.1.i386.rpm
libxml2-python-2.6.26-2.1.2.1.i386.rpm
python-elementtree-1.2.6-5.i386.rpm
sqlite-3.3.6-2.i386.rpm
python-sqlite-1.1.7-1.2.1.i386.rpm
rpm-python-4.4.2-48.el5.i386.rpm
python-urlgrabber-3.1.0-2.noarch.rpm
yum-3.2.8-9.el5.centos.1.noarch.rpm

Install the rpms above as in order and you should have a working yum once it is done. If you are getting some warning message saying:

warning: libxml2-2.6.26-2.1.2.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897

Import the RPM key by hitting:

rpm -import http://ftp.telus.net/pub/centos/RPM-GPG-KEY-CentOS-5