Package: pdns-backend-mysql Version: 3.4.5-1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts
Hi, during a test with piuparts I noticed your package fails to remove. I took special care s.t. a local mysql server was running for the installation of the package, but apt chose an unfortunate (but completely valid) order to remove the packages: it removed mysql-server+mysql-client before pdns-backend-mysql. Either pdns-backend-mysql needs to depend on mysql-client or it must not fail on removal (and accept that it cannot perform some cleanup operations). >From the attached log (scroll to the bottom...): 1m46.7s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpLM4McT', 'apt-get', 'remove', 'mysql-client-core-5.6', 'mysql-server-5.6', 'libdbi-perl', 'mysql-common', 'libgdbm3:amd64', 'libsqlite3-0:amd64', 'libgmp10:amd64', 'perl-modules', 'libboost-serialization1.55.0:amd64', 'libssl1.0.0:amd64', 'mysql-server', 'perl', 'pdns-server', 'libterm-readkey-perl', 'libbsd0:amd64', 'liblua5.1-0:amd64', 'mysql-client-5.6', 'libboost-program-options1.55.0:amd64', 'libmysqlclient18:amd64', 'mysql-server-core-5.6', 'libwrap0:amd64', 'libaio1:amd64', 'libdbd-mysql-perl', 'libedit2:amd64', 'libbotan-1.10-0', 'libpolarssl7', 'psmisc', 'libcrypto++9', 'pdns-backend-mysql'] 1m50.4s DUMP: Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: libaio1 libboost-program-options1.55.0 libboost-serialization1.55.0 libbotan-1.10-0 libbsd0 libcrypto++9 libdbd-mysql-perl libdbi-perl libedit2 libgdbm3 libgmp10 liblua5.1-0 libmysqlclient18 libpolarssl7 libsqlite3-0 libssl1.0.0 libterm-readkey-perl libwrap0 mysql-client-5.6 mysql-client-core-5.6 mysql-common mysql-server mysql-server-5.6 mysql-server-core-5.6 pdns-backend-mysql pdns-server perl perl-modules psmisc 0 upgraded, 0 newly installed, 29 to remove and 0 not upgraded. After this operation, 211 MB disk space will be freed. (Reading database ... (Reading database ... 9645 files and directories currently installed.) Removing mysql-server (5.6.25-3) ... Removing mysql-server-5.6 (5.6.25-3) ... Stopping MySQL database server: mysqld. update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Removing mysql-server-core-5.6 (5.6.25-3) ... Removing mysql-client-5.6 (5.6.25-3) ... Removing mysql-client-core-5.6 (5.6.25-3) ... Removing libaio1:amd64 (0.3.110-1) ... Removing pdns-backend-mysql (3.4.5-1) ... dbconfig-common: dumping mysql database pdnsbackendmysql to /var/tmp/pdns-backend-mysql.pdnsbackendmysql.2015-07-24-15.13.mysql.CZHFmT. sanity check failed for mysql. error encountered dumping database: No mysql client to execute. (have you installed the mysql-client package?) dbconfig-common: pdns-backend-mysql remove: aborted. dbconfig-common: flushing administrative password dpkg: error processing package pdns-backend-mysql (--remove): subprocess installed pre-removal script returned error exit status 1 dbconfig-common: flushing administrative password Removing libedit2:amd64 (3.1-20150325-1) ... [...] cheers, Andreas
pdns-backend-mysql_3.4.5-1.log.gz
Description: application/gzip