From ba48848a513a366cb7abecccbed3c8d735a0dc55 Mon Sep 17 00:00:00 2001 From: taoky Date: Mon, 1 Jul 2024 02:58:14 +0800 Subject: [PATCH] debian-security: Fix for some distros not using debian-security path Closes: #259 --- docs/debian-security.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/debian-security.md b/docs/debian-security.md index 84f44f9a..7ec4c3a6 100644 --- a/docs/debian-security.md +++ b/docs/debian-security.md @@ -43,7 +43,10 @@ Debian Old Old Stable, Old Stable, Stable === "`sources.list` 格式" ```shell - sudo sed -i 's/security.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list + sudo sed -i -e 's|security.debian.org/\? |security.debian.org/debian-security |g' \ + -e 's|security.debian.org|mirrors.ustc.edu.cn|g' \ + -e 's|deb.debian.org/debian-security|mirrors.ustc.edu.cn/debian-security|g' \ + /etc/apt/sources.list ``` === "DEB822 格式"