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.
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 9.490:28) : operation= opt/share/ mysql/english/ errmsg. sys" pid=3861 profile= "/usr/sbin/ mysqld" namespace="default" mysql/english/ errmsg. sys'
"inode_permission" request_mask="r::" denied_mask="r::" name="/
Mar 19 20:04:39 lyra mysqld[3863]: 080319 20:04:39 [ERROR] Can't find messagefile '/usr/share/
Mar 19 20:04:39 lyra mysqld[3863]: 080319 20:04:39 [ERROR] AbortingMar 19 20:04:39 lyra mysqld[3863]: Mar 19 20:04:39 lyra mysqld_safe[3865]: ended
Did
apt-get remove --purge apparmor
apt-get -f install
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.