diff -Nru debootstrap-1.0.81ubuntu1/debian/changelog debootstrap-1.0.81ubuntu2/debian/changelog --- debootstrap-1.0.81ubuntu1/debian/changelog 2016-06-15 07:46:48.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/debian/changelog 2016-10-01 00:25:49.000000000 +0000 @@ -1,3 +1,10 @@ +debootstrap (1.0.81ubuntu2) yakkety; urgency=medium + + * Fix debootstrap --variant=fakechroot failure because initscripts is no + longer part of the base system. + + -- Steve Langasek Sat, 01 Oct 2016 00:25:49 +0000 + debootstrap (1.0.81ubuntu1) yakkety; urgency=low * Merge from Debian unstable (LP: #1591675). Remaining changes: diff -Nru debootstrap-1.0.81ubuntu1/scripts/gutsy debootstrap-1.0.81ubuntu2/scripts/gutsy --- debootstrap-1.0.81ubuntu1/scripts/gutsy 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/gutsy 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/hardy debootstrap-1.0.81ubuntu2/scripts/hardy --- debootstrap-1.0.81ubuntu1/scripts/hardy 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/hardy 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/intrepid debootstrap-1.0.81ubuntu2/scripts/intrepid --- debootstrap-1.0.81ubuntu1/scripts/intrepid 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/intrepid 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/jaunty debootstrap-1.0.81ubuntu2/scripts/jaunty --- debootstrap-1.0.81ubuntu1/scripts/jaunty 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/jaunty 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/karmic debootstrap-1.0.81ubuntu2/scripts/karmic --- debootstrap-1.0.81ubuntu1/scripts/karmic 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/karmic 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/lucid debootstrap-1.0.81ubuntu2/scripts/lucid --- debootstrap-1.0.81ubuntu1/scripts/lucid 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/lucid 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/maverick debootstrap-1.0.81ubuntu2/scripts/maverick --- debootstrap-1.0.81ubuntu1/scripts/maverick 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/maverick 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/natty debootstrap-1.0.81ubuntu2/scripts/natty --- debootstrap-1.0.81ubuntu1/scripts/natty 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/natty 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/oneiric debootstrap-1.0.81ubuntu2/scripts/oneiric --- debootstrap-1.0.81ubuntu1/scripts/oneiric 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/oneiric 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/precise debootstrap-1.0.81ubuntu2/scripts/precise --- debootstrap-1.0.81ubuntu1/scripts/precise 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/precise 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/quantal debootstrap-1.0.81ubuntu2/scripts/quantal --- debootstrap-1.0.81ubuntu1/scripts/quantal 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/quantal 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/raring debootstrap-1.0.81ubuntu2/scripts/raring --- debootstrap-1.0.81ubuntu1/scripts/raring 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/raring 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/saucy debootstrap-1.0.81ubuntu2/scripts/saucy --- debootstrap-1.0.81ubuntu1/scripts/saucy 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/saucy 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/trusty debootstrap-1.0.81ubuntu2/scripts/trusty --- debootstrap-1.0.81ubuntu1/scripts/trusty 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/trusty 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/utopic debootstrap-1.0.81ubuntu2/scripts/utopic --- debootstrap-1.0.81ubuntu1/scripts/utopic 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/utopic 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/vivid debootstrap-1.0.81ubuntu2/scripts/vivid --- debootstrap-1.0.81ubuntu1/scripts/vivid 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/vivid 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/wily debootstrap-1.0.81ubuntu2/scripts/wily --- debootstrap-1.0.81ubuntu1/scripts/wily 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/wily 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/xenial debootstrap-1.0.81ubuntu2/scripts/xenial --- debootstrap-1.0.81ubuntu1/scripts/xenial 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/xenial 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \ diff -Nru debootstrap-1.0.81ubuntu1/scripts/yakkety debootstrap-1.0.81ubuntu2/scripts/yakkety --- debootstrap-1.0.81ubuntu1/scripts/yakkety 2016-03-21 04:01:24.000000000 +0000 +++ debootstrap-1.0.81ubuntu2/scripts/yakkety 2016-10-01 00:25:45.000000000 +0000 @@ -154,9 +154,10 @@ info CONFREQ "Configuring required packages..." - if doing_variant fakechroot; then - # fix initscripts postinst (no mounting possible, and wrong if condition) - sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" + if doing_variant fakechroot && [ -e "$TARGET/var/lib/dpkg/info/initscripts.postinst" ] + then + # fix initscripts postinst (no mounting possible, and wrong if condition) + sed -i '/dpkg.*--compare-versions/ s/\/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst" fi echo \