apt-get 末尾的“无法检查处理器微码升级”。我怎样才能解决这个问题?

C--*_*C-- 3 server apt raspberrypi microcode 21.04

我在 Raspberry Pi 4(4GB RAM)上使用 Ubuntu 21.04 服务器

当我使用 apt 安装软件包时,我在最后收到一些我不记得在我的电脑上安装过的消息:

Processing triggers for man-db (2.9.4-2) ...
Scanning processes...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.
Run Code Online (Sandbox Code Playgroud)

我对“无法检查处理器微代码升级”消息感到担忧。

为什么会失败?我怎样才能解决这个问题?

N0r*_*ert 5

所有这些消息来自needrestart应用程序,其目的是

检查库升级后哪些守护进程需要重新启动

这个应用程序有几个模块。处理器微码模块仅支持 AMD 和 Intel 处理器。所以它对RaspberryPi中的ARM一无所知,所以它显示了提到的错误消息。

如果您不想收到此类消息,请通过以下方式删除此应用程序

sudo apt-get purge needrestart
Run Code Online (Sandbox Code Playgroud)

或编辑相关配置文件/etc/needrestart/needrestart.conf并通过更改完全禁用微码检查

#$nrconf{ucodehints} = 0;
Run Code Online (Sandbox Code Playgroud)

$nrconf{ucodehints} = 0;
Run Code Online (Sandbox Code Playgroud)