Making Azure Update Manager work with Ubuntu 24

Making Azure Update Manager work with Ubuntu 24

I like what Microsoft are trying to do with Azure Update Manager, but it's still a little bit... alpha (read: broken). One particular issue we were facing was a complete inability to perform updates on Ubuntu 24 systems onboarded through Azure Arc. When attempting to execute a patching cycle, we'd receive an error along the lines of "The list of sources could not be read".

Turns out, the Azure Update service enumerates all files within the /etc/apt/sources.list.d directory and creates its own just-in-time list of sources. The problem is, as of Ubuntu 24 (possibly earlier... I dunno, I'm a Windows guy), the list of Ubuntu sources is in deb822 format by default, under the file ubuntu.sources:

Types: deb
URIs: https://au.archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
 
Types: deb
URIs: https://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg        

Azure Update Manager doesn't like it...


Microsoft have acknowledged this is a bug, and they will fix it. In the meantime, if you need to patch your Ubuntu 24 systems with Azure Update Manager, you can remove the ubuntu.sources file from that directory and replace it with a file in the original *.list format... here's the equivalent of the above in that format (I just called it ubuntu.list):

deb https://au.archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse
deb https://au.archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse
deb https://au.archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse
deb https://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse        

Like I said, I see where Microsoft are going with this, and I think it's great. But there's a ways to go before this is a set-and-forget Enterprise grade replacement for, say, SCCM.

Happy Azuring.

#microsoft #azure #updatemanager #linux #ubuntu #arc #hybridcloud

https://cordant.au

要查看或添加评论,请登录

Tom Walker的更多文章

  • Why we love Wiz

    Why we love Wiz

    What is it? Founded in 2020, Wiz set out with the simple goal of helping organisations visualise and contextualise…

    2 条评论
  • Why we love OCI

    Why we love OCI

    What is it? Oracle Cloud Infrastructure (OCI) is Oracle’s entry into the hyperscale cloud market. Launched in 2018, OCI…

    4 条评论
  • Connecting Wiz to your AWS Organization

    Connecting Wiz to your AWS Organization

    AWS is by a fair margin the most popular cloud hyperscale platform. It’s also been around the longest - so it’s not all…

    2 条评论
  • Connecting Wiz to your OCI Cloud Tenancy

    Connecting Wiz to your OCI Cloud Tenancy

    We love OCI here at Cordant. Sure, it doesn't do everything - but what it does do, it does very well.

    2 条评论
  • What does it mean to be pragmatic in IT?

    What does it mean to be pragmatic in IT?

    I’m unashamedly parsimonious. I'm not sure if it’s my Scottish heritage, or the fact that I’m surrounded by Lean…

    6 条评论
  • Microsoft Teams (New) Outlook Add-In Fix

    Microsoft Teams (New) Outlook Add-In Fix

    Customers have been reporting an issue whereby after Microsoft Teams (New) is centrally deployed to Azure Virtual…

    4 条评论
  • ELI5: OCI CloudGuard

    ELI5: OCI CloudGuard

    I like it when complex things are made simple. And the strange thing is, whilst most of what is in the cloud isn’t…

    4 条评论
  • Zero Trust: Why the bright sparks are going dark.

    Zero Trust: Why the bright sparks are going dark.

    A "Sophisticated Attack". That's what the Medibank breach and exfiltration is being described as.

    6 条评论
  • The Multi-cloud Blueprint

    The Multi-cloud Blueprint

    Ten years ago there were but a brave few who dared untether from the safe confines of Mother Earth and venture to the…

    8 条评论
  • It's time for OCI to shed its Oracle cocoon and build its own brand

    It's time for OCI to shed its Oracle cocoon and build its own brand

    Just a quick one this morning - I was going through my LinkedIn feed and stumbled across a post discussing global cloud…

    6 条评论

社区洞察

其他会员也浏览了