尝试安装 samba4 后出现问题。某些软件包抛出错误:
# apt-get install attr -y
// NO MATTER AT ALL PART:
Reading package lists... Done
Building dependency tree
Reading state information... Done
attr is already the newest version. // OK, SO I GOT IT ALREADY
The following packages were automatically installed and are no longer
required:
linux-headers-3.13.0-63 linux-headers-3.13.0-63-generic
linux-image-3.13.0-63-generic linux-image-extra-3.13.0-63-generic
Use 'apt-get autoremove' to remove them. // OK I WILL DO
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
[master e97dd96] saving uncommitted changes in /etc prior to apt run
Author: SOME_SECRET_USER
1 file changed, 11 insertions(+), 11 deletions(-)
// IMPORTANT PART:
Setting up mcelog (100-1fakesync1) ...
Starting Machine Check Exceptions decoder: CPU is unsupported
invoke-rc.d: initscript mcelog, action "start" failed.
dpkg: error processing package mcelog (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
mcelog
E: Sub-process /usr/bin/dpkg returned an error code (1)
# cat /var/log/mcelog
cat: /var/log/mcelog: No such file or directory
这是什么意思,如何修复或解决这个问题?目前我假设我遇到了硬件 CPU 错误。
该主机上的 CPU 是:
AMD X2 3800+ (2Ghz)。
操作系统:Ubuntu 14.04,x64,内核 4.0
在 memtest 上测试 - 无错误结果。
答案1
AMD CPU 不需要 mcelog 守护进程,请参阅: