Your message dated Mon, 21 Sep 2015 19:49:32 +0000
with message-id <e1ze75g-0006pl...@franck.debian.org>
and subject line Bug#793599: fixed in dbconfig-common 1.8.53
has caused the Debian Bug report #793599,
regarding must be more robust during removal against packages not depending on 
command-line client
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
793599: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793599
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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

Attachment: pdns-backend-mysql_3.4.5-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: dbconfig-common
Source-Version: 1.8.53

We believe that the bug you reported is fixed in the latest version of
dbconfig-common, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 793...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Gevers <elb...@debian.org> (supplier of updated dbconfig-common package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 21 Sep 2015 20:35:32 +0200
Source: dbconfig-common
Binary: dbconfig-common
Architecture: source
Version: 1.8.53
Distribution: unstable
Urgency: medium
Maintainer: Paul Gevers <elb...@debian.org>
Changed-By: Paul Gevers <elb...@debian.org>
Description:
 dbconfig-common - common framework for packaging database applications
Closes: 506510 791622 793599 793816
Changes:
 dbconfig-common (1.8.53) unstable; urgency=medium
 .
   * Add Breaks: bandwidthd-pgsql (<< 2.0.1+cvs20090917-9~)
     (Closes: #791622)
   * Rename install_examples.sh and add it to autopkgtest list
   * Add extended regression tests to autopkgtest list
   * Extend error message upon script error (Closes: #506510)
   * Fix preseeding by package (Closes: #793816)
   * Allow noninteractive remove mode to fail (Closes: #793599)
   * Update documentation with a note that packages depending on
     dbconfig-common are recommended to depend on the command line
     client required for the database they support. The solution to
     fix this (bug 353617) is quite involved, so it needs some proper
     preparation.
   * Bump debhelper compat level to 9
   * Remove convenience targets in d/rules (adt-run does a better job)
Checksums-Sha1:
 64c9747a6175c8692b9a28413170fc64b51e0988 1364 dbconfig-common_1.8.53.dsc
 5bb83254072fd530a06ffd11e9b3650c7d0074bb 200324 dbconfig-common_1.8.53.tar.xz
Checksums-Sha256:
 785b77e6834c2fbd531affa227b3e23a5c18c59cbe74951abdb9db686a317d5b 1364 
dbconfig-common_1.8.53.dsc
 442b8cdfd101e16c3d090298181007f7b6800526b7b02b15b4e59732212a80ae 200324 
dbconfig-common_1.8.53.tar.xz
Files:
 fce9ab7db7e7055b1b23645e6ab6c72d 1364 admin optional dbconfig-common_1.8.53.dsc
 0d2ac1cfbed31daca06785c0b5e94335 200324 admin optional 
dbconfig-common_1.8.53.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJWAFXCAAoJEJxcmesFvXUKjk4IAJbM4l0fBUt9zPjrLpWSBC8V
x5RRwj/wWz2Ct0d6OSR99nxRvPbJVpT1LLdaWrRxxTXqGcIZoj7LuU/xncQwsfYG
8+eRIaVZQRQNPe5rpaxRrTS+80+iwKrMsvUWjr9cF9j5eq68Tn9YFCGZDasmTD+5
LQckgv3YhChJLG7SY/VVfoifJb/J4+g7nVaHTocMvThq6UVa3urG2+5JvKT53Ipl
9tcjgS+n8jAHKLayf9oDQEE/PkS7s0SzCE+erb2dsmNCbxaFo3HnmyjCz4eakNB3
w9DZ2gHSruFXoKkGo/kI3d6Evg/7RktYWhV/KITqv+0iZaeyU+cuYj/r7poi4V8=
=prEx
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to