Skip to content

chore(ci): remove broken Microsoft apt sources before apt-get update#1288

Closed
wpfleger96 wants to merge 1 commit into
mainfrom
paul/fix-apt-microsoft-sources
Closed

chore(ci): remove broken Microsoft apt sources before apt-get update#1288
wpfleger96 wants to merge 1 commit into
mainfrom
paul/fix-apt-microsoft-sources

Conversation

@wpfleger96

Copy link
Copy Markdown
Collaborator

GitHub-hosted Ubuntu 24.04 runners include Microsoft package repos (azure-cli, packages.microsoft.com/ubuntu/24.04/prod) in their default apt sources. These repos intermittently return 403 Forbidden, causing apt-get update to fail with exit code 100 even though none of our dependencies come from those repos.

This was the root cause of the Desktop Core failure on main after #1256 merged.

Add a step before "Install Tauri dependencies (Linux)" in both ci.yml and release.yml that removes the Microsoft source list files and their signing keys before running apt-get update.

GitHub-hosted Ubuntu 24.04 runners include Microsoft package repos
(azure-cli, packages.microsoft.com/ubuntu/24.04/prod) in their default
apt sources. These repos intermittently return 403 Forbidden, causing
apt-get update to fail with exit code 100 even though none of our
dependencies come from those repos.

Remove the Microsoft source list files and their signing keys before
running apt-get update so transient Microsoft CDN outages don't break
unrelated CI jobs.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
@wpfleger96

Copy link
Copy Markdown
Collaborator Author

Closing — the original main failure was a transient Microsoft CDN blip (403 on apt sources). Main re-run cleared green without any code change. This fix is over-engineered for what was a one-off infra hiccup.

@wpfleger96 wpfleger96 closed this Jun 25, 2026
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