Repository navigation
Build on Ubuntu 24.04, without apt-key - #196
Merged
Merged
Conversation
ubuntu-latest moved to Ubuntu 26.04, which no longer has apt-key, so the Mono install failed at its first step and every build since has failed, master included. The build job is pinned to ubuntu-24.04, the image the last passing build ran on: Mono's repository only publishes packages built for 20.04 (focal), known to install there. The repository's signing key now goes in its own keyring named by the source (signed-by), the way apt expects it, so moving to a newer image later only needs the pin.
Contributor
Build ArtifactModuleManager-6452b24.zip (built from 9e85928) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The build workflow fails at its first step since
ubuntu-latestmoved to Ubuntu 26.04: the Mono install usesapt-key, which 26.04 no longer has (sudo: 'apt-key': command not found). Every build since the last green one (master, 2026-09-22, on Ubuntu 24.04) has failed, master included, and so do PR builds such as #195.ubuntu-24.04, the image the last passing build ran on. Mono's repository only publishes packages built for Ubuntu 20.04 (stable-focal), which are known to install there.signed-by, as apt expects instead ofapt-key. Moving to a newer image later only needs the pin changed.publish-devinstalls nothing and stays onubuntu-latest.Tested with a manual run of the workflow on this branch: run 45998701666 passed on Ubuntu 24.04.5 with Mono 6.12.0.200 (the same as the last green build), built the solution and uploaded the
ModuleManager.4.2.3.dllartifact.Once this is merged, re-running the checks of open PRs (or pushing to them) picks up the fixed workflow.