[debian-mysql] Bug#789589: Bug#789589: +1

Otto Kekäläinen otto at seravo.fi
Tue Jul 7 20:26:26 UTC 2015


2015-07-06 19:14 GMT+03:00 Olaf van der Spek <olaf at xwis.net>:
> I don't see it being stopped:


That is probably because you are running dpkg to configure two not
fully configured packages, thus dpkg does do the full restart cycle of
the service. I just tested, here is how it looks in a normal upgrade:

The following packages will be upgraded:
  mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common
mariadb-server mariadb-server-10.0 mariadb-server-core-10.0
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.9 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
  mariadb-common mariadb-client-10.0 mariadb-server-core-10.0
mariadb-client-core-10.0 mariadb-server-10.0 mariadb-server
Install these packages without verification? [y/N] y
Get:1 http://labs.seravo.fi/~otto/mariadb-repo/
mariadb-10.0-sid-amd64/ mariadb-common 10.0.20-2 [18.6 kB]
Get:2 http://labs.seravo.fi/~otto/mariadb-repo/
mariadb-10.0-sid-amd64/ mariadb-client-10.0 10.0.20-2 [1145 kB]
Get:3 http://labs.seravo.fi/~otto/mariadb-repo/
mariadb-10.0-sid-amd64/ mariadb-server-core-10.0 10.0.20-2 [4241 kB]
Get:4 http://labs.seravo.fi/~otto/mariadb-repo/
mariadb-10.0-sid-amd64/ mariadb-client-core-10.0 10.0.20-2 [796 kB]
Get:5 http://labs.seravo.fi/~otto/mariadb-repo/
mariadb-10.0-sid-amd64/ mariadb-server-10.0 10.0.20-2 [4700 kB]
Get:6 http://labs.seravo.fi/~otto/mariadb-repo/
mariadb-10.0-sid-amd64/ mariadb-server 10.0.20-2 [16.3 kB]
Fetched 10.9 MB in 1min 1s (178 kB/s)
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 63656 files and directories currently installed.)
Preparing to unpack .../mariadb-common_10.0.20-2_all.deb ...
Unpacking mariadb-common (10.0.20-2) over (10.0.20-1) ...
Preparing to unpack .../mariadb-client-10.0_10.0.20-2_amd64.deb ...
Unpacking mariadb-client-10.0 (10.0.20-2) over (10.0.20-1) ...
Preparing to unpack .../mariadb-server-core-10.0_10.0.20-2_amd64.deb ...
Unpacking mariadb-server-core-10.0 (10.0.20-2) over (10.0.20-1) ...
Preparing to unpack .../mariadb-client-core-10.0_10.0.20-2_amd64.deb ...
Unpacking mariadb-client-core-10.0 (10.0.20-2) over (10.0.20-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up mariadb-common (10.0.20-2) ...
Installing new version of config file /etc/mysql/mariadb.conf.d/client.cnf ...
Installing new version of config file /etc/mysql/mariadb.conf.d/mysqld.cnf ...
(Reading database ... 63656 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.0_10.0.20-2_amd64.deb ...
[ ok ] Stopping MariaDB database server: mysqld.
[ ok ] Stopping MariaDB database server: mysqld.
Unpacking mariadb-server-10.0 (10.0.20-2) over (10.0.20-1) ...
Preparing to unpack .../mariadb-server_10.0.20-2_all.deb ...
Unpacking mariadb-server (10.0.20-2) over (10.0.20-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up mariadb-client-core-10.0 (10.0.20-2) ...
Setting up mariadb-client-10.0 (10.0.20-2) ...
Setting up mariadb-server-core-10.0 (10.0.20-2) ...
Setting up mariadb-server-10.0 (10.0.20-2) ...
[ ok ] Stopping MariaDB database server: mysqld.
[ ok ] Starting MariaDB database server: mysqld.
Setting up mariadb-server (10.0.20-2) ...


If you have improvement ideas to the pre/postinstall scripts, I would
be delighted to accept pull requests at
https://github.com/ottok/mariadb-10.0



More information about the pkg-mysql-maint mailing list