<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Ambari-server installation is failed with &amp;quot;Error: Nothing to do&amp;quot; in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-installation-is-failed-with-quot-Error-Nothing/m-p/171141#M133438</link>
    <description>&lt;P&gt;Hi Jay,&lt;/P&gt;&lt;P&gt;Clean the yum cache and install with the option "-y" has been the solution.&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2017 19:26:07 GMT</pubDate>
    <dc:creator>javi_paez</dc:creator>
    <dc:date>2017-03-23T19:26:07Z</dc:date>
    <item>
      <title>Ambari-server installation is failed with "Error: Nothing to do"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-installation-is-failed-with-quot-Error-Nothing/m-p/171139#M133436</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Enviroment:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Centos 7 + Ambari 2.2.1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error Log:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;&lt;EM&gt;[root@master ~]# wget &lt;A href="http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.1.0/ambari.repo" target="_blank"&gt;http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.1.0/ambari.repo&lt;/A&gt;
--2017-03-23 00:36:19--  &lt;A href="http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.1.0/ambari.repo" target="_blank"&gt;http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.1.0/ambari.repo&lt;/A&gt;
Resolving public-repo-1.hortonworks.com (public-repo-1.hortonworks.com)... 52.85.47.94, 52.85.47.81, 52.85.47.121, ...
Connecting to public-repo-1.hortonworks.com (public-repo-1.hortonworks.com)|52.85.47.94|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 287 [binary/octet-stream]
Saving to: ‘ambari.repo’

100%[======================================&amp;gt;] 287  --.-K/s  in 0s   

2017-03-23 00:36:19 (42.7 MB/s) - ‘ambari.repo’ saved [287/287]

[root@master ~]# cp ambari.repo /etc/yum.repos.d
[root@master ~]# yum install ambari‐serverLoaded plugins: fastestmirror, langpacks
Updates-ambari-2.2.1.0  | 2.9 kB  00:00   
Loading mirror speeds from cached hostfile
 * base: sunsite.rediris.es
 * extras: sunsite.rediris.es
 * updates: sunsite.rediris.es
&lt;STRONG&gt;Error: Nothing to do&lt;/STRONG&gt;
[root@master ~]# ambari-server setup
bash: ambari-server: command not found...
[root@master ~]# &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Yum info:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[root@master ~]# yum repolist
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: sunsite.rediris.es
 * extras: sunsite.rediris.es
 * updates: sunsite.rediris.es
repo id  repo name  status
Updates-ambari-2.2.1.0  ambari-2.2.1.0 - Updates  7
base/7/x86_64  CentOS-7 - Base  9,363
extras/7/x86_64  CentOS-7 - Extras  311
updates/7/x86_64  CentOS-7 - Updates  1,111
repolist: 10,792
[root@master ~]# &lt;/P&gt;&lt;P&gt;[root@master ~]# cat /etc/yum.repos.d/ambari.repo
#VERSION_NUMBER=2.2.1.0-161

[Updates-ambari-2.2.1.0]
name=ambari-2.2.1.0 - Updates
baseurl=http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.1.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos7/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
[root@master ~]# ^C
[root@master ~]# &lt;/P&gt;&lt;P&gt;Please I need help...&lt;/P&gt;&lt;P&gt;How I can resolve the issue "&lt;EM&gt;&lt;STRONG&gt;Error: Nothing to do" ?
&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 07:02:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-installation-is-failed-with-quot-Error-Nothing/m-p/171139#M133436</guid>
      <dc:creator>javi_paez</dc:creator>
      <dc:date>2017-03-23T07:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-server installation is failed with "Error: Nothing to do"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-installation-is-failed-with-quot-Error-Nothing/m-p/171140#M133437</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16842/javipaez.html" nodeid="16842"&gt;@Javier Paez&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Before installing ambari-server can you please share &amp;amp; verify the output of the following commands&lt;/P&gt;&lt;PRE&gt;# wget -nv &lt;A href="http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.1.0/ambari.repo" target="_blank"&gt;http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.1.0/ambari.repo&lt;/A&gt; -O /etc/yum.repos.d/ambari.repo
# yum clean all
# yum info ambari-server
# ambari-server --version   
# yum install ambari-server -y&lt;/PRE&gt;&lt;P&gt;
In your yum output i see that it is using some cached entry as following:&lt;/P&gt;&lt;PRE&gt;Loading mirror speeds from cached hostfile * base: sunsite.rediris.es * extras: sunsite.rediris.es * updates: sunsite.rediris.es Error: Nothing to do &lt;/PRE&gt;&lt;P&gt;
Hence it is better to clear the yum cache first, you can use the following command.&lt;/P&gt;&lt;PRE&gt;# yum clean all&lt;/PRE&gt;&lt;P&gt;
If you are using any Http Proxy at your end then in the "~/.bash_profile" profile we can add the following: (here replace the "proxyHostName:3128" with proxy host and port number)&lt;/P&gt;&lt;PRE&gt;export http_proxy=http://proxyHostName:3128/
export https_proxy=${http_proxy}
export ftp_proxy=${http_proxy}&lt;/PRE&gt;&lt;P&gt;
Also please see: &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_ambari_reference_guide/content/_how_to_set_up_an_internet_proxy_server_for_ambari.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_ambari_reference_guide/content/_how_to_set_up_an_internet_proxy_server_for_ambari.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 07:39:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-installation-is-failed-with-quot-Error-Nothing/m-p/171140#M133437</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-03-23T07:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-server installation is failed with "Error: Nothing to do"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-installation-is-failed-with-quot-Error-Nothing/m-p/171141#M133438</link>
      <description>&lt;P&gt;Hi Jay,&lt;/P&gt;&lt;P&gt;Clean the yum cache and install with the option "-y" has been the solution.&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 19:26:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-installation-is-failed-with-quot-Error-Nothing/m-p/171141#M133438</guid>
      <dc:creator>javi_paez</dc:creator>
      <dc:date>2017-03-23T19:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-server installation is failed with "Error: Nothing to do"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-installation-is-failed-with-quot-Error-Nothing/m-p/171142#M133439</link>
      <description>&lt;PRE&gt;# yum clean all
# yum install ambari-server -y
&lt;/PRE&gt;&lt;P&gt;Should solve this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 00:50:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-installation-is-failed-with-quot-Error-Nothing/m-p/171142#M133439</guid>
      <dc:creator>xwang</dc:creator>
      <dc:date>2017-03-25T00:50:17Z</dc:date>
    </item>
  </channel>
</rss>

