pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: laurent <dev@ljouanneau.com>
To: pgsql-pkg-debian@postgresql.org
Subject: Dependency issue with postgresql-9.3-postgis-2.1 package, postgis does not work anymore
Date: Thu, 18 Feb 2016 12:32:14 +0100
Message-ID: <56C5ABBE.5060707@ljouanneau.com> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



-- 
Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian



view thread (2+ messages)  latest in thread

Message-ID: <56C5ABBE.5060707@ljouanneau.com>
Permalink:  ../56C5ABBE.5060707@ljouanneau.com/
Also on:    postgresql.org/message-id/56C5ABBE.5060707@ljouanneau.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-pkg-debian@postgresql.org
  Cc: dev@ljouanneau.com
  Subject: Re: Dependency issue with postgresql-9.3-postgis-2.1 package, postgis does not work anymore
  In-Reply-To: <56C5ABBE.5060707@ljouanneau.com>
  References: <56C5ABBE.5060707@ljouanneau.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox