[debian-edu-commits] [Git][debian-edu/debian-edu-install][personal/gber/fix-apt-setup-generator] Fix security mirror URL generated by apt-setup generator script (closes #1058788)

Guido Berhörster (@gber) gitlab at salsa.debian.org
Fri Dec 22 12:01:33 GMT 2023



Guido Berhörster pushed to branch personal/gber/fix-apt-setup-generator at Debian Edu / debian-edu-install


Commits:
76b7242f by Wolfgang Schweer at 2023-12-22T13:00:59+01:00
Fix security mirror URL generated by apt-setup generator script (closes #1058788)

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
informs 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

Fix this by pointing the generator script to the correct URL.

- - - - -


1 changed file:

- apt-setup/generators/70debian-edu-install


Changes:

=====================================
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



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-install/-/commit/76b7242f1517c9e9ebcfd62d3a8ae233131308a6

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-install/-/commit/76b7242f1517c9e9ebcfd62d3a8ae233131308a6
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20231222/d2814e0e/attachment-0001.htm>


More information about the debian-edu-commits mailing list