I have a VM running Ubuntu 12.04, and am trying to install ElasticSearch. I have followed this gist in the best \'learn X the hard way\' spirit, and everything installs fine - p
Installing through apt as documented at https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html seems to work well.
apt