Fix debian security sources 404 not found (only of default sources)

This commit is contained in:
Lycs-D 2023-09-08 20:08:17 +08:00
parent bf529fc459
commit 916cc4d195

View file

@ -2571,6 +2571,9 @@ verifyUrlValidationOfDdImages() {
fi 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 checkSys
# Get the name of network adapter($interface). # Get the name of network adapter($interface).