Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRnSZ-0005uA-Af for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 12 Oct 2020 02:21:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kRnSX-0004kw-A7 for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 12 Oct 2020 02:21:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRnSW-0004kp-Uk for pgsql-pkg-debian@lists.postgresql.org; Mon, 12 Oct 2020 02:21:09 +0000 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kRnSR-0001cX-VA for pgsql-pkg-debian@lists.postgresql.org; Mon, 12 Oct 2020 02:21:07 +0000 Received: by mail-ej1-x643.google.com with SMTP id e22so21059169ejr.4 for ; Sun, 11 Oct 2020 19:21:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0arZd2/Lj9C1iSpuJhWVHoABkM3MfHN+b5bBrhkVZJA=; b=EwWRSVM/mej+ZIDWtRG19cJX5YjUqiiD5tmaLTvbrKEsUSkZdSP4YW/SjmTgCT6rlj vUjAIfTp4YRDVh7quzxt2gp0ETIvM1Yl1nB5W3D5WoO+KbmKzZtUoz9xDoKMDLRH2CBe zv44nksdoPrOehTHWL1svJi02WU/3rvUm3H97SRLKLsFUtUffL0bLSkw+CF7fcRFnWP5 tGG1uUdYXZrHBextXjbLsR+81w1e01dkqs6WcNel7QEMGR+sLndsTMMcDCYrwOdBOobT 9RYYQbrx2jvTUl92StgnGgfwuCOisD6smQqmQMpafwmg8qRF2mMy/Xq37QLUgNqyqKEL QjWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0arZd2/Lj9C1iSpuJhWVHoABkM3MfHN+b5bBrhkVZJA=; b=h2aBadqRpdD5cV6MXmCVPDiqWxuXfbyeANFzZZSUHaxNluBPtUHXW+C3pz9ajv3E5V NAKGgaFXASJTxVNUSzasVb3d8CY05SmXjD9gy60UUXQhlrXgY5Bqs1+/Onl5G06a0sjX mM89WJL6XuBVGED/U+T9WZgY0UDv6Ka8rIVlhYpn0LXVg+u3tCxuLs6N92tDXF7MuwEM J7Ef+6qCxSDBb6Hw1DxfdHHUdP5OHvWfrYL9YNKqTKRYHG4BlCY1vXAkCKlpnl74WbfB u9g3bMvpHcr2rOu+iItufrtqjKSPbHpDzU7NHK7hfep81f2a9ParEIk1NZLwIV/CAvcm U5kA== X-Gm-Message-State: AOAM530VHHN76BUI24shayvBSPkFmLB/Xei+1Q0/uNI4F6eYIMZjYZua mxdo/XgYw/CHgdqroN2oC7oftFVXm4H2yiQd2Ww= X-Google-Smtp-Source: ABdhPJzId4Vgh+Ce9pIEqBwzv0f+5IaHt2k83B9JaodWYzuHQC+/reyMQnrySJOvjtt0GNk4yOPi/tRES389rboDWJ0= X-Received: by 2002:a17:906:3294:: with SMTP id 20mr25164731ejw.322.1602469262496; Sun, 11 Oct 2020 19:21:02 -0700 (PDT) MIME-Version: 1.0 References: <20201011183815.GB709789@msg.df7cb.de> In-Reply-To: From: Imre Samu Date: Mon, 12 Oct 2020 04:20:51 +0200 Message-ID: Subject: Re: Postgis package for Postgresql 13 To: Arya F Cc: pgsql-pkg-debian@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000027987a05b16ff304" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --00000000000027987a05b16ff304 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > 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@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@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 ezt =C3=ADrta (id=C5=91pont: 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 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 th= e > > > repository yet? if yes, how can I tell it to install it for Postgresq= l > > > 13 instead of 12? > > > > Try selecting the package explicitly: > > > > apt install postgresql-13-postgis-3 > > > > Christoph > > > --00000000000027987a05b16ff304 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> However when doing "apt install postgis", i= t tries to install
>=C2=A0postgresql-12-postgis-3-scripts and postgr= esql-client-12

try:

apt ins= tall --no-install-recommends postgresql-13-postgis-3
apt install --no-in= stall-recommends postgis


log:

root@907b64b795c0:/# a= pt install --no-install-recommends postgis
Reading package lists... Done=
Building dependency tree =C2=A0 =C2=A0 =C2=A0
Reading state informa= tion... Done
Recommended packages:
=C2=A0 postgresql-12-postgis-3 pos= tgis-doc
The following NEW packages will be installed:
=C2=A0 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 amd= 64 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 n= ot installed
Selecting previously unselected package postgis.
(Readin= g database ... 13173 files and directories currently installed.)
Prepari= ng 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.pg= dg100+1) ...
root@907b64b795c0:/#



tested with:

docker ru= n -it --rm postgres:13 bash

apt up= date
apt in= stall --no-install-recommends postgresql-13-postgis-3
apt install --no-install-recomme= nds postgis



Im= re



Arya F <arya6000@gmail.com> ezt =C3=ADrta (id=C5=91pont: 2= 020. 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 &quo= t;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@debian.org> wrote:
>
> Re: Arya F
> > I'm using Postgresql 13 on Debian 10. I installed it using th= e following repo
> >
> > deb http://apt.postgresql.org/pub/repos/apt bus= ter-pgdg main
> >
> > However when doing "apt install postgis", it tries to i= nstall
> > postgresql-12-postgis-3-scripts and postgresql-client-12
> >
> > I am using Postgresql 13, Has the Postgis package been released i= n the
> > repository yet? if yes, how can I tell it to install it for Postg= resql
> > 13 instead of 12?
>
> Try selecting the package explicitly:
>
> apt install postgresql-13-postgis-3
>
> Christoph


--00000000000027987a05b16ff304--