Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am installing LocalWiki on a Virtual Machine hosted by 1& It is Ubuntu 12.04.

When I run sudo apt-get install localwiki as instructed by,

I get the following error

The following packages have unmet dependencies:
localwiki : Depends: postgresql-9.1-postgis but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I tried on my own to install postgresql but I ended up making things worse. I just did a clean install on 12.04 and I was wondering if someone here could assist me further.


edit: I even ran sudo apt-get install postgresql successfully and I still get the same error.
edit: I also want to point out that I think it may be something with my server. It says that 1&1 installs the OS with minimal OS. When I tried the instructions of localwiki on a VM on my local machine with 12.04, they worked perfectly. So I probably need to update something on my VM I am renting from 1and1?
edit: I downgraded to 9.1.5, since in another questions on here that seemed to work. It didn't work for me :(

share|improve this question
Please try to incorporate edits properly into the body of your question by rewriting the relevant part of the question as opposed to adding them at the end of the question. – user25656 Mar 11 '13 at 3:48

Install the missing package. It will pull in postgres-9.1 (not the other way around):

sudo apt-get install postgresql-9.1-postgis localwiki
share|improve this answer
That still did not work. I get the same error – PolarisUser Mar 11 '13 at 23:33
@PolarisUser Please include in your question the full output of apt-get update; apt-get install postgres-9.1-postgis – zwets Mar 12 '13 at 5:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.