Your message dated Mon, 27 Nov 2006 16:09:12 +0000
with message-id <[EMAIL PROTECTED]>
and subject line debootstrap: breaks if first selected component from Release 
does not contain required packages
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: debootstrap
Version: 0.3.3
Severity: normal
Tags: patch

The Ubuntu archive was recently ported over to Launchpad, which to start
with generated a Components line in dists/dapper/Release like this:

  Components: restricted main multiverse universe

This has since been changed to the more conventional "main restricted
universe multiverse" ordering, because it exposed a bug in debootstrap,
namely that if you used 'debootstrap --components=main,restricted' then
debootstrap only looked at restricted to find Priority: required and
Priority: important packages, because it only looked at the first
selected component in Release. The following patch fixes get_debs to
look at all selected components rather than just the first.

diff -Nru /tmp/ozb1ygdMFU/debootstrap-0.3.3.0ubuntu1/functions 
/tmp/1rHQOGDIEZ/debootstrap-0.3.3.0ubuntu2/functions
--- /tmp/ozb1ygdMFU/debootstrap-0.3.3.0ubuntu1/functions        2005-10-29 
10:31:48.000000000 +0100
+++ /tmp/1rHQOGDIEZ/debootstrap-0.3.3.0ubuntu2/functions        2006-02-08 
10:00:46.000000000 +0000
@@ -667,12 +667,13 @@
 
 get_debs () {
   local m1=${MIRRORS%% *}
-  local c="${COMPONENTS%% *}"
-  local path="dists/$SUITE/$c/binary-$ARCH/Packages"
-  local pkgdest="$TARGET/$($DLDEST pkg $SUITE $c $ARCH $m1 $path)"
   local field="$1"
   shift
-  echo $("$PKGDETAILS" FIELD "$field" $m1 "$pkgdest" "$@" | sed 's/ .*//')
+  echo $(for c in $COMPONENTS; do
+    local path="dists/$SUITE/$c/binary-$ARCH/Packages"
+    local pkgdest="$TARGET/$($DLDEST pkg $SUITE $c $ARCH $m1 $path)"
+    "$PKGDETAILS" FIELD "$field" $m1 "$pkgdest" "$@"
+  done | sed 's/ .*//')
 }
 
 ################################################################ extraction

Thanks,

-- 
Colin Watson                                       [EMAIL PROTECTED]


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

On Wed, Feb 08, 2006 at 11:39:24AM +0000, Colin Watson wrote:
> The Ubuntu archive was recently ported over to Launchpad, which to start
> with generated a Components line in dists/dapper/Release like this:
> 
>   Components: restricted main multiverse universe
> 
> This has since been changed to the more conventional "main restricted
> universe multiverse" ordering, because it exposed a bug in debootstrap,
> namely that if you used 'debootstrap --components=main,restricted' then
> debootstrap only looked at restricted to find Priority: required and
> Priority: important packages, because it only looked at the first
> selected component in Release. The following patch fixes get_debs to
> look at all selected components rather than just the first.

This was fixed slightly differently by Frans' recent NMU:

debootstrap (0.3.3.1) unstable; urgency=low

  * NMU with maintainer approval
  * functions/get_debs: build list of available packages from all specified
    sources; this allows debootstrap to also use e.g. custom versions of base
    packages from a source of local packages included on an installation CD.
    Closes: #398762.

 -- Frans Pop <[EMAIL PROTECTED]>  Thu, 16 Nov 2006 05:30:43 +0100

-- 
Colin Watson                                       [EMAIL PROTECTED]

--- End Message ---

Reply via email to