I've followed the instructions on https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
but when I run apt-get update followed by apt-get install elasticsearch, I get a 'Unable to locate package' error.
apt-get update has the following output:
apt-get update Hit http://ppa.launchpad.net trusty InRelease Hit http://ppa.launchpad.net trusty/main i386 Packages Hit http://ppa.launchpad.net trusty/main Translation-en Ign http://archive.ubuntu.com trusty InRelease Ign http://packages.elastic.co stable InRelease Ign http://apt.puppetlabs.com trusty InRelease Hit http://packages.elastic.co stable Release.gpg Get:1 http://archive.ubuntu.com trusty-updates InRelease [64.4 kB] Hit http://apt.puppetlabs.com trusty Release.gpg Hit http://packages.elastic.co stable Release Hit http://apt.puppetlabs.com trusty Release Hit http://packages.elastic.co stable/main i386 Packages Hit http://apt.puppetlabs.com trusty/main Sources Hit http://apt.puppetlabs.com trusty/dependencies Sources Hit http://archive.ubuntu.com trusty-backports InRelease Hit http://apt.puppetlabs.com trusty/main i386 Packages Get:2 http://archive.ubuntu.com trusty-security InRelease [64.4 kB] Hit http://apt.puppetlabs.com trusty/dependencies i386 Packages Hit http://archive.ubuntu.com trusty Release.gpg Get:3 http://archive.ubuntu.com trusty-updates/main i386 Packages [669 kB] Ign http://packages.elastic.co stable/main Translation-en_GB Ign http://packages.elastic.co stable/main Translation-en Get:4 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB] Get:5 http://archive.ubuntu.com trusty-updates/universe i386 Packages [335 kB] Get:6 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [13.2 kB] Get:7 http://archive.ubuntu.com trusty-updates/main Translation-en [350 kB] Get:8 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [6,832 B] Get:9 http://archive.ubuntu.com trusty-updates/restricted Translation-en [3,699 B] Ign http://apt.puppetlabs.com trusty/dependencies Translation-en_GB Get:10 http://archive.ubuntu.com trusty-updates/universe Translation-en [176 kB] Ign http://apt.puppetlabs.com trusty/dependencies Translation-en Hit http://archive.ubuntu.com trusty-backports/main i386 Packages Ign http://apt.puppetlabs.com trusty/main Translation-en_GB Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages Ign http://apt.puppetlabs.com trusty/main Translation-en Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages Hit http://archive.ubuntu.com trusty-backports/main Translation-en Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en Hit http://archive.ubuntu.com trusty-backports/universe Translation-en Get:11 http://archive.ubuntu.com trusty-security/main i386 Packages [389 kB] Get:12 http://archive.ubuntu.com trusty-security/restricted i386 Packages [12.7 kB] Get:13 http://archive.ubuntu.com trusty-security/universe i386 Packages [123 kB] Get:14 http://archive.ubuntu.com trusty-security/multiverse i386 Packages [4,976 B] Get:15 http://archive.ubuntu.com trusty-security/main Translation-en [228 kB] Get:16 http://archive.ubuntu.com trusty-security/multiverse Translation-en [2,437 B] Get:17 http://archive.ubuntu.com trusty-security/restricted Translation-en [3,206 B] Get:18 http://archive.ubuntu.com trusty-security/universe Translation-en [72.1 kB] Hit http://archive.ubuntu.com trusty Release Hit http://archive.ubuntu.com trusty/main i386 Packages Hit http://archive.ubuntu.com trusty/restricted i386 Packages Hit http://archive.ubuntu.com trusty/universe i386 Packages Hit http://archive.ubuntu.com trusty/multiverse i386 Packages Hit http://archive.ubuntu.com trusty/main Translation-en_GB Hit http://archive.ubuntu.com trusty/main Translation-en Hit http://archive.ubuntu.com trusty/multiverse Translation-en_GB Hit http://archive.ubuntu.com trusty/multiverse Translation-en Hit http://archive.ubuntu.com trusty/restricted Translation-en_GB Hit http://archive.ubuntu.com trusty/restricted Translation-en Hit http://archive.ubuntu.com trusty/universe Translation-en_GB Hit http://archive.ubuntu.com trusty/universe Translation-en Fetched 2,534 kB in 11s (216 kB/s) Reading package lists... Done
Inspecting /var/lib/apt/lists/packages.elastic.co_elasticsearch_2.x_debian_dists_stable_main_binary-i386_Packages shows an empty file.
my sources.list file for elasticsearch has the following contents:
deb http://packages.elastic.co/elasticsearch/2.x/debian stable main
I'm running on:
Ubuntu 14.04.3 LTS
Linux eonwyn 3.13.0-77-generic #121-Ubuntu SMP Wed Jan 20 10:50:59 UTC 2016 i686 i686 i686 GNU/Linux
Any idea's how to fix this?