My python application makes heavy use of the osgeo library. We're looking to upgrade from PostGIS 1.5 to PostGIS 2.1, and I'm having issues.
I'm installing packages from the Ubuntu GIS PPA.
Before, I would install the python-gdal Ubuntu package to install GDAL with a copy of the osgeo python library. I would also install postgresql-9.1-postgis. Now, installing postgresql-9.3-postgis-2.1 uninstalls python-gdal, and vice versa. They are incompatible with one another, since one requires libgdal1 and the other requires libgdal1h. I have found instructions to compile libgdal from source, specifying to include the osgeo python library, but I would prefer to use a package if possible.
Does anyone know of a way to have PostGIS 2.1 and the Python osgeo library installed together without having to compile from source?