[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 6ff936c 2/2: Configure apt to find debian 'bu
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 6ff936c 2/2: Configure apt to find debian 'bullseye' security updates |
Date: |
Sat, 28 Sep 2019 16:42:36 -0400 (EDT) |
branch: master
commit 6ff936c335189cba96198dc251bd20670d2112cd
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Configure apt to find debian 'bullseye' security updates
---
lmi_setup_21.sh | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)
diff --git a/lmi_setup_21.sh b/lmi_setup_21.sh
index dbefc9f..0bd5792 100755
--- a/lmi_setup_21.sh
+++ b/lmi_setup_21.sh
@@ -112,23 +112,15 @@ vim -es -c ':mkspell! ~/.vim/spell/en.utf-8.add' -c ':q'
# Enable stable and security upgrades--see:
# https://www.debian.org/releases/stretch/amd64/apds03.html.en#idm4504
-# As this is written in 2019-09, 'bullseye' has not been officially
-# released, so it has no release-notes page like the one cited above
-# for 'stretch', which recommends adding 'security.debian.org'; and
-# adding 'security.debian.org' for 'bullseye' elicits:
-# Err:4 http://security.debian.org bullseye/updates Release
-# 404 Not Found [IP: 151.101.184.204 80]
-# Reading package lists...
-# E: The repository 'http://security.debian.org bullseye/updates Release'
does not have a Release file.
-# apparently because 'bullseye' is too new to have security updates
-# yet:
-# http://forums.debian.net/viewtopic.php?f=5&t=143325
-# | Security repo may not be available for some time.
+# for a 'stretch' example, and these messages:
+# https://lists.nongnu.org/archive/html/lmi/2019-09/msg00046.html
+# https://lists.nongnu.org/archive/html/lmi/2019-09/msg00047.html
+# for the '-security' line and for the reason why https is not used.
cat >/etc/apt/sources.list <<EOF
deb http://deb.debian.org/debian/ ${CODENAME} main
deb http://deb.debian.org/debian/ ${CODENAME}-updates main
-#deb http://security.debian.org/ ${CODENAME}/updates main
+deb http://security.debian.org/ ${CODENAME}-security main
EOF
# Apply any available upgrades: