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:/#
Arya F <arya6000@gmail.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@debian.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