Hi Alakkad, Fadi,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
The error you're encountering appears to be related to the package configuration prompt during the update process. Specifically, the base-files package is attempting to modify the /etc/issue file, and it’s asking for user input to decide whether to accept the new version or keep the current one. Since this update process is automated via Azure Update Manager, the prompt is blocking the update.
To resolve this issue, you can prevent these prompts by using the DEBIAN_FRONTEND=noninteractive environment variable, which will tell the package manager to automatically accept the package maintainer’s version of configuration files. You can add this flag to the apt-get command as follows:
sudo DEBIAN_FRONTEND=noninteractive apt-get install -f
This command will automatically resolve any package configuration issues.
Additionally, you can force the configuration of the base-files package to automatically accept the new version of the /etc/issue file by running:
sudo dpkg --force-confnew --configure base-files
Afterward, it’s a good idea to run the following command to ensure there are no other broken packages or unmet dependencies:
sudo apt-get install -f
Once the issue is resolved, try running the Azure Update Manager again to complete the update process on your Linux VM.
For more information, please refer to the below documentation:
Troubleshoot issues with Azure Update Manager
If an answer has been helpful, please consider accept the "Answer" and "Upvote" to help increase visibility of this question for other members of the Microsoft Q&A community.