Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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:

libqgis-dev:

-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
add comment

3 Answers

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):

Precise:
deb     http://qgis.org/debian-nightly precise main
deb-src http://qgis.org/debian-nightly precise main

To add the the qgis.org repository public key to your apt keyring, type:
gpg --keyserver keyserver.ubuntu.com --recv 997D3880
gpg --export --armor 997D3880 | sudo apt-key add -
share|improve this answer
add comment

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
add comment

According to UbuntuUpdates:

Package "libqgis-dev"


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


Name:   libqgis-dev

Description:    
Quantum GIS - development files

Latest version: *DELETED*
Release:    precise (12.04)
Level:  base
Repository: universe
Head package:   qgis
Homepage:   http://qgis.org/

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

share|improve this answer
add comment

Your Answer

 
discard

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.