Repository navigation
Add the oneAPI apt repository via a signed-by keyring - #296
Open
antonwolfy wants to merge 2 commits into
Open
antonwolfy wants to merge 2 commits into
antonwolfy wants to merge 2 commits into
Conversation
ubuntu-latest now resolves to Ubuntu 26.04, which no longer ships apt-key, so the "Add Intel repository" step fails with "sudo: 'apt-key': command not found" before anything is built. Dearmor the Intel key into /usr/share/keyrings and reference it with signed-by in a sources.list.d entry instead. This works on both 24.04 and 26.04.
antonwolfy
requested review from
jharlow-intel,
ndgrigorian,
vlad-perevezentsev and
xaleryb
as code owners
October 26, 2026 22:12
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.
ubuntu-latestnow resolves to Ubuntu 26.04, and that image no longer shipsapt-key. As a result, everybuild-with-clang.ymljob fails at the "Add Intel repository" step before anything is built:The last passing run (2026-10-24) used
ubuntu-24.04. Every run since then has failed this way, onmainand on every open PR (for example this job on #283).This PR replaces
apt-key addandadd-apt-repositorywith the approach apt recommends: the Intel key is dearmored into/usr/share/keyrings/oneapi-archive-keyring.gpg, and asources.list.d/oneAPI.listentry references it withsigned-by. The same step incoverity.ymlis updated too; it has the sameapt-keyline and would fail on its next weekly run.Checked locally: an unprivileged
apt-get updateagainst the oneAPI repo with the dearmored key verifiesInReleaseand fetches the package lists without aNO_PUBKEYwarning.