Package: piuparts.debian.org
Severity: normal

Dear Maintainer,

I believe 
https://piuparts.debian.org/sid2experimental/fail/roundcube-core_1.5~beta+dfsg.1-3.log
is a false positive: scripts/pre_install_database-server installs 
default-mysql-server
but fails to start it:

    0m8.1s DEBUG: Starting command: ['chroot', 
'/srv/piuparts.debian.org/tmp/tmpwyv4zvgw', 
'tmp/scripts/pre_install_database-server']
    0m15.8s DUMP: 
      Installing default-mysql-server ...
    […]
      Setting up mariadb-server-10.5 (1:10.5.10-1) ...
      invoke-rc.d: could not determine current runlevel
      invoke-rc.d: policy-rc.d denied execution of stop.
      invoke-rc.d: could not determine current runlevel
      invoke-rc.d: policy-rc.d denied execution of start.
      Setting up default-mysql-server (1.0.7) ...
    […]
      Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
      dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
      creating database backup in 
/var/cache/dbconfig-common/backups/roundcube_1.4.11+dfsg.1-4.2021-05-18-03.59.22.
      ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/run/mysqld/mysqld.sock' (2).
      unable to connect to mysql server.
      dumping database as user failed, retrying with administrator credentials.
      ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/run/mysqld/mysqld.sock' (2).
      unable to connect to mysql server.
      error encountered backing up the old database:
      ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/run/mysqld/mysqld.sock' (2)
      dbconfig-common: roundcube configure: aborted.
      dbconfig-common: flushing administrative password
      dpkg: error processing package roundcube-core (--configure):
       installed roundcube-core package post-installation script subprocess 
returned error exit status 1
      Errors were encountered while processing:
       roundcube-core
      E: Sub-process /usr/bin/dpkg returned an error code (1)
    0m48.1s ERROR: Command failed (status=100): ['chroot', 
'/srv/piuparts.debian.org/tmp/tmpwyv4zvgw', 'apt-get', '-y', '-t', 
'experimental', 'install', 'roundcube-core']

Changing /usr/sbin/policy-rc.d is probably not an option, but maybe 
scripts/pre_install_database-server
could manually start the service after installation?

Many thanks for maintaining piuparts.d.o!
Cheers
-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature

Reply via email to