Bugzilla – Bug 8046
AppArmor profiles give error on Ubuntu 8.04 (Hardy)
Last modified: 2009-07-31 10:20:34 UTC
After upgrading squeezecenter to 7.0.1-r19352 (from http://debian.slimdevices.com testing), aptitude gives the following error: Errors were encountered while processing: squeezecenter E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up squeezecenter (7.0.1~19352) ... Reloading AppArmor profiles Warning: found /etc/apparmor.d/force-complain/usr.sbin.mysqld, forcing complain mode /sbin/apparmor_parser: Unable to replace "/usr/sbin/mysqld". Profile doesn't conform to protocol Profile /etc/apparmor.d/usr.sbin.mysqld failed to load /sbin/apparmor_parser: Unable to replace "/usr/sbin/mysqld". Profile doesn't conform to protocol Profile /etc/apparmor.d/usr.sbin.mysqld.squeezecenter.orig failed to load : Failed. dpkg: error processing squeezecenter (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: squeezecenter Since I got this right after I upgraded to Hardy, the chances are good that change causes the problems.
bug 7580 related to this issue.
I'll check this out shortly ... but in the mean time, I found this link https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/138954/+viewstatus that indicates it could be a problem with apparmor. I'll see if I can reproduce though, and go from there.
The problem seems to be a general Ubuntu problem, other profiles refuse to load too. The bug you linked to has resolution fixed and was filed september 2007. I'll file a new bug to Ubuntu. Close this one as INVALID, as it's not an squeezecenter bug.
Reduce number of active targets for SC