From d22bb528c56c22c1a0c0855ff221f3a9594d1964 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 25 Apr 2024 18:26:59 -0400 Subject: [PATCH] CI: ubuntu-rolling: fix configuration for sources after format change ``` # Ubuntu sources have moved to the /etc/apt/sources.list.d/ubuntu.sources # file, which uses the deb822 format. Use deb822-formatted .sources files # to manage package sources in the /etc/apt/sources.list.d/ directory. # See the sources.list(5) manual page for details. ``` Adapt to the new format. --- ci/ciimage/ubuntu-rolling/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/ciimage/ubuntu-rolling/install.sh b/ci/ciimage/ubuntu-rolling/install.sh index 35a0b0ea2..e1747034f 100755 --- a/ci/ciimage/ubuntu-rolling/install.sh +++ b/ci/ciimage/ubuntu-rolling/install.sh @@ -29,7 +29,7 @@ pkgs=( openjdk-11-jre ) -sed -i '/^#\sdeb-src /s/^#//' "/etc/apt/sources.list" +sed -i '/^Types: deb/s/deb/deb deb-src/' /etc/apt/sources.list.d/ubuntu.sources apt-get -y update apt-get -y upgrade apt-get -y install eatmydata