I am on Ubuntu 14.04. When I am installing PostGIS-2.1, it's asking for libgdal1 library. But when I am installing libgdal1, it's removing Grass and GDAL.

Can someone please guide me how to install Grass, GDAL and PostGIS?


1 Answer 1


I had a similar problem. PostGIS wanted libgdal1 and QGIS wanted libgdal1h. The problem was that I had my Repo for QGIS set to the main QGIS site, and Postgresql set to their main site. Postgresql kept wanting to upgrade past what QGIS wanted. Finally something gave and I ended up with circular conflicts between the two.

I ended up backing up my Postgres/PostGis databases. Then uninstalling just about everything GIS on my system. I had to do a "Complete" uninstall of Postgresql 9.1, because it was not uninstalling cleanly. Then I changed my repo over to UbuntuGIS and reinstalled everything from there. Restored my databases, and all was good.

  • Thanks a lot for this explanation and solution. Although I have already solved this issue long ago but I wasn't sure why this all happened before you explained things nicely. Regards!
    – Zia
    Commented Jan 30, 2015 at 9:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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