Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Getting error in download of the Ambari repository wget -nv http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.1.2/ambari.list -O /etc/apt/sources.list.d/ambari.list

avatar
Contributor

When I type the following command to download Ambari repository I receive the following error message :

Resolving public-repo-1.hortonworks.com (public-repo-1.hortonworks.com)... 54.240.186.51, 54.240.186.212, 54.240.186.226, ... Connecting to public-repo-1.hortonworks.com (public-repo-1.hortonworks.com)|54.240.186.51|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2016-11-23 02:51:14 ERROR 404: Not Found.

1 ACCEPTED SOLUTION

avatar
Contributor

Thanks for the answers, I inform you that I solved my problem, the problem is that I work on a version ubuntu 14 32bits but the commands works on 64bits.

View solution in original post

6 REPLIES 6

avatar
Contributor

And when I follow the commands of the official documentation

  1. wget -nv http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.0.0/ambari.list -O /etc/apt/sources.list.d/ambari.list
  2. apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
  3. apt-get update

I get the following error in apt-get install ambari-server

: N: Unable to locate package ambari-server

avatar
Master Mentor

Ambari 2.1.2 and 2.2.0 are old, please use 2.2.2.18 for HDP 2.4 or 2.4.1 for HDP 2.5. Ambari 2.4.2 should be out any day now and you can manage HDP 2.3.x - 2.5.x with it. Here's latest 2.4.1 http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-installation/content/ambari_reposi...

avatar
Contributor

9744-screenshot-from-2016-11-23-053721.png

Thanks @Artem Ervits for your reply, I tested with your recommendation but but without results :(, you can give me the commands to type to have the latest version of ambari on my ubuntu14? Or a tutorial with a recent version

Because I wasted a lot of time to solve this problem

avatar
Master Mentor

avatar
Contributor

I follow this guide from the beginning. now I have AMBARI-2.4.1.0 directory on my web server but when I type this command :

to have repo file i get error : ERROR 404: Not Found

I follow the no internet method, This command is mandatory in this mode? So my problem is how to have the .repo file ?! to modify it

See screenshoot for more details

9745-2.png

avatar
Contributor

Thanks for the answers, I inform you that I solved my problem, the problem is that I work on a version ubuntu 14 32bits but the commands works on 64bits.