mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 15:41:09 +00:00
mk-sbuild: fix security update repository for Debian bullseye and later
If I run "apt-get update" in the bullseye chroot, I get the following error: Err:4 http://security.debian.org bullseye-updates Release 404 Not Found [IP: 2a04:4e42:600::644 80] It looks like the directory path was changed since bullseye. buster: deb https://security.debian.org/debian-security buster/updates main bullseye: deb https://security.debian.org/debian-security bullseye-security main Signed-off-by: Masahiro Yamada <masahiro.yamada@canonical.com>
This commit is contained in:
parent
9f2a53c166
commit
69ac109cdb
@ -675,7 +675,11 @@ debian)
|
||||
# Debian only performs security updates
|
||||
SKIP_UPDATES=1
|
||||
if [ -z "$SOURCES_SECURITY_SUITE" ]; then
|
||||
SOURCES_SECURITY_SUITE="RELEASE/updates"
|
||||
if debian_dist_ge "$RELEASE" "bullseye"; then
|
||||
SOURCES_SECURITY_SUITE="RELEASE-security"
|
||||
else
|
||||
SOURCES_SECURITY_SUITE="RELEASE/updates"
|
||||
fi
|
||||
fi
|
||||
if [ -z "$SOURCES_SECURITY_URL" ]; then
|
||||
SOURCES_SECURITY_URL="http://security.debian.org/"
|
||||
|
Loading…
x
Reference in New Issue
Block a user