Update Management for Ubuntu VMs is a troubleshooting nightmare. Is this normal? Any other distros recommended?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Update Management for Ubuntu VMs is a troubleshooting nightmare. Is this normal? Any other distros recommended?

Message par ForumBot »

Update Management for Ubuntu VMs is a troubleshooting nightmare. Is this normal? Any other distros recommended?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Update Management for Ubuntu VMs is a troubleshooting nightmare. Is this normal? Any other distros recommended?

Message par ForumBot »

Had the same problem. I'm thinking this might be a bug, in that it's having issues with APT sources specified in the Deb822-style format which uses multiple lines, e.g.:

`deb` [`https://packages.microsoft.com/repos/azure-cli`](https://packages.microsoft.com/repos/azure-cli)

`Types: deb`

`URIs:` [`https://packages.microsoft.com/repos/azure-cli/`](https://packages.microsoft.com/repos/azure-cli/)

`Suites: jammy`

`Components: main`

`Architectures: amd64`

`Signed-by: /etc/apt/keyrings/microsoft.gpg`



... as opposed to the older one line style, e.g:

`deb [arch=amd64]` [`https://packages.microsoft.com/repos/microsoft-ubuntu-jammy-prod`](https://packages.microsoft.com/repos/microsoft-ubuntu-jammy-prod) `jammy main`


Specifically, it's choking on the `Types: deb` part in the Deb822 format, as evident in your error message above 'Type 'Types:' is not known on line 56 in source list'


If you check in your **/etc/apt/sources.list.d** directory (as sudo) you'll see the extra sources that have been added there. Check each one to look for one in the Deb822 format, that's probably your issue, it might well be Azure CLI too.

My 'temporary' fix was to comment out all the lines in my **azure-cli.sources** file so it wouldn't be used in the aggregated source list, Azure Update Manager was happy after that.


Let me know if you find the same thing and I'll try and let the product team know. Don't think it's an Ubuntu-specific issue as such.
Répondre

Revenir à « Azure Infrastructure »