Re: Inquiry:yum?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On Wed, Dec 23, 2009 at 2:45 PM, fred smith <fredex@xxxxxxxxxxxxxxxxxxxxxx> wrote:
On Wed, Dec 23, 2009 at 12:12:16PM +0000, hadi motamedi wrote:
> On Wed, Dec 23, 2009 at 12:08 PM, Ray Van Dolson <rayvd@xxxxxxxxxxxx> wrote:
>
> > On Wed, Dec 23, 2009 at 12:03:58PM +0000, hadi motamedi wrote:
> > > On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson <rayvd@xxxxxxxxxxxx>
> > wrote:
> > >
> > > >  On Wed, Dec 23, 2009 at 11:44:16AM +0000, hadi motamedi wrote:
> > > > > Dear All
> > > > > I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package
> > from
> > > > > the www.pbone.net . But I didn't have success in installing it so
> > please
> > > > let
> > > > > me know if there is another way to accomplish this job ?
> > > > > Thank you in advance
> > > >
> > > > Yum is installed by default in CentOS 5.x.  Just run 'yum'.
> > > >
> > >
> > > Thanks for your reply . But for unknown reasons the yum is not available
> > on
> > > my CentOS .
> > > [root@mss-1 tmp]# more /etc/redhat-release
> > > CentOS release 5.2 (Final)
> > > [root@mss-1 tmp]# yum
> > > -bash: yum: command not found
> > > Can you please let me know how can I install it ?
> >
> > Strange.  What's the output of rpm -q yum?
> >
> > You could manually install the RPM's from:
> >
> >  http://mirror.stanford.edu/yum/pub/centos/5/os/
> >
> > Pick the correct architecture... and you'll have to resolve some
> > dependancies manually.
> >
> > Ray
>
>
> The output is as :
> [root@mss-1 tmp]# rpm -qa |grep yum
> yum-arch-2.2.2-2.el5.kb

Strange. when I run that on my Centos 5.4, I get:

       # rpm -q yum
       yum-3.2.22-20.el5.centos

which I would assume to be different than "yum-arch-..." I DO NOT find
yum-arch at all. Dunno what yum-arch contains, but I wonder if it is not
a complete yum installation. On the off-chance that it is, you could try:

ls -l `rpm -ql yum-arch-2.2.2-2.el5.kb` | less

to see what files it contains, and whether all of them are actually still
on your disk, or not.

And as others have suggested, you may want/need to download the appropriate
yum rpm file from a Centos mirror and install it with rpm before you can
actually use yum.

--
---- Fred Smith -- fredex@xxxxxxxxxxxxxxxxxxxxxx -----------------------------
                       The Lord is like a strong tower.
            Those who do what is right can run to him for safety.
--------------------------- Proverbs 18:10 (niv) -----------------------------
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

 
Thank you for your help . To this end , I tried as the followings :
"
[root@mss-1 tmp]# rpm -Uvh yum-arch-2.2.2-2.el5.kb.noarch.rpm
warning: yum-arch-2.2.2-2.el5.kb.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 3e13cf5b
Preparing...                ########################################### [100%]
        package yum-arch-2.2.2-2.el5.kb is already installed
[root@mss-1 tmp]# whereis yum
yum:
[root@mss-1 tmp]#
"
Can you please let me know why the yum is still unavailable?
 
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux