<html><head></head><body><div class="ydp9eeacaebyahoo-style-wrap" style="font-family:verdana, helvetica, sans-serif;font-size:16px;"><div></div>
<div dir="ltr" data-setdir="false">I just ran into this dependency problem when building a Bionic system with QGIS, mapserver & Postgis. None of the ubuntugis-unstable Postgres/Postgis combinations I tried would install, with a broken gdal-data dependency. GDAL3.x was installed, Postgis requires 2.x<br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I got everything installed that I need to install and work by disabling the ubuntugis-unstable repo & using the ubuntugis-stable one instead. <span>(latest versions are not critical - just the basic functionality - this
is for a temporary workstation at home during the COVID-19 lockdown in
New Zealand)</span></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Cheers...<br></div><div><br></div><div dir="ltr" data-setdir="false">Brent</div><div dir="ltr" data-setdir="false"><br></div>
</div><div id="ydp5e0d3b30yahoo_quoted_7185723867" class="ydp5e0d3b30yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Tuesday, April 7, 2020, 2:29:46 AM GMT+12, Sebastiaan Couwenberg <sebastic@xs4all.nl> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">On 4/6/20 3:50 PM, Jakob Miksch wrote:<br clear="none">> Just to make sure that I understand correctly:<br clear="none">> Ubuntu 18.04 with ubuntugis-unstable should only work safely with<br clear="none">> PostgreSQL 10. It is rather incompatible with PostgreSQL 12.<br clear="none">> <br clear="none">> Is that right?<br clear="none"><br clear="none">Not entirely.<br clear="none"><br clear="none">The postgis package for bionic in ubuntugis-unstable is only built<br clear="none">with/for postgresql-10 in bionic, hence its postgresql-10-postgis-3<br clear="none">binary package only works with postgresql-10.<br clear="none"><br clear="none">pgapt builds its postgis package for bionic with several postgresql<br clear="none">versions, but it uses the gdal version (and its dependencies) from<br clear="none">bionic which are older version than those in ubuntugis-unstable.<br clear="none"><br clear="none">gdal-data from ubuntugis-unstable is incompatible with gdal from bionic<br clear="none">itself as it has been updated to work with PROJ 6.<br clear="none"><br clear="none">Hence you need to choose to use packages that have been built with the<br clear="none">gdal (and related packages) from bionic itself (like those in pgapt), or<br clear="none">those that have been built with the version in ubuntugis-unstable (which<br clear="none">only builds for the postgresql version in bionic).<br clear="none"><br clear="none">Kind Regards,<br clear="none"><br clear="none">Bas<br clear="none"><br clear="none">-- <br clear="none"> GPG Key ID: 4096R/6750F10AE88D4AF1<br clear="none">Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1<div class="ydp5e0d3b30yqt7598332019" id="ydp5e0d3b30yqtfd49984"><br clear="none">_______________________________________________<br clear="none">UbuntuGIS mailing list<br clear="none"><a shape="rect" href="mailto:Ubuntu@lists.osgeo.org" rel="nofollow" target="_blank">Ubuntu@lists.osgeo.org</a><br clear="none"><a shape="rect" href="https://lists.osgeo.org/mailman/listinfo/ubuntu" rel="nofollow" target="_blank">https://lists.osgeo.org/mailman/listinfo/ubuntu</a><br clear="none"><a shape="rect" href="http://trac.osgeo.org/ubuntugis/wiki" rel="nofollow" target="_blank">http://trac.osgeo.org/ubuntugis/wiki</a></div></div></div>
</div>
</div></body></html>