Opened 4 years ago

Last modified 4 years ago

#83 new defect

Package conflict postgis 2.5 libgdal20, libgdal26,gdal-data

Reported by: sbl Owned by: jlarouche@…
Component: GDAL Severity: wishlist
Keywords: gdal, postgis Cc:

Description

Not sure if this is the right place to report... Postgresql-10-postgis-2.5.2 package in ubuntugis-unstable has broken dependencies. It requires libgdal20 but with gdal 3 only libgdal26 is installed. Updates of the extension fail because the postgis 2.5 lib is missing. Would be super cool if you could add a postgis 2.5.2 package with gdal 3 (if possible) or maybe even better a possibility to install libgdal20 in addition to libgdal26 as also other pacages (e.g. octave-maps, liblas) are affected... Currently,gdal-data causes conflicts between the two... See also: https://gis.stackexchange.com/questions/359093/gdal-conflicts-between-gdal-and-postgis-versions-in-r

Change History (1)

comment:1 by sbl, 4 years ago

For PostGIS one can use the following workaround

cd /usr/lib/postgresql/10/
sudo cp postgis-3.so postgis-2.5.so
psql -d mydatabase -c "ALTER EXTENSION postgis UPDATE TO '3.0.1';"
sudo rm postgis-2.5.so

Other packages will be still suffering from this conflict I guess...

Note: See TracTickets for help on using tickets.