Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to install ambari on Ubuntu 17.10?

How to install ambari on Ubuntu 17.10?

New Contributor

I have installed Ubuntu 17.10 on desktop, I have added the repository by giving,

wget -O /etc/apt/sources.list.d/ambari.list http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0/ambari.list

apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD

it was added successfully, however when i try to apt-get update it is throwing the following error,

W: GPG error: http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0 Ambari InRelease: The following signatures were invalid: DF52ED4F7A3A5882C0994C66B9733A7A07513CAD E: The repository 'http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0 Ambari InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

It will be great if anybody helps to resolve,

Note: i want to install ambari on ubuntu 17 because of its cool features & performance and not ubuntu 16

6 REPLIES 6

Re: How to install ambari on Ubuntu 17.10?

Super Mentor

@Padmanabhan S

By any chance are you running any HTTP proxy on your Ubuntu host? If yes, then you should also supply the proxy options something like following:

--keyserver-options http-proxy="http://<proxyuser>:<password>@<proxy_server_addr>:<proxy_port>"

https://community.hortonworks.com/content/supportkb/48912/how-to-install-the-hortonworks-gpg-key-on-...

Re: How to install ambari on Ubuntu 17.10?

Super Mentor

Re: How to install ambari on Ubuntu 17.10?

New Contributor

@Jay Kumar SenSharma

Hi Jay Kumar,

1. I am not using any proxy server, I have full access to the internet

2. My understanding is if Ubuntu being a supported OS for Ambari, then ideally it should work any Ubuntu version 16 or above

It is weired that it supports only specific version of Ubuntu, Recently Ubuntu has release Ubuntu 17.10 with cool features, hence I want to use this version

Any other solutions from others to solve the issue?

Re: How to install ambari on Ubuntu 17.10?

New Contributor

By any chance, anybody tried to install Ambari on Ubuntu 17 and succeeded?

Re: How to install ambari on Ubuntu 17.10?

Super Mentor

@Padmanabhan S

As Ubuntu 17 is not listed in the Supported Operating System list , hence i tested the same on Ubuntu 16 and it works fine:

Example:

# sudo su -

root@jubuntu:~# wget -O /etc/apt/sources.list.d/ambari.list http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0/ambari.list

--2017-11-04 21:48:27--  http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0/ambari.list
Resolving public-repo-1.hortonworks.com (public-repo-1.hortonworks.com)... 54.192.136.215, 54.192.136.182, 54.192.136.98, ...
Connecting to public-repo-1.hortonworks.com (public-repo-1.hortonworks.com)|54.192.136.215|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 117 [binary/octet-stream]
Saving to: ‘/etc/apt/sources.list.d/ambari.list’

/etc/apt/sources.list.d/ambari.list           100%[================================================================================================>]     117  --.-KB/s    in 0s      

2017-11-04 21:48:27 (12.2 MB/s) - ‘/etc/apt/sources.list.d/ambari.list’ saved [117/117]


root@jubuntu:~# apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
Executing: /tmp/tmp.SZn6Jn1CMT/gpg.1.sh --recv-keys
--keyserver
keyserver.ubuntu.com
B9733A7A07513CAD
gpg: requesting key 07513CAD from hkp server keyserver.ubuntu.com
gpg: key 07513CAD: public key "Jenkins (HDP Builds) <jenkin@hortonworks.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
root@jubuntu:~# apt-get update
Get:1 http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0 Ambari InRelease [7,394 B]
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]              
Get:3 http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0 Ambari/main amd64 Packages [1,381 B]
Hit:4 http://nova.clouds.archive.ubuntu.com/ubuntu xenial InRelease                                               
Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:6 http://nova.clouds.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Hit:7 https://apt.dockerproject.org/repo ubuntu-xenial InRelease
Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [652 kB]
Get:9 http://nova.clouds.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [543 kB]
Fetched 1,510 kB in 2s (681 kB/s)                        
Reading package lists... Done
W: http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.2.0/dists/Ambari/InRelease: Signature by key DF52ED4F7A3A5882C0994C66B9733A7A07513CAD uses weak digest algorithm (SHA1)

.

My Ubuntu details:

root@jubuntu:~# lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:    16.04
Codename:    xenial

.

May be you can try taking a backup of the "/var/lib/apt/lists/*" directory and then try again:

# sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak
# sudo rm -rf /var/lib/apt/lists/*
# sudo apt-get update

.

Refer to : https://askubuntu.com/questions/948607/ubuntu-17-04-update-issue

Re: How to install ambari on Ubuntu 17.10?

New Contributor

I too installed on Ubuntu 16. Even I tried in LinuxMint 18.2 and successfully added the repo, key,updated the repo, and installed the server, but while configuring the ambari setup I encountered the issue. If this is being the case I should not have any issue in Ubuntu 17, As it is supported OS but only higher version