Antonio, please do not disable all of AppArmor-- there are a lot of
profiles protecting your system that are unrelated to mysql. Please see
https://wiki.ubuntu.com/DebuggingApparmor for details on how to
temporarily or permanently disable the problematic profile, as well as
how to debug it. If it i
I partially solved the problem with a script
#!/bin/bash
sudo /etc/init.d/apparmor stop
sudo /etc/init.d/mysql restart
mysql -u root -p
--
partially because when I work with mySQL I have to stop AppArmor.
--
mysql fails to start because of multiple apparmor
usr.sbin.mysqld.dpkg-dist will be ignored automatically, but
usr.sbin.mysqld.new was created by the user and therefore apparmor has
no idea of knowing which profile to use as the correct one (the binary
is taken from inside the profile, not the name of the file itself).
** Changed in: apparmor (Ub
** Summary changed:
- package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to
install/upgrade: subprocess post-installation script returned error exit status
1
+ mysql fails to start because of multiple apparmor profiles
** Package changed: mysql-dfsg-5.0 (Ubuntu) => apparmor (Ubuntu)