Using a Lucid package on Karmic?

Asked by Kent R

My end goal is to get Solr installed. I prefer to do this via the package manager.

I currently have Tomcat6 installed. The solr-tomcat5.5 package refuses to install, even with attempting to manually resolve the dependencies.

Since the Tomcat5.5 package doesn't exist, and the Karmic solr-tomcat pkg depends on it, I'm hoping I can install the Lucid pkg.

If no one says it's a very bad idea, I'm game to try it and see if it functions, but I'd love some advice on the best way to get apt to recognize the Lucid package - such as what line to add to /etc/apt/sources.list.

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu solr Edit question
Assignee:
No assignee Edit question
Solved by:
Kent R
Solved:
Last query:
Last reply:
Revision history for this message
François Tissandier (baloo) said :
#1

Well, you can just simply try to download and install the Lucid deb package. It depends on solr-common (1.4.0) and tomcat6. If this package can find those dependencies, it should install just fine in Karmic. But of course I cannot try here, so I'm not 100% sure.

Try there:
http://packages.ubuntu.com/lucid/all/solr-tomcat/download

Revision history for this message
Kent R (kent-kentrichards) said :
#2

@François Tissandier

Thanks. I ended up adding the following line to /etc/apt/sources.list:

  deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted universe

Then did this to get the new solr packages recognized:

  sudo apt-get update

----------------------------------------------------
For the benefit of others:

After installing, undo the sources.list change so that unpredicted results don't occur when installing other packages.

I had some trouble getting tomcat / solr running that might have been related to previous installation attempts. After purging & installing from scratch all tomcat / solr packages, it worked.