[debian-mysql] Bug#829489: mariadb-server-10.0: Fails to stop, package can't be uninstalled/purged

Axel Beckert abe at debian.org
Sun Jul 3 18:42:13 UTC 2016


Package: mariadb-server-10.0
Version: 10.0.26-1
Severity: important

Dear Maintainer,

purging mariadb-server-10.0 fails for me as follows:

The following packages will be REMOVED:
  mariadb-client-10.0{pu} mariadb-client-core-10.0{pu} mariadb-common{p} mariadb-server{p} mariadb-server-10.0{p} mariadb-server-core-10.0{p}
0 packages upgraded, 0 newly installed, 6 to remove and 4 not upgraded.
Need to get 0 B of archives. After unpacking 134 MB will be freed.
Do you want to continue? [Y/n/?] y
(Reading database ... 1139636 files and directories currently installed.)
Removing mariadb-server (10.0.26-1) ...
Removing mariadb-server-10.0 (10.0.26-1) ...
[FAIL] Stopping MariaDB database server: mysqld failed!
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg: error processing package mariadb-server-10.0 (--purge):
 subprocess installed pre-removal script returned error exit status 1
[FAIL] Stopping MariaDB database server: mysqld failed!
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg: mariadb-server-core-10.0: dependency problems, but removing anyway as you requested:
 mariadb-server-10.0 depends on mariadb-server-core-10.0 (>= 10.0.26-1).

Removing mariadb-server-core-10.0 (10.0.26-1) ...
dpkg: mariadb-common: dependency problems, but removing anyway as you requested:
 mariadb-client-core-10.0 depends on mariadb-common (>= 10.0.26-1).
 mariadb-server-10.0 depends on mariadb-common (>= 10.0.26-1); however:
  Package mariadb-common is to be removed.

Removing mariadb-common (10.0.26-1) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Purging configuration files for mariadb-common (10.0.26-1) ...
dpkg: mariadb-client-10.0: dependency problems, but removing anyway as you requested:
 mariadb-server-10.0 depends on mariadb-client-10.0 (>= 10.0.26-1).

Removing mariadb-client-10.0 (10.0.26-1) ...
Purging configuration files for mariadb-client-10.0 (10.0.26-1) ...
Removing mariadb-client-core-10.0 (10.0.26-1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for menu (2.1.47) ...
Errors were encountered while processing:
 mariadb-server-10.0

However, reinstalling (failed to stop it again, but continued) and
purging it then again, helped for some reason unclear to me. (Hence not
severity "serious", but just "important".) Maybe some kind of
race-condition somewhere?

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages mariadb-server-10.0 depends on:
ii  adduser                   3.115
ii  cdebconf [debconf-2.0]    0.213
ii  debconf [debconf-2.0]     1.5.59
ii  libaio1                   0.3.110-3
ii  libc6                     2.22-13
ii  libdbi-perl               1.636-1
ii  libpam0g                  1.1.8-3.3
ii  libstdc++6                6.1.1-8
ii  lsb-base                  9.20160629
pn  mariadb-client-10.0       <none>
pn  mariadb-common            <none>
pn  mariadb-server-core-10.0  <none>
ii  passwd                    1:4.2-3.1
ii  perl                      5.22.2-1
ii  psmisc                    22.21-2.1+b1
ii  zlib1g                    1:1.2.8.dfsg-2+b1

Versions of packages mariadb-server-10.0 recommends:
ii  libhtml-template-perl  2.95-2

Versions of packages mariadb-server-10.0 suggests:
ii  bsd-mailx [mailx]  8.1.2-0.20160123cvs-3
pn  mariadb-test       <none>
ii  s-nail [mailx]     14.8.8-1
pn  tinyca             <none>

-- debconf information:
  mariadb-server-10.0/nis_warning:
  mariadb-server-10.0/postrm_remove_databases: false
  mariadb-server-10.0/old_data_directory_saved:



More information about the pkg-mysql-maint mailing list