Indeed, after installing systemd on that machine and booting with
init=/bin/systemd the upgrade was successful.
The error does seem to get triggerred by /etc/init.d/mysql
when starting manually, the script complains somewhat cryptically about not
finding the HOME dir and setting HOME=/
The daemon does start, though but I guess apt sees it as an error and thinks
mysql was not started successfully.
When using systemd, the init script is not used and mysql_safe is started
directly using the provided systemd service file
/lib/systemd/system/mysql.service
It seems the upgrade path doesn't work when there is the old sysvrc init
installed, so mysql-server-5.6 should either explicitly depend on systemd or
the init script needs to be modified.
Regards,
Dominik
signature.asc
Description: This is a digitally signed message part.