Re: Postgis package for Postgresql 13

From: Imre Samu <pella(dot)samu(at)gmail(dot)com>
To: Arya F <arya6000(at)gmail(dot)com>
Cc: pgsql-pkg-debian(at)lists(dot)postgresql(dot)org
Subject: Re: Postgis package for Postgresql 13
Date: 2020-10-12 02:20:51
Message-ID: CAJnEWwk08PdZ6feJ0dP0fCfr7VdzHeR4ozxiXYn-etZB-5+3pg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

> However when doing "apt install postgis", it tries to install
> postgresql-12-postgis-3-scripts and postgresql-client-12

try:

apt install --no-install-recommends postgresql-13-postgis-3
apt install --no-install-recommends postgis

log:

root(at)907b64b795c0:/# apt install --no-install-recommends postgis
Reading package lists... Done
Building dependency tree
Reading state information... Done
Recommended packages:
postgresql-12-postgis-3 postgis-doc
The following NEW packages will be installed:
postgis
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 322 kB of archives.
After this operation, 1,517 kB of additional disk space will be used.
Get:1 http://apt.postgresql.org/pub/repos/apt buster-pgdg/main amd64
postgis amd64 3.0.2+dfsg-2.pgdg100+1 [322 kB]
Fetched 322 kB in 0s (1,486 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package postgis.
(Reading database ... 13173 files and directories currently installed.)
Preparing to unpack .../postgis_3.0.2+dfsg-2.pgdg100+1_amd64.deb ...
Unpacking postgis (3.0.2+dfsg-2.pgdg100+1) ...
Setting up postgis (3.0.2+dfsg-2.pgdg100+1) ...
root(at)907b64b795c0:/#

tested with:

docker run -it --rm postgres:13 bash

apt update
apt install --no-install-recommends postgresql-13-postgis-3
apt install --no-install-recommends postgis

Imre

Arya F <arya6000(at)gmail(dot)com> ezt írta (időpont: 2020. okt. 11., V, 21:54):

> I have installed the postgresql-13-postgis-3 package. The issue is
> that I need the "shp2pgsql" utility and it's part of the "Postgis"
> package. It never gets installed by installing the
> "postgresql-13-postgis-3" package
>
> On Sun, Oct 11, 2020 at 2:38 PM Christoph Berg <myon(at)debian(dot)org> wrote:
> >
> > Re: Arya F
> > > I'm using Postgresql 13 on Debian 10. I installed it using the
> following repo
> > >
> > > deb http://apt.postgresql.org/pub/repos/apt buster-pgdg main
> > >
> > > However when doing "apt install postgis", it tries to install
> > > postgresql-12-postgis-3-scripts and postgresql-client-12
> > >
> > > I am using Postgresql 13, Has the Postgis package been released in the
> > > repository yet? if yes, how can I tell it to install it for Postgresql
> > > 13 instead of 12?
> >
> > Try selecting the package explicitly:
> >
> > apt install postgresql-13-postgis-3
> >
> > Christoph
>
>
>

In response to

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Christoph Berg 2020-10-12 15:30:05 pgadmin4 adopter wanted
Previous Message David E. Wheeler 2020-10-11 22:46:11 Re: Update Old Version Public Keys?