From c32e2ca563a982d8188057b78593b8eba04ed0b4 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Sun, 10 May 2026 22:18:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E8=87=AA=E5=8A=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0[trusted=3Dtrue]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gfdgd_xi <3025613752@qq.com> --- .github/workflows/configure-building-enviroment.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/configure-building-enviroment.sh b/.github/workflows/configure-building-enviroment.sh index c0565db..402b06c 100755 --- a/.github/workflows/configure-building-enviroment.sh +++ b/.github/workflows/configure-building-enviroment.sh @@ -45,6 +45,10 @@ if [[ -f /sources-list/sources-$1.list ]]; then fi fi fi +sed -i "s%deb http%deb [trusted=true] http%g" /etc/apt/sources.list.d/*.list +sed -i "s%deb-src http%deb-src [trusted=true] http%g" /etc/apt/sources.list.d/*.list +sed -i "s%deb http%deb [trusted=true] http%g" /etc/apt/sources.list +sed -i "s%deb-src http%deb-src [trusted=true] http%g" /etc/apt/sources.list for i in {1..8}; do apt update -o Acquire::Check-Valid-Until=false -y