[postgis-users] Postgis 2.1 install on Debian
Cedric.DUPREZ at ign.fr
Thu Dec 1 00:50:10 PST 2016
In order to try backup/restore of production environment, I want to install
PostgreSQL 9.3 / Postgis 2.1 on a fresh Debian Jessie server.
To do that, I add the postgresql repository:
echo "deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main" >
Then I update and install PostgreSQL 9.3, as in my production environment:
apt-get update && apt-get install -y postgresql-9.3 postgresql-client-9.3
After that, I install gdal:
apt-get install -y gdal-bin libgdal-dev
Finally, I try to install PostGIS 2.1 like this:
apt-get install -y postgresql-9.3-postgis-2.1
This tells me that the following packages will be installed:
And when I connect to the server, the installed version of PostGIS is 2.3.
Why doesn't it install PostGIS 2.1, as I specified?
What am I doing wrong?
Thanks in advance for your help.
View this message in context: http://postgis.17.x6.nabble.com/Postgis-2-1-install-on-Debian-tp5010702.html
Sent from the PostGIS - User mailing list archive at Nabble.com.
More information about the postgis-users