Postgis 3.5.3 packages include 3.6.0 files - Mailing list pgsql-pkg-debian

From Chris Sinjakli
Subject Postgis 3.5.3 packages include 3.6.0 files
Date
Msg-id CABz-y4+1qcFV-jKRHLhQCtREAk4du_5wtTcJU8GFqPHmroxtNw@mail.gmail.com
Whole thread Raw
Responses Re: Postgis 3.5.3 packages include 3.6.0 files
List pgsql-pkg-debian
Hello,

I'm currently using the 3.5.3 package from https://apt-archive.postgresql.org/pub/repos/apt bookworm-pgdg-archive main - specifically 3.5.3+dfsg-1~exp1.pgdg120+1 - and it seems like in the last week, it has been updated with some files from the 3.6.0 release.

Trying to install the extension from that package results in this error:

postgres=> CREATE EXTENSION postgis;
ERROR:  could not find function "ST_CoverageClean" in file "/usr/lib/postgresql/17/lib/postgis-3.so"

Specifically, it looks like the package installs the SQL scripts and control file from 3.6.0:

$ ls /usr/share/postgresql/17/extension/postgis--3.6.0.sql
/usr/share/postgresql/17/extension/postgis--3.6.0.sql

$ cat /usr/share/postgresql/17/extension/postgis-3.control
# postgis extension
comment = 'PostGIS geometry and geography spatial types and functions'
default_version = '3.6.0'
module_pathname = '$libdir/postgis-3'
relocatable = false

Is it possible that a bad version of the 3.5.3 package has been pushed and overwritten the working one?

Cheers,
Chris


pgsql-pkg-debian by date:

Previous
From: apt.postgresql.org Repository Update
Date:
Subject: timescaledb updated to version 2.22.0+dfsg-1.pgdg+1
Next
From: Christoph Berg
Date:
Subject: Re: Postgis 3.5.3 packages include 3.6.0 files