[postgis-users] PostGIS packaging error by Canonical for Ubuntu 22.04.1 LTS / jammy?

Marco Boeringa marco at boeringa.demon.nl
Mon Aug 29 11:38:58 PDT 2022

Fixed it.

The problem was that after the upgrade to Ubuntu 22.04 jammy, I was 
still running the PostgreSQL version of 20.04. This is because I 
initially had installed PostgreSQL from the PostgreSQL apt repository, 
not the official Ubuntu one. Since the PostgreSQL apt repository 
reference was not updated automatically during the upgrade to 22.04, the 
install of PostgreSQL wasn't updated as well. Updating it, now allowed 
installation of the proper version with PROJ 8.2.1 support:

POSTGIS="3.2.3 2f97b6c" [EXTENSION] PGSQL="140" 
GEOS="3.10.2-CAPI-1.16.0" PROJ="8.2.1" LIBXML="2.9.13" LIBJSON="0.15" 
LIBPROTOBUF="1.3.3" WAGYU="0.5.0 (Internal)"

Since I haven't done a lot of these Ubuntu upgrades, this aspect of 
needing to separately update the added PostgreSQL repository, had 
escaped me.

It would be kind of nice if Ubuntu upgrades offered the option to 
automatically upgrade such custom apt repository references during the 
upgrade, to avoid confusion for non-Linux experts like me, that only do 
this kind of stuff very sporadically.


Op 28-8-2022 om 22:02 schreef Marco Boeringa:
> Synaptic shows the "Debian GIS Project" as the "Maintainer" on my 
> current install for "postgis", while "proj-bin" and "proj-data" show 
> "Ubuntu Developers".
> Op 28-8-2022 om 20:01 schreef Marco Boeringa:
>> Hi,
>> After upgrading to Ubuntu 22.04.1 LTS / jammy, I am encountering an 
>> "value out of range: underflow" error.
>> Now I had forgotten it, but last time I encountered this, it seemed 
>> related to an issue with an attempted update by myself to PROJ 8.2.1 
>> on Ubuntu 20.04, while Canonical's Ubuntu distribution had PostGIS 
>> compiled with PROJ 6.3.1:
>> https://www.postgresql.org/message-id/flat/8cac8dd1002260402o6bf21b8aqa4bca4cd26f235d9%40mail.gmail.com 
>> While that error was caused by myself upgrading PROJ, the Canonical 
>> Ubuntu comes pre-installed with PROJ 8.2.1 only, even though 
>> my PostGIS full version read-out, also installed via Canonical, shows 
>> PostGIS having been compiled with PROJ 6.3.1:
>> POSTGIS="3.2.2 628da50" [EXTENSION] PGSQL="140" 
>> GEOS="3.10.2-CAPI-1.16.0" PROJ="6.3.1" LIBXML="2.9.10" 
>> LIBJSON="0.13.1" LIBPROTOBUF="1.3.3" WAGYU="0.5.0 (Internal)"
>> Is this a packaging error by Canonical? Shouldn't they have compiled 
>> PostGIS with PROJ 8.2.1 for jammy, if that is the default and only 
>> available version in Ubuntu 22.04.1 / jammy?
>> There is also no option available to downgrade the PROJ version, only 
>> 8.2.1 is shown in the Synaptic Package Manager when looking under 
>> "Properties/Versions", and the "Package/Force Version" menu option is 
>> greyed out as well.
>> Marco
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/postgis-users
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users

More information about the postgis-users mailing list