[debian-mysql] Bug#864593: [mariadb-server-10.1] Fails to upgrade
mirq-deboogs at rere.qmqm.pl
mirq-deboogs at rere.qmqm.pl
Sun Jun 11 07:23:09 UTC 2017
Package: mariadb-server-10.1
Version: 10.1.23-9+deb9u1
Severity: important
--- Please enter the report below this line. ---
Package fails to upgrade when main mariadb.service is disabled:
# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
mariadb-server-10.1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
11 not fully installed or removed.
Need to get 0 B/5276 kB of archives.
After this operation, 1024 B disk space will be freed.
Do you want to continue? [Y/n]
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 59318 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.1_10.1.23-9+deb9u1_i386.deb ...
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit statu s 5
dpkg: trying script from the new package instead ...
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg: error processing archive
/var/cache/apt/archives/mariadb-server-10.1_10.1.23-9+deb9u1_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 5
Failed to start mysql.service: Unit mysql.service not found.
invoke-rc.d: initscript mysql, action "start" failed.
Unit mysql.service could not be found.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 5
Errors were encountered while processing:
/var/cache/apt/archives/mariadb-server-10.1_10.1.23-9+deb9u1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
# systemctl status mariadb.service
● mariadb.service - MariaDB database server
Loaded: loaded (/lib/systemd/system/mariadb.service; disabled; vendor preset: enabled)
Active: inactive (dead)
# systemctl status mysql.service
Unit mysql.service could not be found.
# dpkg --status mariadb-server-10.1
Package: mariadb-server-10.1
Status: install reinstreq half-configured
Priority: optional
Section: database
Installed-Size: 73115
Maintainer: Debian MySQL Maintainers <pkg-mysql-maint at lists.alioth.debian.org>
Architecture: i386
Source: mariadb-10.1
Version: 10.1.23-8
Config-Version: 10.1.23-8
Replaces: mariadb-galera-server, mariadb-galera-server-10.0, mariadb-galera-server-5.5, mariadb-server-10.0, mariadb-server-5.5, mariadb-tokudb-engine-10.0, mariadb-tokudb-engine-10.1, mariadb-tokudb-engine-5.5, mysql-client-5.5, mysql-server-5.5, mysql-server-5.6, mysql-server-5.7, virtual-mysql-server
Provides: virtual-mysql-server
Depends: galera-3 (>= 25.3), gawk, iproute2, libdbi-perl, lsb-base (>= 3.0-10), lsof, mariadb-client-10.1 (>= 10.1.23-8), mariadb-server-core-10.1 (>= 10.1.23-8), passwd, perl (>= 5.6), psmisc, rsync, socat, debconf (>= 0.5) | debconf-2.0, init-system-helpers (>= 1.18~), libaio1 (>= 0.3.93), libc6 (>= 2.17), libpam0g (>= 0.99.7.1), libstdc++6 (>= 5.2), libsystemd0, zlib1g (>= 1:1.2.0)
Pre-Depends: adduser (>= 3.40), debconf, mariadb-common (>= 10.1.23-8)
Recommends: libhtml-template-perl
Suggests: mailx, mariadb-test, netcat-openbsd, tinyca
Breaks: mariadb-galera-server, mariadb-galera-server-10.0, mariadb-galera-server-5.5, mariadb-server-10.0, mariadb-server-5.5, mariadb-tokudb-engine-10.0, mariadb-tokudb-engine-10.1, mariadb-tokudb-engine-5.5, mysql-client-5.5, mysql-server-5.5, mysql-server-5.6, mysql-server-5.7
Conflicts: mariadb-tokudb-engine-10.0, mariadb-tokudb-engine-10.1, mariadb-tokudb-engine-5.5, mysql-server-core-5.5, mysql-server-core-5.6, mysql-server-core-5.7, virtual-mysql-server
Conffiles:
/etc/apparmor.d/usr.sbin.mysqld 5b43a33a4995f3532bcea02d9c2c87c1
/etc/default/mysql 64e6d248978c07392628278d0be66888
/etc/init.d/mysql 50c82644a999f08a0861a85c92b7d525
/etc/insserv.conf.d/mariadb/mariadb-server-10.1.insserv.conf 2588bf6ebd0da2f146befac246610658
/etc/logcheck/ignore.d.paranoid/mariadb-server-10_1 6babe46e791059cdd5a26f4f7fec9eca
/etc/logcheck/ignore.d.server/mariadb-server-10_1 a5b52544898b1d96ce64f96ec913ee65
/etc/logcheck/ignore.d.workstation/mariadb-server-10_1 a9766f2dd21ba5e5474526b9df4a82a7
/etc/logrotate.d/mysql-server 3b27c6ac3dbfe31c1c1db0f880b3a2f4
/etc/mysql/debian-start 698c5abe65f83aec900a3f0e3500e758
/etc/mysql/mariadb.conf.d/50-mysqld_safe.cnf ace3390ea785e7bb3e87bee2ef0f9da8
/etc/mysql/mariadb.conf.d/50-server.cnf 073e32328fb38e45ea4d3a497bbda982
Description: MariaDB database server binaries
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MariaDB are speed, robustness and
ease of use.
.
This package includes the server binaries.
Homepage: https://mariadb.org/
More information about the pkg-mysql-maint
mailing list