Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL)
-
None
Description
Upd: dist-upgrade issue has been extracted into a separate report MDEV-11355, since it's a configuration issue.
apt-get install mariadb-server over an existing installation of 10.1 or 10.2 fails:
http://buildbot.askmonty.org/buildbot/builders/kvm-deb-stretch-amd64/builds/23/steps/test_2/logs/stdio
Preparing to unpack .../0-mariadb-server-10.2_10.2.3+maria~stretch_amd64.deb ...
|
/var/lib/mysql: found previous version 10.1
|
Failed to stop mysql.service: Unit mysql.service not loaded.
|
invoke-rc.d: initscript mysql, action "stop" failed.
|
invoke-rc.d returned 5
|
There is a MySQL server running, but we failed in our attempts to stop it.
|
Stop it yourself and try again!
|
dpkg: error processing archive /tmp/apt-dpkg-install-vXDwbb/0-mariadb-server-10.2_10.2.3+maria~stretch_amd64.deb (--unpack):
|
subprocess new pre-installation script returned error exit status 1
|
Selecting previously unselected package libterm-readkey-perl.
|
Preparing to unpack .../1-libterm-readkey-perl_2.37-1_amd64.deb ...
|
Unpacking libterm-readkey-perl (2.37-1) ...
|
Selecting previously unselected package mariadb-test-data.
|
Preparing to unpack .../2-mariadb-test-data_10.2.3+maria~stretch_all.deb ...
|
Unpacking mariadb-test-data (10.2.3+maria~stretch) ...
|
Selecting previously unselected package mariadb-test.
|
Preparing to unpack .../3-mariadb-test_10.2.3+maria~stretch_amd64.deb ...
|
Unpacking mariadb-test (10.2.3+maria~stretch) ...
|
Errors were encountered while processing:
|
/tmp/apt-dpkg-install-vXDwbb/0-mariadb-server-10.2_10.2.3+maria~stretch_amd64.deb
|
E: Sub-process /usr/bin/dpkg returned an error code (1)
|