Package: bareos-database-common
Version: 17.2.7-2.1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'buster'.
It installed fine in 'buster', then the upgrade to 'sid' fails.
(There is no bareos in bullseye, so the buster bareos packages were kept
installed during the upgrade to bullseye. But the postgresql cluster was
upgraded from 11 to 13.)

>From the attached log (scroll to the bottom...):

  Setting up bareos-database-common (17.2.7-2.1) ...
  Warning: failed to get "dbname" from config, using default value "bareos", 
see /tmp/bareos-config.9027.log
  Warning: failed to get "dbuser" from config, using default value "bareos", 
see /tmp/bareos-config.9027.log
  (config) dbc_go() bareos-database-common configure 2004.
  dbc_config() bareos-database-common configure 2004.
  dbc_set_dbtype_defaults() .
  dbc_detect_installed_dbtype() pgsql.
  _dbc_detect_installed_dbtype() pgsql.
  dbc_register_debconf() .
  dbc_read_package_config() .
  dbc_preseed_package_debconf() .
  dbc_config() bareos-database-common configure 2004.
  dbc_set_dbtype_defaults() pgsql.
  dbc_detect_installed_dbtype() pgsql.
  _dbc_detect_installed_dbtype() pgsql.
  dbc_register_debconf() .
  dbc_get_app_pass() .
  dbconfig-common: writing config to 
/etc/dbconfig-common/bareos-database-common.conf
  creating database backup in 
/var/cache/dbconfig-common/backups/bareos-database-common_2004.2021-07-12-01.24.18.
  applying upgrade sql for 2004 -> 2171.
  error encountered processing 
/usr/share/dbconfig-common/data/bareos-database-common/upgrade/pgsql/2171:
  NOTICE: table "tmpmergefilenameintofiletable" does not exist, skipping setval 
-------- (1 row) ERROR: invalid value for parameter "client_min_messages": 
"fatal" HINT: Available values: debug5, debug4, debug3, debug2, debug1, log, 
notice, warning, error.
  dbconfig-common: bareos-database-common configure: aborted.
  dbconfig-common: flushing administrative password
  dpkg: error processing package bareos-database-common (--configure):
   installed bareos-database-common package post-installation script subprocess 
returned error exit status 1
  Processing triggers for libc-bin (2.31-13) ...
  Errors were encountered while processing:
   bareos-database-common


cheers,

Andreas

Attachment: bareos-database-common_17.2.7-2.1.log.gz
Description: application/gzip

Reply via email to