From 76fe0726f793b0be19c83ca1138d013903ee5e0d Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 10 Jul 2026 07:15:32 +0200 Subject: [PATCH] Fix ci_test_compilers_gcc_old: g++-6 missing from xenial-only archives My inline PPA/archive replication only added the xenial main/universe suites, but g++-6 isn't available there ("has no installation candidate"). The original custom Dockerfile also pulled from bionic main/universe and xenial-updates main/universe; add those back to match. Signed-off-by: Niels Lohmann --- .github/workflows/ubuntu.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 88d1c9e9b..504c7bc7b 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -164,8 +164,12 @@ jobs: apt-get update apt-get install -y --no-install-recommends software-properties-common ca-certificates gnupg make add-apt-repository -y ppa:ubuntu-toolchain-r/test + apt-add-repository -y "deb http://archive.ubuntu.com/ubuntu/ bionic main" + apt-add-repository -y "deb http://archive.ubuntu.com/ubuntu/ bionic universe" apt-add-repository -y "deb http://archive.ubuntu.com/ubuntu/ xenial main" apt-add-repository -y "deb http://archive.ubuntu.com/ubuntu/ xenial universe" + apt-add-repository -y "deb http://archive.ubuntu.com/ubuntu/ xenial-updates main" + apt-add-repository -y "deb http://archive.ubuntu.com/ubuntu/ xenial-updates universe" apt-get update apt-get install -y --no-install-recommends g++-${{ matrix.compiler }} - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0