2

Using apt-get to install solr-jetty only gives me version 1.4 of Solr, but I would like to use one of the 3.x versions.

I'm not yet confident enough to do a manual installation (something usually goes wrong or I end up irreversibly breaking something).

Is there a way I can easily install the version of solr-jetty for I want for my version of Ubuntu via apt-get?

As an update to the question, I have tried the PPA in the suggested question, however, it did not work. I am told that this is because it is for a different version of Ubuntu.

This is the error I receive at the end of running apt-get update:

Fetched 2,535 kB in 7s (354 kB/s) W: Failed to fetch http://ppa.launchpad.net/gasol-wu/oneiric/ubuntu/dists/precise/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/gasol-wu/oneiric/ubuntu/dists/precise/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/gasol-wu/oneiric/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

I have also tried an installation of Jetty and Openjdk using apt-get, but this resulted in Jetty not starting as a service.

Braiam
  • 69,112
James
  • 121

1 Answers1

0

That's because the ppa is set only to offer oneiric packages.

ppa:gasol-wu/oneiric

I have some reserves about why the maintainer did this, instead creating a sole ppa for all ubuntu versions, but ok, to solve your problem you should follow the same steps but changing oneiric for precise:

sudo add-apt-repository ppa:gasol-wu/precise
sudo apt-get update
sudo apt-get install solr-jetty

Of course you should purge and delete the old ppa so you won't get more errors.

Braiam
  • 69,112