Azure Patch Manager Error Code (100) - Ubuntu 24.04 LTS

Rob T 30 Reputation points
2024-09-27T21:37:31.0266667+00:00

While testing the capability's of Azure Arc for on-prem servers using 24.04 LTS I'm receiving the below.

The machine show connected inside azure arc -> machine name. However when attempting to use the updates -> Check for updates the error below is generating in azure.

Assessment failed due to this reason: Assessment completed with 1 errors

Unexpected return code (100) from package manager on command: LANG=en_US.UTF8 sudo apt-get -s dist-upgrade -oDir::Etc::Sourcelist=/var/lib/waagent/Microsoft.SoftwareUpdateManagement.LinuxOsUpdateExtension-1.0.45.0/tmp/msft-aumc-security-patches-1d6d5e68-8f77-488b-9b23-d5f3ea923a45.list and output: E: Type 'URIs:' is not known on line 1 in source list /var/lib/waagent/Microsoft.SoftwareUpdateManagement.LinuxOsUpdateExtension-1.0.45.0/tmp/msft-aumc-security-patches-1d6d5e68-8f77-488b-9b23-d5f3ea923a45.list

E: The list of sources could not be read.

E: Type 'URIs:' is not known on line 1 in source list /var/lib/waagent/Microsoft.SoftwareUpdateManagement.LinuxOsUpdateExtension-1.0.45.0/tmp/msft-aumc-security-patches-1d6d5e68-8f77-488b-9b23-d5f3ea923a45.list

E: The list of sources could not be read.

The file location of /var/lib/waagent/Microsoft.SoftwareUpdateManagement.LinuxOsUpdateExtension-1.0.45.0/tmp/msft-aumc-security-patches-1d6d5e68-8f77-488b-9b23-d5f3ea923a45.list does not exist on any Ubuntu Linux Sytems.

However servers running 22.04.5 LTS using same enrollment file are functional. File /var/lib/waagent/Microsoft.SoftwareUpdateManagement.LinuxOsUpdateExtension-1.0.45.0/tmp/msft-aumc-security-patches-1d6d5e68-8f77-488b-9b23-d5f3ea923a45.list does not exist here either.

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
504 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
367 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Dan Wallace 0 Reputation points
    2025-03-05T20:21:14.89+00:00

    Running into the same issue and found this thread:

    • Affected machine: Ubuntu 24.04 LTS

    Looks like this has been an issue since September? Ouch.


  2. Xiong, Xa 0 Reputation points
    2025-03-20T16:28:04.47+00:00

    We are having the same issue. We got 2 linux box running Ubuntu 22.04 LTS and 24.04 LTS. Failed to patch 24.04 but it succeeded on 22.04.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.