mysqld fails to start on upgrade 7.10->8.04
The problem seems to be caused by Apparmor. For example in /var/log/syslog:
Mar 19 20:04:39 lyra kernel: [ 6979.352113] audit(120595707
"inode_permission" request_mask="r::" denied_mask="r::" name="/
Mar 19 20:04:39 lyra mysqld: 080319 20:04:39 [ERROR] Can't find messagefile '/usr/share/
Mar 19 20:04:39 lyra mysqld: 080319 20:04:39 [ERROR] AbortingMar 19 20:04:39 lyra mysqld: Mar 19 20:04:39 lyra mysqld_safe: ended
[deleted AppArmor removal example]
please instead of removing apparmor, just disable a profile:
sudo touch /etc/apparmod.
the mysql server components then upgraded OK and the server started.
I don't know about Apparmor, but from the looks of syslog, it looks as though there was a problem with the apparmor acls; I noticed that during the mysql server install, a script appears to load up the apparmor rules and these rules appear to be preventing a clean mysqld upgrade.
Previous upgrades of mysqld under Gutsy on this machine have been problem free.