我在整个互联网上发现很少有关于此故障的主题,因此我无法调试或调查太多。在启动过程中,几个月前我开始看到错误:
* Starting Pre-cache and pre-load apparmor profiles [fail]
我不能说它是否在特定升级后开始。我在 Ubuntu 14.10 上。
cat /var/log/upstart/apparmor.log
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
AppArmor parser error for /etc/apparmor.d/usr.bin.mediascanner-service-2.0 in /etc/apparmor.d/usr.bin.mediascanner-service-2.0 at line 14: Could not open '/usr/share/apparmor/hardware/audio.d'
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
AppArmor parser error for /etc/apparmor.d/usr.bin.mediascanner-service-2.0 in /etc/apparmor.d/usr.bin.mediascanner-service-2.0 at line 14: Could not open '/usr/share/apparmor/hardware/audio.d'
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
AppArmor parser error for /etc/apparmor.d/usr.bin.mediascanner-service-2.0 in /etc/apparmor.d/usr.bin.mediascanner-service-2.0 at line 14: Could not open '/usr/share/apparmor/hardware/audio.d'
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
AppArmor parser error for /etc/apparmor.d/usr.bin.mediascanner-service-2.0 in /etc/apparmor.d/usr.bin.mediascanner-service-2.0 at line 14: Could not open '/usr/share/apparmor/hardware/audio.d'
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
这是 mediascanner2.0 中的错误,我已为您提交错误 1443693。
作为解决方法,您可以运行:
或者如果您不需要它,也可以清除该包(假设这是台式机而不是手机)。
mediascanner2.0
尝试降级到 14.04,应该可以。
如果您想要 14.10,请尝试备份所有数据,然后使用 CD 或闪存驱动器进行全新安装。