merlinnot / nominatim-docker

Fully-featured container for geocoding, reverse geocoding and address lookup based on Nominatim and Open Street Map data.
MIT License
55 stars 35 forks source link

Package 'postgresql-9.6-postgis-scripts' has no installation candidate #19

Closed thobiasn closed 5 years ago

thobiasn commented 5 years ago

After running:

docker build github.com/merlinnot/nominatim-docker \
  -t nominatim \
  --build-arg BUILD_THREADS=4 \
  --build-arg BUILD_MEMORY=4GB \
  --build-arg OSM2PGSQL_CACHE=28000 \
  --build-arg RUNTIME_THREADS=2 \
  --build-arg RUNTIME_MEMORY=4GB \
  --build-arg PBF_URL="https://download.geofabrik.de/asia/maldives-latest.osm.pbf"
Step 18/68 : RUN apt-get install -y --no-install-recommends       apache2       build-essential       ca-certificates       cmake       curl       g++       git       libapache2-mod-php       libboost-dev       libboost-filesystem-dev       libboost-python-dev       libboost-system-dev       libbz2-dev       libexpat1-dev       libgeos-dev       libgeos++-dev       libpq-dev       libproj-dev       libxml2-dev      openssl       osmosis       php       php-db       php-intl       php-pear       php-pgsql       postgresql-${PGSQL_VERSION}-postgis-${POSTGIS_VERSION}       postgresql-${PGSQL_VERSION}-postgis-scripts       postgresql-contrib-${PGSQL_VERSION}       postgresql-server-dev-${PGSQL_VERSION}       python       python-pip       python-setuptools       sudo       zlib1g-dev
 ---> Running in 2060a7f3f51f
Reading package lists...
Building dependency tree...
Reading state information...
Package postgresql-9.6-postgis-scripts is a virtual package provided by:
  postgresql-9.6-postgis-3-scripts 3.0.0+dfsg-2~exp1.pgdg16.04+1
  postgresql-9.6-postgis-2.5-scripts 2.5.3+dfsg-2.pgdg16.04+1

E: Package 'postgresql-9.6-postgis-scripts' has no installation candidate
The command '/bin/sh -c apt-get install -y --no-install-recommends       apache2       build-essential       ca-certificates       cmake       curl       g++       git       libapache2-mod-php       libboost-dev       libboost-filesystem-dev       libboost-python-dev       libboost-system-dev       libbz2-dev       libexpat1-dev       libgeos-dev       libgeos++-dev       libpq-dev       libproj-dev       libxml2-dev      openssl       osmosis       php       php-db       php-intl       php-pear       php-pgsql       postgresql-${PGSQL_VERSION}-postgis-${POSTGIS_VERSION}       postgresql-${PGSQL_VERSION}-postgis-scripts       postgresql-contrib-${PGSQL_VERSION}       postgresql-server-dev-${PGSQL_VERSION}       python       python-pip       python-setuptools       sudo       zlib1g-dev' returned a non-zero code: 100
rymain commented 5 years ago

you can try to use --build-arg PGSQL_VERSION=9.3 to fix this