Bug#1058788: apt-setup: fails to add security mirror entry
Wolfgang Schweer <[email protected]>
| Newsgroups | gmane.linux.skolelinux.devel |
|---|---|
| Message-ID | <ZX18ZfB8ZTIr_JUo__21988.6800901563$1702722814$gmane$org@star.localdomain> |
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
security.patch
(text/x-diff, 814 B)
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
signature.asc
(application/pgp-signature, 963 B)
-----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEUtFpn8Xin4U91tKIF+yw1/QxG0wFAmV9fGRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDUy RDE2OTlGQzVFMjlGODUzREQ2RDI4ODE3RUNCMEQ3RjQzMTFCNEMACgkQF+yw1/Qx G0wLWA//VVWlcQaz+g+kXdfLCTjPgN63xNscB/gslW8XCPgUeYwrxicP3KEpUHXe IBCwG/Bo5LCfrKq2mWr8PwhNlsLzgdAgQN+bUDvxSlMpDvgydCx84Ozbso8tfcvm 0myA6HYEmizqMqT2n92v65YYjNGNYIruM8ASXPfvy1LFPUECuOLNXMEbcIdkVnUp OU5bu22ZkKm1A4BzlnvdUWKn8TLC1xTW6JJefQykqTxWd16axdwwWsMKarCX5rvG I6YBLGU4tUrx8/S/siOq6/DZpeHFDyB1c2ZxEn22LQJZQLuFc9p7z6zsTtBavjDf Qmc2cSsUgtFTYsqHM/XjkLCV7xuAaa7UkWZQJ8S8NkdF4lsgFQvwf+ZGYLyn42Rb fidA9fPimVr1QVfXYYHr0KJAyCXgOby9sn9kfEwRAqtW2O6vxYerLJAos7XiuNyV yubqj4n86aGCzuz7+3sw2OUbrPo1wGn3GvTLLoSIC69zW2xwc5RrcDsFVpo2E1dh Y4Oj1qAWnPQWAdp1SaVxhXojd3Ag8TrFJ4E2nvhlQRGz8wdEO9gFw5tm8NJniD20 sYNnHPgtYx+a1A/Lh9lJT5bB13S9JDO9Ry2u1XcnUEfN+4U76lgONLYQVxM5R+Dg Izdt9QO8wim4okVq2hOaP8ZpIEHJ/E/UovIeHQxYQBmX3p2trqE= =IksK -----END PGP SIGNATURE-----