Comment 25 for bug 444349

Revision history for this message
Ron Addie (addie-usq) wrote : Re: package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

I have experienced this for the last few months, each time mysql is upgraded. A workaround that works for me is:
1. stop apparmor [/etc/init.d/apparmor stop ]
2. stop mysql (probably not necessary) [ /etc/init.d/mysql stop ]
3. start mysql [ /etc/init.d/mysql start ]
4. start apparmor [/etc/init.d/apparmor start ]

Mysql works fine now. I also have to do this every time I restart my computer. Fortunately that is not too often.