Your message dated Sat, 11 Aug 2018 04:48:53 +0000
with message-id <e1folpd-00007x...@fasolo.debian.org>
and subject line Bug#903481: fixed in debootstrap 1.0.107
has caused the Debian Bug report #903481,
regarding debootstrap: Save apt compatible lists
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 ow...@bugs.debian.org
immediately.)


-- 
903481: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903481
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: debootstrap
Version: 1.0.106
Severity: normal
Tags: patch

Since commit 
https://salsa.debian.org/installer-team/debootstrap/commit/48d77abf3a4209f7cff72aec20f618e086169aa7
debootstrap no longer saves repo list files in an apt compatible
format. A side effect of the old debootstrap.invalid setup was that
the mv_invalid_to function renamed the downloaded repo lists to files
that apt uses. Before you'd get the following:

var/lib/apt/lists/deb.debian.org_debian_dists_sid_InRelease

Now you get

var/lib/apt/lists/http:__deb.debian.org_debian_dists_sid_InRelease

That means that you're required to run apt update after debootstrap
finishes since apt will ignore the downloaded lists.

--
Dan Nicholson  |  +1.206.437.0833  |  Endless
From ef2c7d1d7810b50f58554da0351e6daf572be11d Mon Sep 17 00:00:00 2001
From: Dan Nicholson <nichol...@endlessm.com>
Date: Tue, 10 Jul 2018 06:05:42 -0500
Subject: [PATCH] Strip URL scheme from apt lists

Apt saves the repo lists without the URL scheme, so when debootstrap
keeps the URL scheme in the name they're not usable by apt. That means
you need to run apt update in the completed target even though the lists
have already been fetched. Without this change the default InRelease was
saved as http:__deb.debian.org_debian_dists_sid_InRelease.

This is a regression from commit 48d77ab since the old
debootstrap.invalid setup would rename the lists to the proper name in
most cases since it stripped the leading http://.
---
 functions | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/functions b/functions
index 38c710b..7b893d7 100644
--- a/functions
+++ b/functions
@@ -490,12 +490,12 @@ apt_dest () {
 	    pkg)
 		local m="$5"
 		printf "%s" "$APTSTATE/lists/"
-		echo "${m}_$6" | sed 's/\//_/g'
+		echo "${m}_$6" | sed -e 's,^[^:]\+://,,' -e 's/\//_/g'
 		;;
 	    rel)
 		local m="$3"
 		printf "%s" "$APTSTATE/lists/"
-		echo "${m}_$4" | sed 's/\//_/g'
+		echo "${m}_$4" | sed -e 's,^[^:]\+://,,' -e 's/\//_/g'
 		;;
 	esac
 }
-- 
2.11.0


--- End Message ---
--- Begin Message ---
Source: debootstrap
Source-Version: 1.0.107

