postgresql-9.5-postgis-2.2 only depends on library packages. The postgis package contained shp2pgsql-gui which has a dependency on libglib2.0-0 & libgtk2.0-0, these pull in various other graphics related library packages.
In postgis (2.2.2+dfsg-2~exp1) the shp2pgsql-gui has been moved to a separate postgis-gui package which is only suggested by the other packages. This should not pull graphics related packages unless you choose to install the postgis-gui package. ** Changed in: postgis (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579653 Title: Too many dependencies when installing postgresql-9.5-postgis-2.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postgis/+bug/1579653/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs