Reputation: 877
I have been trying to install postgis 2.3 with postgres 9.6 on ubuntu 18.04 with command
sudo apt-get install postgresql-9.6-postgis-2.3
but got an error
E: Unable to locate package postgresql-9.6-postgis-2.3
E: Couldn't find any package by glob 'postgresql-9.6-postgis-2.3'
E: Couldn't find any package by regex 'postgresql-9.6-postgis-2.3'
I have postgres 9.6 installed.
Upvotes: 2
Views: 1456
Reputation: 2558
Error seems to be network or repository related.
Download the postgresql-9.6-postgis-2.3 package to local storage and install it.
For. example:
/path/to/postgis2_96-2.3.2-1.rhel7.x86_64.rpm
sudo alien --install /path/to/postgis2_96-2.3.2-1.rhel7.x86_64.rpm
Upvotes: -1