Bug#1036032: upgrade-reports: mariadb upgrade fails when KDE akonadi installed
Package: upgrade-reports
Severity: normal
X-Debbugs-Cc: tim@seoss.co.uk
(Please provide enough information to help the Debian
maintainers evaluate the report efficiently - e.g., by filling
in the sections below.)
My previous release is: Bullseye
I am upgrading to: Bookworm
Archive date:
Upgrade date: 2023-05-06 20:00 UTC
uname -a before upgrade: <The result of running uname -a on a shell prompt>
uname -a after upgrade: <The result of running uname -a on a shell prompt>
Method: apt dist-upgrade
Contents of /etc/apt/sources.list:
deb http://deb.debian.org/debian/ bookworm main non-free non-free-firmware contrib
deb-src http://deb.debian.org/debian/ bookworm main non-free non-free-firmware contrib
# Security updates
deb http://security.debian.org bookworm-security main contrib non-free non-free-firmware
deb-src http://security.debian.org bookworm-security main contrib non-free non-free-firmware
# bookworm-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb http://deb.debian.org/debian-debug/ bookworm-debug main
# for security updates
deb http://deb.debian.org/debian-debug/ bookworm-proposed-updates-debug main
- Were there any non-Debian packages installed before the upgrade? If
so, what were they?
signal, element-desktop
- Was the system pre-update a 'pure' system only containing packages
from the previous release? If not, which packages were not from that
release?
Yes
- Did any packages fail to upgrade?
Errors were encountered while processing:
default-mysql-server
kdepim-runtime
kmail
kaddressbook
korganizer
knotes
With mariadb-server installed (but startup disabled), and also KDE
akonadi/kde-pim installed (and using its own mysqld instance), the
mariadb-server package upgrade fails:
Preparing to unpack .../mariadb-server_1%3a10.11.2-1_amd64.deb ...
/var/lib/mysql: found previous version 10.5
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initscript mysql, action "stop" failed.
Attempt to stop MariaDB/MySQL server returned exitcode 5
There is a MariaDB/MySQL server running, but we failed in our attempts to stop it.
Stop it yourself and try again!
dpkg: error processing archive /var/cache/apt/archives/mariadb-server_1%3a10.11.2-1_amd64.deb (--unpack):
new mariadb-server package pre-installation script subprocess returned error exit status 1
Preparing to unpack .../libconfig-inifiles-perl_3.000003-2_all.deb ...
Unpacking libconfig-inifiles-perl (3.000003-2) over (3.000003-1) ...
Preparing to unpack .../default-mysql-client_1.1.0_all.deb ...
Unpacking default-mysql-client (1.1.0) over (1.0.7) ...
: Warning: unknown DEBIAN_VERSION 12. Valid values are from 9 to 11, inclusive.
: Warning: unknown DEBIAN_VERSION 12. Valid values are from 9 to 11, inclusive.
: Warning: unknown DEBIAN_VERSION 12. Valid values are from 9 to 11, inclusive.
Errors were encountered while processing:
/var/cache/apt/archives/mariadb-server_1%3a10.11.2-1_amd64.deb
needrestart is being skipped since dpkg has failed
Please attach the output of "COLUMNS=200 dpkg -l" (or "env COLUMNS ...",
depending on your shell) from before and after the upgrade so that we
know what packages were installed on your system.
Reply to: