From: | laurent <dev(at)ljouanneau(dot)com> |
---|---|
To: | pgsql-pkg-debian(at)postgresql(dot)org |
Subject: | Dependency issue with postgresql-9.3-postgis-2.1 package, postgis does not work anymore |
Date: | 2016-02-18 11:32:14 |
Message-ID: | 56C5ABBE.5060707@ljouanneau.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-debian |
Hi,
I'm using packages from apt.postgresql.org. My OS: ubuntu 14.04.
On a new machine, I installed postgresql-9.3-postgis-2.1, and postgis
doesn't work any more.
Package version are:
postgresql-9.3-postgis-2.1: 2.1.8+dfsg-5~97.git43a09cc.pgdg14.04+1
postgresql-9.3-postgis-scripts: 2.2.1+dfsg-2.pgdg14.04+1
On other machines, installed versions are:
postgresql-9.3-postgis-2.1: 2.1.5+dfsg-1~exp2~90.git884bcd4.pgdg14.04+1
postgresql-9.3-postgis-scripts: 2.1.5+dfsg-1~exp2~90.git884bcd4.pgdg14.04+1
And it works well.
The issue :
$ psql -d test -c "CREATE EXTENSION postgis"
ERROR: cannot access to « $libdir/postgis-2.2 » : No such file or directory
In fact, postgresql-9.3-postgis-scripts contains scripts for Postgis
*2.2* (/usr/share/postgresql/9.3/contrib/postgis-2.2) whereas scripts
for Postgis *2.1* are expected. older version of
postgresql-9.3-postgis-scripts contained scripts for Postgis *2.1*. So a
simple apt-get update && apt-get upgrade on machines having this old
version break postgis :-/
postgresql-9.3-postgis-2.1 should not have dependency to
postgresql-9.3-postgis-scripts but to an other package which should
contains /usr/share/postgresql/9.3/contrib/postgis-2.1.
A solution for me is to upgrade to postgresql-9.3-postgis-2.2 but this
is tricky on production machines...
Laurent
From | Date | Subject | |
---|---|---|---|
Next Message | apt.postgresql.org repository | 2016-02-18 21:24:24 | pgbouncer updated to version 1.7.1-1.pgdg+1 |
Previous Message | apt.postgresql.org repository | 2016-02-16 12:00:58 | pg-repack updated to version 1.3.3-1.pgdg+2 |