Skip to content

fix(maasserver): avoid sources_list when >=24.04#45

Draft
AloizioMacedo wants to merge 10 commits intocanonical:masterfrom
AloizioMacedo:fix-duplicate-apt-repos
Draft

fix(maasserver): avoid sources_list when >=24.04#45
AloizioMacedo wants to merge 10 commits intocanonical:masterfrom
AloizioMacedo:fix-duplicate-apt-repos

Conversation

@AloizioMacedo
Copy link
Copy Markdown
Contributor

From Ubuntu 24.04 forward, the apt repository is now stored by default following the deb822 format. See here for a reference: https://repolib.readthedocs.io/en/latest/deb822-format.html

Before this change, machines would end up having both the old one-line format on top of the deb822, generating two repository sources as described in https://bugs.launchpad.net/maas/+bug/2093303.

This PR empties the old one in case we are deploying a machine with Ubuntu >=24.04.

@AloizioMacedo AloizioMacedo self-assigned this Mar 24, 2026
@AloizioMacedo AloizioMacedo requested a review from a team March 24, 2026 16:56
@AloizioMacedo
Copy link
Copy Markdown
Contributor Author

This is on hold for a while, as we need to wait for some changes in Curtin so that this can work with deployments in disk.

@troyanov
Copy link
Copy Markdown
Member

This is on hold for a while, as we need to wait for some changes in Curtin so that this can work with deployments in disk.

Maybe worth moving into a Draft PR until Curtin is fixed?

@AloizioMacedo AloizioMacedo marked this pull request as draft March 24, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants