Thread: now that 10.0 is the default...

now that 10.0 is the default...

From
Eric Thiele
Date:
How do I install *just* postgis along with postgresql-9.6? On ubuntu 16.04... I've already installed postgresql-9.6 I want to add postgis - but it's forcing the installation of postgres-10 - which I don't want to deal with at the moment... ----- root@ip-172-31-30-136:/home/ubuntu# apt-get install postgis Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: postgresql-10 postgresql-10-postgis-2.4 postgresql-10-postgis-2.4-scripts postgresql-client-10 Suggested packages: postgis-gui locales-all postgresql-doc-10 The following NEW packages will be installed: postgis postgresql-10 postgresql-10-postgis-2.4 postgresql-10-postgis-2.4-scripts postgresql-client-10 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/7,379 kB of archives. After this operation, 117 MB of additional disk space will be used. Do you want to continue? [Y/n] n Abort. root@ip-172-31-30-136:

Re: now that 10.0 is the default...

From
Adrian Vondendriesch
Date:
Hi Eric,

Am Mittwoch, den 29.11.2017, 11:37 -0600 schrieb Eric Thiele:
> How do I install *just* postgis along with postgresql-9.6?
>
> On ubuntu 16.04...
>
> I've already installed postgresql-9.6
>
> I want to add postgis - but it's forcing the installation of
> postgres-10 - which I don't want to deal with at the moment...
>
> -----
> root@ip-172-31-30-136:/home/ubuntu# apt-get install postgis
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following additional packages will be installed:
>   postgresql-10 postgresql-10-postgis-2.4 postgresql-10-postgis-2.4-
> scripts postgresql-client-10
> Suggested packages:
>   postgis-gui locales-all postgresql-doc-10
> The following NEW packages will be installed:
>   postgis postgresql-10 postgresql-10-postgis-2.4 postgresql-10-
> postgis-2.4-scripts postgresql-client-10
> 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/7,379 kB of archives.
> After this operation, 117 MB of additional disk space will be used.
> Do you want to continue? [Y/n] n
> Abort.
> root@ip-172-31-30-136:

postgresql-10 and more is listed in Recommends. apt-get install --no-
install-recommends postgis should install postgis without postgresql-
10.

Cheers,- Adrian