#1 Global Leader in Data Resilience

Error: ".NET (`dotnet-`) must be added to the blacklist to prevent unattended upgrades that could impact the availability of the Linux proxy."

KB ID: 4658
Product: Veeam Backup for Microsoft 365 | 8
Published: 2024-09-19
Last Modified: 2024-09-25
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please, try again later.

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.
Error

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

  1. Connect to the Ubuntu-based Linux machine via SSH.
  2. Run the following command to confirm that dotnet has not been excluded from unattended-upgrades:
apt-config dump | grep 'Unattended-Upgrade::Package-Blacklist:: "dotnet-\?"'
  1. If no results are shown, run the following command to add "dotnet-"; to the /etc/apt/apt.conf.d/50unattended-upgrades file.
sudo sed -i '/^Unattended-Upgrade::Package-Blacklist {/a\        "dotnet-";' /etc/apt/apt.conf.d/50unattended-upgrades
edit

For RHEL-based Proxy

  1. Connect to the RHEL-based Linux machine via SSH.
  2. Run the following command to confirm that dotnet has not been excluded from unattended-upgrades:
grep '^excludepkgs=.*dotnet-*' /etc/dnf/dnf.conf
  1. If no results are shown,  add the following line to /etc/dnf/dnf.conf file.
excludepkgs=dotnet-*
RHEL
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.

Spelling error in text

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please, try again later.