Package: postgresql-11-postgis-2.5-scripts
Version: 2.5.2+dfsg-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
The first symptom I noticed was in psql, complaining that
> create extension postgis;
ERROR: could not open extension control file
"/usr/share/postgresql/11/extension/postgis.control": No such file or directory
I believe the cause is that upgrading postgresql-11-postgis-2.5-scripts to
version 2.5.2
deleted all the useful contents of this package, as shown below.
After downgrading both postgresql-11-postgis-2.5 and
postgresql-11-postgis-2.5-scripts
to 2.5.1+dfsg-1, the extension seems to be working again.
Thank you for your help.
root@behenian:/var/cache# dpkg -c
./apt/archives/postgresql-11-postgis-2.5-scripts_2.5.2+dfsg-1_all.deb
drwxr-xr-x root/root 0 2019-07-07 06:12 ./
drwxr-xr-x root/root 0 2019-07-07 06:12 ./usr/
drwxr-xr-x root/root 0 2019-07-07 06:12 ./usr/share/
drwxr-xr-x root/root 0 2019-07-07 06:12 ./usr/share/doc/
drwxr-xr-x root/root 0 2019-07-07 06:12
./usr/share/doc/postgresql-11-postgis-2.5-scripts/
-rw-r--r-- root/root 1088 2019-02-01 02:47
./usr/share/doc/postgresql-11-postgis-2.5-scripts/NEWS.Debian.gz
-rw-r--r-- root/root 16286 2019-07-07 06:12
./usr/share/doc/postgresql-11-postgis-2.5-scripts/changelog.Debian.gz
-rw-r--r-- root/root 488667 2019-03-11 12:12
./usr/share/doc/postgresql-11-postgis-2.5-scripts/changelog.gz
-rw-r--r-- root/root 47516 2019-07-07 06:10
./usr/share/doc/postgresql-11-postgis-2.5-scripts/copyright
root@behenian:/var/cache#
Vs
root@behenian:/var/cache# dpkg -c
./apt/archives/postgresql-11-postgis-2.5-scripts_2.5.1+dfsg-1_all.deb
drwxr-xr-x root/root 0 2018-11-21 23:52 ./
drwxr-xr-x root/root 0 2018-11-21 23:52 ./usr/
drwxr-xr-x root/root 0 2018-11-21 23:52 ./usr/share/
drwxr-xr-x root/root 0 2018-11-21 23:52 ./usr/share/doc/
drwxr-xr-x root/root 0 2018-11-21 23:52
./usr/share/doc/postgresql-11-postgis-2.5-scripts/
-rw-r--r-- root/root 1088 2018-04-06 02:26
./usr/share/doc/postgresql-11-postgis-2.5-scripts/NEWS.Debian.gz
-rw-r--r-- root/root 16223 2018-11-21 23:52
./usr/share/doc/postgresql-11-postgis-2.5-scripts/changelog.Debian.gz
-rw-r--r-- root/root 486501 2018-11-18 15:34
./usr/share/doc/postgresql-11-postgis-2.5-scripts/changelog.gz
-rw-r--r-- root/root 47516 2018-09-24 00:21
./usr/share/doc/postgresql-11-postgis-2.5-scripts/copyright
drwxr-xr-x root/root 0 2018-11-21 23:52 ./usr/share/postgresql/
drwxr-xr-x root/root 0 2018-11-21 23:52 ./usr/share/postgresql/11/
drwxr-xr-x root/root 0 2018-11-21 23:52
./usr/share/postgresql/11/contrib/
drwxr-xr-x root/root 0 2018-11-21 23:52
./usr/share/postgresql/11/contrib/postgis-2.5/
-rw-r--r-- root/root 54217 2018-11-21 23:52
./usr/share/postgresql/11/contrib/postgis-2.5/legacy.sql
-rw-r--r-- root/root 1227 2018-11-21 23:52
./usr/share/postgresql/11/contrib/postgis-2.5/legacy_gist.sql
-rw-r--r-- root/root 2477 2018-11-21 23:52
./usr/share/postgresql/11/contrib/postgis-2.5/legacy_minimal.sql
-rw-r--r-- root/root 262917 2018-11-21 23:52
./usr/share/postgresql/11/contrib/postgis-2.5/postgis.sql
-rw-r--r-- root/root 75034 2018-11-21 23:52
./usr/share/postgresql/11/contrib/postgis-2.5/postgis_comments.sql
-rw-r--r-- root/root 269721 2018-11-21 23:52
./usr/share/postgresql/11/contrib/postgis-2.5/postgis_for_extension.sql
-rw-r--r-- root/root 23435 2018-11-21 23:52
./usr/share/postgresql/11/contrib/postgis-2.5/postgis_proc_set_search_path.sql
-rwxr-xr-x root/root 150318 2018-11-21 23:52
./usr/share/postgresql/11/contrib/postgis-2.5/postgis_restore.pl
-rw-r--r-- root/root 248504 2018-11-21 23:52
./usr/share/postgresql/11/contrib/postgis-2.5/postgis_upgrade.sql
-rw-r--r-- root/root 255293 2018-11-21 23:52
./usr/share/postgresql/11/contrib/postgis-2.5/postgis_upgrade_for_extension.sql
-rw-r--r-- root/root 73280 2018-11-21 23:52
./usr/share/postgresql/11/contrib/postgis-2.5/raster_comments.sql
-rw-r--r-- root/root 297434 2018-11-21 23:52
./usr/share/postgresql/11/contrib/postgis-2.5/rtpostgis.sql
[ ... and so on for another 200 lines ...]
-- System Information:
Debian Release: bullseye/sid
APT prefers oldoldstable
APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500,
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8),
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
postgresql-11-postgis-2.5-scripts depends on no packages.
Versions of packages postgresql-11-postgis-2.5-scripts recommends:
pn postgresql-11-postgis-2.5 <none>
postgresql-11-postgis-2.5-scripts suggests no packages.
-- no debconf information