From 916cc4d1956908f7a5f486054575680ae6c8547b Mon Sep 17 00:00:00 2001 From: Lycs-D <139197676+Lycs-D@users.noreply.github.com> Date: Fri, 8 Sep 2023 20:08:17 +0800 Subject: [PATCH] Fix debian security sources 404 not found (only of default sources) --- Linux_reinstall/InstallNET.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Linux_reinstall/InstallNET.sh b/Linux_reinstall/InstallNET.sh index c501bf0..eb49d01 100644 --- a/Linux_reinstall/InstallNET.sh +++ b/Linux_reinstall/InstallNET.sh @@ -2571,6 +2571,9 @@ verifyUrlValidationOfDdImages() { fi } +# Fix debian security sources 404 not found (only of default sources) +sed -i 's/^\(deb.*security.debian.org\/\)\(.*\)\/updates/\1debian-security\2-security/g' /etc/apt/sources.list + checkSys # Get the name of network adapter($interface).