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 need to install MediaWiki with PostgreSQl as database backend on an 10.04 server.

I would prefer to install MediaWiki via apt-get/aptitude but I don't know how to configure the installation not to install the unneeded MySQL.

Is it possible to change the dependencies from MySQL to PostgreSQL and if yes how can I do it?

share|improve this question
up vote 2 down vote accepted

You can do:

apt-get --ignore-depends install <pkg>

This will ignore all dependencies the only problem is that MySQL may not be the only one. So to avoid that I would suggest:

apt-get -d install <pkg>

Then once all the packages are downloaded. Install each one individually doing:

dpkg --ignore-depends <individual package>

Personally I think installing MySQL and then simply reconfigure MediaWiki to use PostgreSQL if it is possible might be a better solution.

share|improve this answer

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.