It's quite strange as everything looks good. Do you see the package when you run : yum search ambari-agent.
You might want to clean the metadata and retry to re-install the package: yum clean all yum install ambari-agent If it does not work, you can try ( it's not great as you're bypassing the repo but it'll check that you can download the package ) yum install http://s3.amazonaws.com/public-repo-1.hortonworks.com/AMBARI-1.x/repos/centos5/noarch/ambari/ambari-agent-1.2.0.1-1.x86_64.rpm Olivier On 29 October 2013 10:26, 624238814 <[email protected]> wrote: > ** > Of cause, I put the ambari.repo in /etc/yum. repos.d > > [root@s109 ~]# cd /etc/yum.repos.d > [root@s109 yum.repos.d]# ls > ambari.repo CentOS-Media.repo epel.repo > CentOS-Base.repo Citrix.repo epel-testing.repo > > and the result of yum repolist like follows: > > [root@s109 yum.repos.d]# yum repolist > Loaded plugins: fastestmirror > Loading mirror speeds from cached hostfile > * epel: mirrors.hust.edu.cn > repo id repo name status > > HDP-UTILS-1.1.0.16 Hortonworks Data Platform Utils Version enabled : > 65 > > Updates-ambari-1.x ambari-1.x - Updates enabled : > 45 > > ambari-1.x Ambari 1.x enabled : > 5 > > base CentOS-5 - Base enabled : > 2,789 > > citrix XenServer 5.5.0 updates for centos5x enabled : > 33 > > epel Extra Packages for Enterprise Linux 5 - enabled : > 6,068 > > extras CentOS-5 - Extras enabled : > 271 > > updates CentOS-5 - Updates enabled : > 55 > repolist: 9,331 > > Thans. > > Xinsheng > > > 2013-10-29 > ------------------------------ > 624238814 > ------------------------------ > *发件人:* Olivier Renault > *发送时间:* 2013-10-29 17:22:02 > *收件人:* ambari-user > *抄送:* > *主题:* Re: a problem: how to install ambari-agent > > It doesn't look like you've got the Ambari repo setup. As it's only > looking in epel. > > Could you show us which repo you've got setup by pasting the output of: > yum repolist > > Did you put ambari.repo in /etc/yum. repos.d > > Thanks > Olivier > On 29 Oct 2013 07:55, "624238814" <[email protected]> wrote: > >> ** >> Hi all, >> >> I'm sorry to bother you. >> >> when I use the comman "yum install ambari-agent". >> >> but it cannot find the package. >> >> Loaded plugins: fastestmirror >> Loading mirror speeds from cached hostfile >> * epel: mirrors.hust.edu.cn >> Setting up Install Process >> Parsing package install arguments >> No package ambari-agent available. >> Nothing to do >> >> what's more I had added the "repo" file which download from: >> http://public-repo-1.hortonworks.com/ambari/centos5/1.x/GA/ambari.repo. >> >> Best Regards. >> >> Xinsheng Yang. >> >> >> 2013-10-29 >> ------------------------------ >> 624238814 >> > > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity > to which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby notified that > any printing, copying, dissemination, distribution, disclosure or > forwarding of this communication is strictly prohibited. If you have > received this communication in error, please contact the sender immediately > and delete it from your system. Thank You. > -- * Olivier Renault * * * * * Solution Engineer ------------------------------ Phone: +44 7500 933 036 Email: [email protected] Website: http://www.hortonworks.com/ * Follow Us: * <http://facebook.com/hortonworks/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature> <http://twitter.com/hortonworks?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature> <http://www.linkedin.com/company/hortonworks?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature> [image: photo] Latest From Our Blog: Hortonworks at Strata Conference 2013 in New York City! <http://hortonworks.com/blog/hortonworks-at-strata-conference-2013-in-new-york-city/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature> -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.
