Score:6

"Failed to check for processor microcode upgrades" at the end of apt-get. How can I fix this?

in flag
C--

I am using Ubuntu 21.04 Server on Raspberry Pi 4 (4GB RAM)

When I use apt to install a package, I get some messages at the end that I don't remember getting on my PC:

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.

I am concerned about the message "Failed to check for processor microcode upgrades."

Why could it be failing? How can I fix this?

Jad avatar
br flag
Jad
This can also occur in the WSL (Windows Subsystem for Linux) where you've run a "do-release-upgrade" and the module has been installed where it is not needed.
Score:10
zw flag

All these messages came from needrestart application which purpose is

check which daemons need to be restarted after library upgrades

This application have several modules. The processor microcode module supports only AMD and Intel processors. So it knows nothing about ARM in the RaspberryPi, so it shows the mentioned error message.

If you do not want to get such messages, then remove this application by

sudo apt-get purge needrestart

or edit relevant configuration file at /etc/needrestart/needrestart.conf and disable microcode checks completely by changing

#$nrconf{ucodehints} = 0;

to

$nrconf{ucodehints} = 0;
C-- avatar
in flag
C--
Thanks for pointing that out. Although I'm still worried about these packages that have dependency on needrestart(might break if I remove needrestart) `ubuntu@ubuntu:~$ apt-cache rdepends needrestart` needrestart Reverse Depends: needrestart-session ubuntu-server freedombox fbx-all aptitude-robot apt-dater-host unattended-upgrades ubuntu-server-raspi
N0rbert avatar
zw flag
See updated answer. You can use `/etc/needrestart/needrestart.conf` configuration file to disable ucode check.
Marco avatar
in flag
Perfect! so if i disable processor microcode check nothing relevant will appen to my system?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.