postgresql icon indicating copy to clipboard operation
postgresql copied to clipboard

Installation fails on Ubuntu 20 (Focal Fossa)

Open thbar opened this issue 4 years ago • 1 comments

I am in the process of migration a few machines to Ubuntu 20.

I get the following error:

TASK [ANXS.postgresql : PostgreSQL | Extensions | Make sure the postgis extensions are installed | Debian] ***********************
fatal: [vagrant-xyz]: FAILED! => changed=false 
  msg: No package matching 'libgeos-c1' is available

This package is not available, and I believe that like in https://github.com/ANXS/postgresql/pull/435, the correct one is libgeos-c1v5:

$ sudo apt-cache search -n libgeos
libgeos++-dev - Geometry engine for GIS - C++ development files
libgeos-3.8.0 - Geometry engine for Geographic Information Systems - C++ Library
libgeos-c1v5 - Geometry engine for Geographic Information Systems - C Library
libgeos-dev - Geometry engine for GIS - Development files
libgeos-doc - Documentation for the GEOS GIS geometry engine library

thbar avatar Aug 24 '20 09:08 thbar

I am in the process of migration a few machines to Ubuntu 20.

I get the following error:

TASK [ANXS.postgresql : PostgreSQL | Extensions | Make sure the postgis extensions are installed | Debian] ***********************
fatal: [vagrant-xyz]: FAILED! => changed=false 
  msg: No package matching 'libgeos-c1' is available

This package is not available, and I believe that like in #435, the correct one is libgeos-c1v5:

$ sudo apt-cache search -n libgeos
libgeos++-dev - Geometry engine for GIS - C++ development files
libgeos-3.8.0 - Geometry engine for Geographic Information Systems - C++ Library
libgeos-c1v5 - Geometry engine for Geographic Information Systems - C Library
libgeos-dev - Geometry engine for GIS - Development files
libgeos-doc - Documentation for the GEOS GIS geometry engine library

idem problem with debian buster and skip with vars into playbook:

    postgresql_ext_postgis_deps:
      - libgeos-c1v5
      - "postgresql-{{ postgresql_version }}-postgis-{{ postgresql_ext_postgis_version }}"
      - "postgresql-{{ postgresql_version }}-postgis-2.5-scripts"

mikysal78 avatar Oct 13 '20 14:10 mikysal78

I close this issue because wa can't reproduce, thus now we've got mulecule test with debian and this role is now extensively tested on many debian versions

MrMegaNova avatar Dec 15 '23 13:12 MrMegaNova