Source: debian-edu-install
Version: 2.11.3
Severity: important
Tags: patch

Dear Maintainer,

since Debian changed the security mirror URL (as of bullseye), the 
related Debian Edu apt-setup generator script (70debian-edu-install) 
prevents the Debian installer apt-setup mechanism to write the security 
mirror entry *also in case of an existing Internet connection*.

The Debian Edu apt-setup generator script is useful in case of 
completely offline installations (using the BD ISO image). The manual 
informes about the missing security mirror entry in this case, see:
https://wiki.debian.org/DebianEdu/Documentation/Bullseye/Installation#A_note_on_USB_flash_drive_.2F_Blu-ray_disc_image_installs

This change will fix the bug (patch also attached):

diff --git a/apt-setup/generators/70debian-edu-install 
b/apt-setup/generators/70debian-edu-install
index ae977616..bfabc59f 100755
--- a/apt-setup/generators/70debian-edu-install
+++ b/apt-setup/generators/70debian-edu-install
@@ -28,7 +28,7 @@ DISTRIBUTION="$RET"
 # Prevent installer to contact security host as we don't have network
 # connection.  Setting apt-setup/security_host to an empty value will
 # make apt-setup/generators/90security skip the security mirror
-if ! wget -qO - http://security.debian.org/dists/$DISTRIBUTION/updates/Release 
; then
+if ! wget -qO - 
http://security.debian.org/dists/$DISTRIBUTION-security/Release ; then
        log "Disabling security mirror, unable to reach it using http/wget"
        db_fset apt-setup/security_host seen true || true
        db_set apt-setup/security_host "" || true

Wolfgang
diff --git a/apt-setup/generators/70debian-edu-install b/apt-setup/generators/70debian-edu-install
index ae977616..bfabc59f 100755
--- a/apt-setup/generators/70debian-edu-install
+++ b/apt-setup/generators/70debian-edu-install
@@ -28,7 +28,7 @@ DISTRIBUTION="$RET"
 # Prevent installer to contact security host as we don't have network
 # connection.  Setting apt-setup/security_host to an empty value will
 # make apt-setup/generators/90security skip the security mirror
-if ! wget -qO - http://security.debian.org/dists/$DISTRIBUTION/updates/Release ; then
+if ! wget -qO - http://security.debian.org/dists/$DISTRIBUTION-security/Release ; then
 	log "Disabling security mirror, unable to reach it using http/wget"
 	db_fset apt-setup/security_host seen true || true
 	db_set apt-setup/security_host "" || true

Attachment: signature.asc
Description: PGP signature

Reply via email to