[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1058788: marked as done (debian-edu-install: apt-setup: fails to add security mirror entry)



Your message dated Mon, 25 Dec 2023 10:19:01 +0000
with message-id <E1rHi33-00Ef7u-Kf@fasolo.debian.org>
and subject line Bug#1058788: fixed in debian-edu-install 2.12.10
has caused the Debian Bug report #1058788,
regarding debian-edu-install: apt-setup: fails to add security mirror entry
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1058788: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058788
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Source: debian-edu-install
Source-Version: 2.12.10
Done: Holger Levsen <holger@debian.org>

We believe that the bug you reported is fixed in the latest version of
debian-edu-install, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1058788@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Holger Levsen <holger@debian.org> (supplier of updated debian-edu-install package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 25 Dec 2023 11:07:01 +0100
Source: debian-edu-install
Architecture: source
Version: 2.12.10
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Closes: 1058788 1058789
Changes:
 debian-edu-install (2.12.10) unstable; urgency=medium
 .
   [ Wolfgang Schweer ]
   * Fix security mirror URL generated by apt-setup generator script.
     Closes: #1058788.
   * Remove non-free and contrib repository components. Closes: #1058789.
 .
   [ Guido Berhoerster ]
   * Add systemd service files equivalent to xdebian-edu-firstboot init script.
   * Adjust debian-edu-testsuite to new UID/GID of first user.
 .
   [ Mike Gabriel ]
   * d/changelog: typo fix in previous upload stanza.
Checksums-Sha1:
 8963aaa885fe224de8eaa4a197bc581ed3522669 2026 debian-edu-install_2.12.10.dsc
 cb01b6c25b8104b86eb3f7c4a2617fb3cf3c5465 126124 debian-edu-install_2.12.10.tar.xz
 6225e39d9b66904325dcf1f16b29da13304a27b1 6487 debian-edu-install_2.12.10_source.buildinfo
Checksums-Sha256:
 805b5ff013041d29fd9a8f4c386685620afdadef2adc2907f0da6681ed2a6ed4 2026 debian-edu-install_2.12.10.dsc
 80723dbc8f4fdd7d6bbd5eb015ae9b65213f9c3209b4d9d2a850740be52ca787 126124 debian-edu-install_2.12.10.tar.xz
 f6d92c3df85792e88bee0ffdaa9a1e68db85a1b34ff76164f9391d2ccefeb3e8 6487 debian-edu-install_2.12.10_source.buildinfo
Files:
 479d6b770cc7fee07b7ab5cd7ef4b683 2026 misc optional debian-edu-install_2.12.10.dsc
 c24cd96c96caf6ac58bb13342468d169 126124 misc optional debian-edu-install_2.12.10.tar.xz
 d39be9ea4b4f124be313cb85ada7523e 6487 misc optional debian-edu-install_2.12.10_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmWJVpAACgkQCRq4Vgaa
qhwKiw//Y7rlnFHxe7wKrmG4immnKf6/6zBT3fx0AIWx4LuzGlvtSY6hKfrJcbtF
zy3vU2Un3Xk15XEAt5w+vQr0TLL5xnibCIihDzDQfU1Nu3Hufd3uiQoslZ426T+P
vPjGtcgU65OqrFkTMsUvWSDD+mXVt8AWqYQmK7yy9vEd0wxAHN0Zoh2NDdVwHQc/
6112dymcnOgUPAYvO2/eZoUO12RpTGAu8EbckmoYKN09ycWmg3J0m+7k/XXGTHmZ
EjNKPuH4ZFb+zmDCVHJQuBmrjbvGijuYoodC4ti2YNyFffNdJt8xuIy9lOkSBMYr
GEo2CPi7Ur0p00Z4NVD21GED8EQW8IsYZO3T9wrCeGN/NxfQA6L3O1sJATKLvdJa
qmP/RzA2a2ZKL+pQNPoSwgtbiSbEhdcwUgIHQ9X+S5emRDUuge3Cn/zf2o3OaI6L
KDVQ+0Z9N2v4KuC3KuRcbRsSEwXyHvLyAGrzKouaR/cDMercQsf0ifIRk9kDzBoi
lIRqqT8EgxtHWlHVeuFAW1yYFii75Ean72odNVN99D7dmd+dxo+sCR3uPdB+aOBS
vqSqPOuZ12KnTkkpY8RGgMirmjz6QdaHiJJ6zX2w5pVcMqlqwkV/ZFnxiWbFL3it
Q0Cglt7nNzta2XW23Rc4fTeDNrQN+BoH78n1LzjHwAp5ZIX0qE0=
=72X4
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: