Error: .NET (`dotnet-`) must be added to the blacklist to prevent unattended upgrades that could impact the availability of the Linux proxy.
Challenge
Attempting to add a Linux-base proxy in Veeam Backup for Microsoft 365 fails with the error:
Error: .NET (`dotnet-`) must be added to the blacklist to prevent unattended upgrades that could impact the availability of the Linux proxy.

Cause
This error occurs when the proxy deployment process detects that dotnet- has not been excluded from unattended-upgrades.
Per Veeam Backup for Microsoft 365 documentation:
On Linux-based backup proxy servers, unattended-upgrades of .NET can impact a backup proxy server's availability. To prevent unattended-upgrades:
- On Ubuntu hosts, .NET (dotnet-) must be added to the blacklist.
- On Red Hat hosts, .NET (dotnet-*) must be added to the excludepkgs list.
Solution
For Ubuntu-based Proxy
- Connect to the Ubuntu-based Linux machine via SSH.
- Run the following command to confirm that dotnet has not been excluded from unattended-upgrades:
- If no results are shown, run the following command to add
"dotnet-";
to the/etc/apt/apt.conf.d/50unattended-upgrades
file.

For RHEL-based Proxy
- Connect to the RHEL-based Linux machine via SSH.
- Run the following command to confirm that dotnet has not been excluded from unattended-upgrades:
- If no results are shown, add the following line to
/etc/dnf/dnf.conf
file.

To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.