Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. 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 trying to install development files which include the headers and the libraries for qgis in Ubuntu 12.04. I used Ubuntu software center, synaptic and the terminal and am still getting the same result.

The following packages have unmet dependencies:


-Depends: libgeos-dev (>= 3.0.0) but 3.3.3-2~precise2 is to be installed

-Depends: libgsl0-dev but it is not going to be installed

-Depends: libqgis1.9.0 (= 1.9.0+git20120902+5a0d2f5~precise-ubuntugis1) but 1.9.0+git20120902+5a0d2f5~precise-ubuntugis1 is to be installed

-Depends: libqt4-dev (>= 4.4.0) but 4:4.8.1-0ubuntu4.2 is to be installed

-Depends: python-qt4 (>= 4.1.0) but 4.9.1-2ubuntu1 is to be installed

-Depends: python-qt4-dev (>= 4.1.0) but it is not going to be installed

-Depends: qt4-designer (>= 4.4.0) but 4:4.8.1-0ubuntu4.2 is to be installed

Can anyone help me with this installation?

Thank You.

share|improve this question

According to UbuntuUpdates:

Package "libqgis-dev"

WARNING: the "libqgis-dev" package was deleted from this repository

Name:   libqgis-dev

Quantum GIS - development files

Latest version: *DELETED*
Release:    precise (12.04)
Level:  base
Repository: universe
Head package:   qgis

Maybe it's part of what's causing your problem? The package doesn't exist in the repository anymore.

share|improve this answer

Instead of using the Ubuntu sources , maybe you could switch to the official QGIS repository for Ubuntu ? See Instructions here. I don't use Ubunut, but i assume that the libqgis development files are available there.

share|improve this answer

If you follow the instructions on the Download page it should work:

Nightly builds of the Master are available from following repository (i386 and amd64):

deb precise main
deb-src precise main

To add the the repository public key to your apt keyring, type:
gpg --keyserver --recv 997D3880
gpg --export --armor 997D3880 | sudo apt-key add -
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.