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

Solution 1:

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;