[CentOS] Inquiry:yum?

Thu Dec 24 06:22:55 UTC 2009
John R Pierce <pierce at hogranch.com>

hadi motamedi wrote:
> With many thanks for your help , please let me know why I am receiving 
> the followings ?
> [root at mss-1 tmp]# rpm -Uvh yum-3.2.22-20.el5.centos.noarch.rpm
> warning: yum-3.2.22-20.el5.centos.noarch.rpm: Header V3 DSA signature: 
> NOKEY, key ID e8562897
> error: Failed dependencies:
>         python-elementtree is needed by yum-3.2.22-20.el5.centos.noarch
>         python-iniparse is needed by yum-3.2.22-20.el5.centos.noarch
>         python-sqlite is needed by yum-3.2.22-20.el5.centos.noarch
>         urlgrabber >= 3.1.0 is needed by yum-3.2.22-20.el5.centos.noarch
>         yum-fastestmirror is needed by yum-3.2.22-20.el5.centos.noarch
>         yum-metadata-parser >= 1.1.0 is needed by 
> yum-3.2.22-20.el5.centos.noarch


are you -sure- you have CentOS 5.x ??!?   

I believe the DSA Signature key is in package centos-release from that 
same path
http://mirror.centos.org/centos-5/5/os/i386/CentOS/
(assuming 32bit centos5, adjust path for different versions or 
architectures)


re: the failed dependencies, you'll need to install those other RPMs 
too, again from the same path...

some of those RPMs may require yet more, download and install them too. 
repeat until yum works.