The deb file available on download page work for both i686 and x64 BUT the package in the repo is only available for x64. This was the confusion which triggered this thread.
I did included the elasticsearch repo in my sources.list file and ran an apt-get update but it doesn't get any list of packages from that repo.
root@ubuntu:~# tail /etc/apt/sources.list ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu trusty partner # deb-src http://archive.canonical.com/ubuntu trusty partner
## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu trusty main deb-src http://extras.ubuntu.com/ubuntu trusty main deb http://packages.elastic.co/elasticsearch/2.x/debian stable main
apt-get update doesn't throw any error
root@ubuntu:~# apt-get update | grep elastic Ign http://packages.elastic.co stable InRelease Hit http://packages.elastic.co stable Release.gpg Hit http://packages.elastic.co stable Release Hit http://packages.elastic.co stable/main i386 Packages Ign http://packages.elastic.co stable/main Translation-en_US Ign http://packages.elastic.co stable/main Translation-en
Trying to install logstash, elasticsearch or kibana doesn't work.
ubuntu@ubuntu:~$ sudo apt-get install logstash Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package logstash ubuntu@ubuntu:~$ sudo apt-get install kibana Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package kibana ubuntu@ubuntu:~$
any clue why?
UPDATE: Earlier I misunderstood that logstash,kibana and elasticsearch uses the same repo. I also had installed elasticsearch from deb package manually so I posted the attempts of installing kibana and logstash above because
apt-get install elasticsearch wasn't producing the error instead claiming that it's already installed. Later I did removed the package and have shared the output error in 3rd reply below.