2 warnings in pve8to9 check

TheDarkWizard

New Member
Apr 12, 2025
13
1
3
Hi all,

I got the following errors:

Code:
WARN: Deprecated config '/etc/sysctl.conf' contains settings - move them to a dedicated file in '/etc/sysctl.d/'.

and

Code:
WARN: The matching CPU microcode package 'amd64-microcode' could not be found! Consider installing it to receive the latest security and bug fixes for your CPU.
        apt install amd64-microcode

For the second issue, when I attempt to run apt install amd64-microcode, I get this error:


Code:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package amd64-microcode is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'amd64-microcode' has no installation candidate

I'd appreciate any advice for these two warnings.
 
Add non-free-firmware to your sources.list for each of the 3 lines (assuming you didn't add more). Then add the package.
 
can we just move the system.conf to sysctl.d/ ?
just to be on the safe side - you mean /etc/sysctl.conf?

theoretically yes - but see the man page sysctl.d(5):

`It is recommended to prefix all filenames with a two-digit number and a dash, to simplify the ordering of the files` - so maybe `71-local.conf`

I hope this helps!
 
can we just move the system.conf to sysctl.d/ ?
This goes against debian's recommendation for config files - it also makes upgrades hella easier if you don't update conf files directly and use the conf.d directories so you don't get asked about keeping your own file or accepting the maintainers version.
 
  • Like
Reactions: keeka
Cool. Can you share how that's done
edit the file /etc/apt/sources.list

Code:
nano /etc/apt/sources.list

For each of the lines identifying repositories, add to following the end of those lines:

non-free-firmware

Code:
deb http://ftp.us.debian.org/debian trixie main contrib non-free-firmware

deb http://ftp.us.debian.org/debian trixie-updates main contrib non-free-firmware

# security updates
deb http://security.debian.org trixie-security main contrib non-free-firmware

Then
Code:
apt update && apt install intel-microcode -y
 
Last edited:
edit the file /etc/apt/sources.list

Code:
nano /etc/apt/sources.list

For each of the lines identifying repositories, add to following the end of those lines:

non-free-firmware

Code:
deb http://ftp.us.debian.org/debian trixie main contrib non-free-firmware

deb http://ftp.us.debian.org/debian trixie-updates main contrib non-free-firmware

# security updates
deb http://security.debian.org trixie-security main contrib non-free-firmware

Then
Code:
apt update && apt install intel-microcode -y

Thanks! My pve8to9 is now passing

Code:
sed -i 's/main contrib$/main contrib non-free-firmware/' /etc/apt/sources.list
apt update
apt install intel-microcode -y