Skip to content

Conversation

Mathiyarasy
Copy link
Contributor

@Mathiyarasy Mathiyarasy commented Oct 3, 2025

Fixes: #1485

Issue Summary:

  • The update for Azure CLI installation on Debian Trixie caused this issue since Microsoft does not offer packages for this distribution. Although the apt-based installation fails, Azure CLI still gets installed successfully using pip.
  • However, after this change, apt-get commands fail because the broken repository file /etc/apt/sources.list.d/azure-cli.list is not being properly removed.
  • This leftover file leads to apt-get errors during the installation of other features such as docker-in-docker and dotnet

Solution:

  • If the apt-get update command fails, the script logs a message and removes the Azure CLI repository file etc/apt/sources.list.d/azure-cli.list

@Mathiyarasy Mathiyarasy marked this pull request as ready for review October 3, 2025 14:25
@Mathiyarasy Mathiyarasy requested a review from a team as a code owner October 3, 2025 14:25
@Mathiyarasy Mathiyarasy marked this pull request as draft October 3, 2025 14:26
@Mathiyarasy Mathiyarasy marked this pull request as ready for review October 6, 2025 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant