Thread: PostGIS breakage on libgdal in Ubuntu

PostGIS breakage on libgdal in Ubuntu

From
Josh Berkus
Date:
Folks,

Currently apt.postgresql.org ships a postgresql-9.4-postgis-2.1 which
depends on a libgdal1 which you also ship.  However, this libgdal1 will
not install on Ubuntu Trusty because it is incompatible with the
supporting geo libraries it needs.

Is there a reason why the pgdg postgis doesn't just depend on the
libgdal1h which ships with Ubuntu?  That would fix the issue neatly.  As
it is, it's not possible to install PostGIS+9.4 using pgdg packages on
Ubuntu.

Is this something which is different on Debian vs. Ubuntu, and that's
the reason for the breakage?

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


Re: PostGIS breakage on libgdal in Ubuntu

From
Markus Wanner
Date:
Josh,

sorry, I'm a bit late on this one.

On 08/18/2015 10:30 PM, Josh Berkus wrote:
> Currently apt.postgresql.org ships a postgresql-9.4-postgis-2.1 which
> depends on a libgdal1 which you also ship.  However, this libgdal1 will
> not install on Ubuntu Trusty because it is incompatible with the
> supporting geo libraries it needs.

Maybe this issue has been addressed without me realizing, but: pgapt
currently doesn't ship libgdal for trusty. Do you happen to use a
mismatching repository?

> Is there a reason why the pgdg postgis doesn't just depend on the
> libgdal1h which ships with Ubuntu?

For precise and wheezy, we had to back-port libgdal to work with newer
postgis versions. This shouldn't be necessary on trusty.

Regards

Markus



Re: PostGIS breakage on libgdal in Ubuntu

From
Josh Berkus
Date:
On 09/18/2015 08:52 AM, Markus Wanner wrote:
> Josh,
>
> sorry, I'm a bit late on this one.
>
> On 08/18/2015 10:30 PM, Josh Berkus wrote:
>> Currently apt.postgresql.org ships a postgresql-9.4-postgis-2.1 which
>> depends on a libgdal1 which you also ship.  However, this libgdal1 will
>> not install on Ubuntu Trusty because it is incompatible with the
>> supporting geo libraries it needs.
>
> Maybe this issue has been addressed without me realizing, but: pgapt
> currently doesn't ship libgdal for trusty. Do you happen to use a
> mismatching repository?

Yes.  I was getting bad advice on how to fix things on #postgis IRC
channel.  Ignore the rest.


--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com