Package: postgresql-common
Version: 248
Severity: normal

Dear Maintainer,

I'm trying to run pg_upgradecluster to go from 13 to 15 like this:

pg_upgradecluster -k -m upgrade -v 15 13 main

This currently fails on my installation with the following text in
the terminal:

<snip>
Checking for presence of required libraries                 fatal

Your installation references loadable libraries that are missing from the
new installation.  You can add these libraries to the new installation,
or remove the functions using them from the old installation.  A list of
problem libraries is in the file:
/var/lib/postgresql/15/main/pg_upgrade_output.d/20230801T145458.309/loadable_libraries.txt

Failure, exiting
Error: pg_upgrade run failed. Logfiles are in
/var/log/postgresql/pg_upgradecluster-13-15-main.tggb
Error during cluster dumping, removing new cluster
<snap>

The trouble with that is: loadable_libraries.txt is itself below
/var/lib/postgresql/15 and is hence dropped with the (broken) new cluster,
and hence the file is gone by the time mere humans read the message.

Is there a special reason why loadable_libraries.txt is not dumpted into
the ordinary log directory?


-- System Information:
Debian Release: 12.1
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'oldstable-updates'), (500, 
'stable'), (500, 'oldstable')
Architecture: i386 (x86_64)

Kernel: Linux 6.1.38 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages postgresql-common depends on:
ii  adduser                    3.134
ii  debconf [debconf-2.0]      1.5.82
ii  init-system-helpers        1.65.2
ii  libjson-perl               4.10000-1
ii  lsb-base                   11.6
ii  perl                       5.36.0-7
ii  postgresql-client-common   248
ii  ssl-cert                   1.1.2
ii  sysvinit-utils [lsb-base]  3.06-4
ii  ucf                        3.0043+nmu1

Versions of packages postgresql-common recommends:
ii  e2fsprogs  1.47.0-2
ii  logrotate  3.21.0-1

postgresql-common suggests no packages.

-- debconf information:
* postgresql-common/obsolete-major:
  postgresql-common/untransitioned:
* postgresql-common/ssl: true
  postgresql-common/catversion-bump:

Reply via email to