We believe that the bug you reported is fixed in the latest version of
debootstrap, 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 903...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hideki Yamane <henr...@debian.org> (supplier of updated debootstrap 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Thu, 26 Jul 2018 19:12:20 +0900
Source: debootstrap
Binary: debootstrap debootstrap-udeb
Architecture: source all
Version: 1.0.107
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Hideki Yamane <henr...@debian.org>
Description:
 debootstrap - Bootstrap a basic Debian system
 debootstrap-udeb - Bootstrap the Debian system (udeb)
Closes: 618839 829725 893713 903481 903657
Changes:
 debootstrap (1.0.107) unstable; urgency=medium
 .
   [ Patrick McDermott ]
   * Fix wgetprogress() with --debian-installer (Closes: #829725)
 .
   [ Dan Nicholson ]
   * Strip URL scheme from apt lists (Closes: #903481)
 .
   [ Hideki Yamane ]
   * Fix docker detection breaks QEMU's binfmt_misc bootstraping
     (Closes: #903657)
     - Avoid removing host's /proc on some environment
     - Add workaround for second-stage inside docker
   * Align scripts/gutsy to scripts/debian-common
   * Remove unnecessary script files from udeb package
     (Closes: #618839, #893713)
Checksums-Sha1:
 b20628c5c928a244be45c1936f5d2318b548b78f 1988 debootstrap_1.0.107.dsc
 1e46c94af6c421a97348679630a8ab6e08ecc316 74202 debootstrap_1.0.107.tar.gz
 42a33f6b6ac83ab3dab301d5bd746fb30079f2d7 20428 
debootstrap-udeb_1.0.107_all.udeb
 3e840e184ebb487eb7dc2fb055bcb448ba567cfa 71914 debootstrap_1.0.107_all.deb
 89ef75eded2a761ae21a17957fcf1148948ce9fd 5970 
debootstrap_1.0.107_amd64.buildinfo
Checksums-Sha256:
 aa64a2b1e5da8f8b1a0f59009e3e9f80cfa99400ba24f2fafaef8ec4998ce737 1988 
debootstrap_1.0.107.dsc
 e191aeb5855ec164902e012bccc504296fefecf3400b9a0c233843a01cc905bf 74202 
debootstrap_1.0.107.tar.gz
 923a606610b29f4ea277eaada7f2172292c87fe8632960e0fa7dac6b0e6c4f13 20428 
debootstrap-udeb_1.0.107_all.udeb
 d26114b8df0e8c99b3bae964b053672fafd9bf34f0577621dd3e2dc1a051dbc9 71914 
debootstrap_1.0.107_all.deb
 47421b738bb88cd146df4089fe7c64e949054c9dfcc549c6aed889814efb761e 5970 
debootstrap_1.0.107_amd64.buildinfo
Files:
 3965e136d83a9e86268f4a99ae8cc5a4 1988 admin optional debootstrap_1.0.107.dsc
 428e654319bc537c4e722f1b0c7ae142 74202 admin optional 
debootstrap_1.0.107.tar.gz
 58ae1e956e92453ed0a1f54a50e0ae29 20428 debian-installer optional 
debootstrap-udeb_1.0.107_all.udeb
 cfffc1f4eb637767a0be687e85b291d7 71914 admin optional 
debootstrap_1.0.107_all.deb
 7abe6b3d6bfc9b83e3ffaf1c1cf0eb69 5970 admin optional 
debootstrap_1.0.107_amd64.buildinfo

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

iQIzBAEBCgAdFiEEWOEiL5aWyIWjzRBMXTKNCCqqsUAFAltuWJoACgkQXTKNCCqq
sUAahA//fbVy4LJUEiFt+7oVQbRVOd/sBnU3/3B1/eDzLq+t4oQl67nn5pBGHVrA
3r6ulJZSRUyKKv1r9i40y7lJKgM/bQE9NIgT+ZufYqiDuNJPLXsGb/N8ZFnHblcy
c0r4w4XGxmPff9xSPyoSjAsgjmIeteoUPrd5ULs3HZc//SGjOCm3o6cm0eZWc0U6
sIlHhdDoTkn0gptTutc39aCXQDXYy5LjtQs1/qcqlND/JArd78XhH3wIDHWX1rK6
xrUWUKoTuLTGHlvR0JD46GEdWJhwhGZqKEgjQF8PS8v+Lp1gS3eh3TLgHrBHaFQk
Wd8caveSIQ1S+vVSK0dSGl7miMkVYY9WHKBT3umSIEaVuf8u04ZY/jYekjX0rney
TO5wwUZ1mlEoKtHicTnZNBgRYYLRJls5bbFWVanuoil5aBtokRuJx87r9uU1ODX4
7uZE60dElNg1qvG4RILIPe1ooGtyFjdyhwsHQGs6/SRbqFK5IqHvWsxrOEM9XvuN
+kov+wZEyUKuGtkxdTi2H5RvtaAVj+aaa+cFkBzT4t+DxiHJClt0vmjCKXgCKjj+
wPLlNuJP4kEChtzTY8OWDh0TN+HTC5yXeZA4V3Y7bXolMX3OkwOZToJlDCqizyj4
oThisLrRswnGzr9H8AAoghEGN/jnsjYLDJyyaBQr7XEoXwGxkk0=
=kSRA
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to