Bug#838036: Postgis package has very many GUI dependencies

Phil Endecott spam_from_debian_bugs_2016 at chezphil.org
Fri Sep 16 17:36:58 UTC 2016


Package: postgresql-9.5-postgis-2.2
Version: 2.2.2+dfsg-5

Attempting to install postgis on a headless server, i.e. a
system that doesn't have X or any sort of desktop environment
installed, wants to bring in vast numbers of dependencies.

The issue seems to be that the postgis package depends on
liblwgeom, which depends on libsfcgal, which depends on
libopenscenegraph.  This depends on lots of GUI things
including mesa and qt.  (There may also be other dependency
chains that I've not noticed.)

It seems reasonable to me that I should be able to add geographic
primitives to PostgreSQL in order to, for example, execute the
query that appears at the top of the PostGIS website:

SELECT superhero.name
FROM city, superhero
WHERE ST_Contains(city.geom, superhero.geom)
AND city.name = 'Gotham';

- without also having to install vast numbers of unwanted
GUI packages.  Would it be possible to downgrade some of the
dependencies to "suggests", or perhaps offer a "lite" package
that avoids them entirely?

Thanks, Phil.



More information about the Pkg-grass-devel mailing list