Created 04-30-2016 02:03 PM
I am getting an error as
Unable to locate package ambari-server.
Following are the steps i followed to setup ambari/HDP:
1) downloaded the tar's(ambari,HDP,HDP-UTILS). Untared in /var/www/html/ path
2) registered the repo path's
wget -nv http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.4.0.0/hdp.list
wget -nv http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.1.0/ambari.list
3)wget -nv
http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.1.0/ambari.list
-O /etc/apt/sources.list.d/ambari.list
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com
B9733A7A07513CAD
apt-get update
4) apt-get install ambari-server Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package ambari-server
I am unable to solve this issue. I am new to ubuntu/hadoop and this is the first time i am installing hdp in my system. Please guide me on how to solve this issue.
Thanks
Jugal
Created 04-30-2016 02:48 PM
Make sure you check if your ambari package is downloaded successfully with below commands
apt-cache showpkg ambari-server
apt-cache showpkg ambari-agent
apt-cache showpkg ambari-metrics-assembly
You can refer to the installation guide here - http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Installing_HDP_AMB/content/_download_the_...
Created 04-30-2016 03:08 PM
Hi Durai,
I am getting the same message as Unable to locate the packages.
Created on 05-01-2016 06:46 AM - edited 08-19-2019 03:15 AM
When i check the /etc/apt/sources.list.d/
I see ambari and hdp are registered in sources.list.d
But when i dpkg -L ambari* i am not able to find the packages.
Whereas i had wget -nv
http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.1.0/ambari.list
-O /etc/apt/sources.list.d/ambari.list
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
apt-get update
Please Guide me.
Thanks
Jugal
Created 05-01-2016 02:34 PM
There is a similar issue discussed on this thread - https://community.hortonworks.com/questions/18736/2210-ambari-ubuntu-repo-404.html
can you please check if this helps?
Created 05-01-2016 03:05 PM
Hi Durai,
Thanks for replying. Still no help. still getting the same issue.
🙂
Created 11-24-2016 08:49 AM