Repository navigation
Install Chrome's apt key without apt-key (Ubuntu 26.04) - #157
Merged
Merged
Conversation
GitHub moves ubuntu-latest to Ubuntu 26.04 between 2026-10-19 and 2026-11-19. Ubuntu 26.04 ships apt 3.2.0 without apt-key, so the "Install latest Chrome" steps, which start with `wget ... | sudo apt-key add -`, fail on every run that lands there. The key now goes to /etc/apt/keyrings/google-chrome.gpg and the source refers to it with signed-by, over https. The source is written to google-chrome.list, the file Chrome's own package uses, so the two can't end up as conflicting entries for the same repository. Checked in clean ubuntu:24.04 and ubuntu:26.04 containers: apt-get update gives no warnings and google-chrome-stable 156.0.8078.47 is the candidate on both. Changed (2): linux.yml manual-start.yml
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.
GitHub moves
ubuntu-latestto Ubuntu 26.04 between 2026-10-19 and 2026-11-19 (actions/runner-images#14748). Ubuntu 26.04 ships apt 3.2.0 withoutapt-key, so the Chrome install step, which starts withwget ... | sudo apt-key add -, fails on every run that lands there.The key now goes to
/etc/apt/keyrings/google-chrome.gpgand the source refers to it withsigned-by, over https. The source is written togoogle-chrome.list, the file Chrome's own package uses, so the two can't end up as conflicting entries.Changed:
linux.yml,manual-start.ymlTesting
linux.ymlonubuntu-26.04: green, Chrome 156.0.8078.47 installed, no apt errors.ubuntu:24.04andubuntu:26.04containers.ubuntu-latest, which is 24.04 or 26.04 depending on where GitHub's rollout is.