pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Markus Wanner <markus@bluegap.ch>
Cc: Ryan Taylor <rgtaylor1989@gmail.com>
Cc: pgsql-pkg-debian@postgresql.org
Subject: Re: Missing Postgis.control
Date: Wed, 13 Sep 2017 23:03:47 +0200
Message-ID: <20170913210347.dmxvcvdghqivmdaj@msg.df7cb.de> (raw)
In-Reply-To: <eb34b0f5-1b73-e8c4-dbac-ef29c8e0c24c@bluegap.ch>
References: <CAAn=9DDCxkRRLRM+Laxbx5071eRVVAnMA=mHTbeWv1P=Y+Fmkw@mail.gmail.com>
	<20170615081555.jhipclsub7567jnn@msg.df7cb.de>
	<CAAn=9DDUrV-A7cBsm1KsxzLN4JyzLP7CPwN5+rdSM2uo_Au=5Q@mail.gmail.com>
	<ec5beb31-d396-4b2c-6cf8-ae9a7a5a41fc@bluegap.ch>
	<20170616083146.7k2xfv4xzklv7cbc@msg.df7cb.de>
	<eb34b0f5-1b73-e8c4-dbac-ef29c8e0c24c@bluegap.ch>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

Re: Markus Wanner 2017-06-16 <eb34b0f5-1b73-e8c4-dbac-ef29c8e0c24c@bluegap.ch>
> On 06/16/2017 10:31 AM, Christoph Berg wrote:
> > It doesn't say that it is needed for the initial installation as well.
> 
> Correct, that should be included in the (long) description.

I just pushed some fixes that should clarify the roles of
postgresql-9.6-postgis-2.4 and postgresql-9.6-postgis-2.4-scripts.

> > From UX viewpoint, it would be nice if "apt-get install
> > postgresql-9.6-postgis-2.3" just worked.
> 
> It does. At least as long as you don't disable installation of
> recommended packages *and* don't another version of the scripts
> installed, already.
> 
> Actually, even just installing `postgis` does the trick, then.

Right, except everyone I know disables installation of recommends...

> >  My idea would be:
> > 
> > Package: postgresql-9.6-postgis-2.3
> > Depends: postgresql-9.6-postgis-scripts
> 
> IIRC that's what we had before, but reverted forth and back to versioned
> scripts packages...

I wrapped my brain for some time about that, and came to the
conclusion that Depends: doesn't really work, short of introducing
other ugly hacks. The package description now clearly mentions that
the -scripts package is needed, so we should be good now.

> > ... users could even install older postgis extensions by using
> > the correct CREATE EXTENSION ... VERSION command.
> 
> Does that work for older versions when postgis.control is from the most
> current one? IIRC that's the only file that really requires the -scripts
> packages to conflict.

The control files should be the same, except for one line that has the
default version to create, which isn't used if an explicit version is
given.

Christoph


-- 
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 (9+ messages)

Message-ID: <20170913210347.dmxvcvdghqivmdaj@msg.df7cb.de>
Permalink:  ../20170913210347.dmxvcvdghqivmdaj@msg.df7cb.de/
Also on:    postgresql.org/message-id/20170913210347.dmxvcvdghqivmdaj@msg.df7cb.de

 · 

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: myon@debian.org, markus@bluegap.ch, rgtaylor1989@gmail.com
  Subject: Re: Missing Postgis.control
  In-Reply-To: <20170913210347.dmxvcvdghqivmdaj@msg.df7cb.de>
  References: <CAAn=9DDCxkRRLRM+Laxbx5071eRVVAnMA=mHTbeWv1P=Y+Fmkw@mail.gmail.com> <20170615081555.jhipclsub7567jnn@msg.df7cb.de> <CAAn=9DDUrV-A7cBsm1KsxzLN4JyzLP7CPwN5+rdSM2uo_Au=5Q@mail.gmail.com> <ec5beb31-d396-4b2c-6cf8-ae9a7a5a41fc@bluegap.ch> <20170616083146.7k2xfv4xzklv7cbc@msg.df7cb.de> <eb34b0f5-1b73-e8c4-dbac-ef29c8e0c24c@bluegap.ch> <20170913210347.dmxvcvdghqivmdaj@msg.df7cb.de>

* 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