public inbox for [email protected]  
help / color / mirror / Atom feed
Postgis package for Postgresql 13
4+ messages / 3 participants
[nested] [flat]

* Postgis package for Postgresql 13
@ 2020-10-11 14:45  Arya F <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: Arya F @ 2020-10-11 14:45 UTC (permalink / raw)
  To: [email protected]

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?





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Postgis package for Postgresql 13
@ 2020-10-11 18:38  Christoph Berg <[email protected]>
  parent: Arya F <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: Christoph Berg @ 2020-10-11 18:38 UTC (permalink / raw)
  To: Arya F <[email protected]>; +Cc: [email protected]

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





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Postgis package for Postgresql 13
@ 2020-10-11 19:53  Arya F <[email protected]>
  parent: Christoph Berg <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: Arya F @ 2020-10-11 19:53 UTC (permalink / raw)
  To: Christoph Berg <[email protected]>; +Cc: [email protected]

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 <[email protected]> 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





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Postgis package for Postgresql 13
@ 2020-10-12 02:20  Imre Samu <[email protected]>
  parent: Arya F <[email protected]>
  0 siblings, 0 replies; 4+ messages in thread

From: Imre Samu @ 2020-10-12 02:20 UTC (permalink / raw)
  To: Arya F <[email protected]>; +Cc: [email protected]

> 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 <[email protected]> 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 <[email protected]> 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
>
>
>


^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2020-10-12 02:20 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-10-11 14:45 Postgis package for Postgresql 13 Arya F <[email protected]>
2020-10-11 18:38 ` Christoph Berg <[email protected]>
2020-10-11 19:53   ` Arya F <[email protected]>
2020-10-12 02:20     ` Imre Samu <[email protected]>

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