tag 314858 patch thanks The Perl implementation of pkgdetails did not clear $val after each package. Thus, if a package did not include the field that was being tested, it ended up using the value for the last package that that did define the field. Since packages either have "Build-Essential: yes" or no Build-Essential field at all, the sid variant included every package after the first build-essential one (in this case, apt).
The attached package undefines $val after each package, which fixes this problem. -- Matt
diff -ru debootstrap-0.3.1.4.orig/functions debootstrap-0.3.1.4/functions --- debootstrap-0.3.1.4.orig/functions 2005-06-29 08:38:50.238466008 -0700 +++ debootstrap-0.3.1.4/functions 2005-06-29 08:39:12.975009528 -0700 @@ -808,6 +808,7 @@ last if (--$cnt <= 0); } } + undef $val; } } for $v (keys %fields) {
signature.asc
Description: Digital signature