Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

E: Package 'postgresql-9.6-postgis-scripts' has no installation candidate #22

Open
sepgh opened this issue Dec 29, 2019 · 4 comments
Open

Comments

@sepgh
Copy link

sepgh commented Dec 29, 2019

I've ran the build script as mentioned in README, and I get this error:

E: Package 'postgresql-9.6-postgis-scripts' has no installation candidate

A little more details:

Step 17/68 : USER root
 ---> Using cache
 ---> 57e6ed1b9d37
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 3f7ab2d8c047
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
@manchkin2020
Copy link

I have this problem too =(

@bryanrideshark
Copy link

Rolling back to baseimage-docker:0.10.2 fixes it.

The latest version of baseimage-docker runs Ubuntu 18 - This dockerfile was written to target Ubuntu 16

@UntitleDude
Copy link

Can't you just clone the repo and remove this package until a fix is provided ?

@UntitleDude
Copy link

FROM phusion/baseimage:0.10.2

Doesn't fix it for Postgres 9.6 with postgis 2.4, unfortunately, the package is still missing (is this this one ?)

However, I don't have the remove this package with Postgres 9.5 and Postgis 2.3, somehow

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants