grml / grml-debootstrap

wrapper around debootstrap
59 stars 27 forks source link

--nopackages clashes with update-locale? #47

Closed adrelanos closed 9 years ago

adrelanos commented 9 years ago

When using --nopackages, update-locale will not be executed.

Warning: update-locale executable not available (no locales package installed?)

I am wondering if this is surprising and should be considered a bug?

(The image build failing is unrelated, related to --nopackages though, that is #40.)

Full log:

tester@debian:~$ pp
+ export http_proxy=http://192.168.2.100:3142
+ http_proxy=http://192.168.2.100:3142
+ set +x
tester@debian:~$ sudo -E bash -x \
>    grml-debootstrap \
>          --debug \
>          --verbose \
>          --debopt --verbose \
>          --arch i386 \
>          --filesystem ext4 \
>          --force \
>          --hostname host \
>          --mirror http://ftp.us.debian.org/debian \
>          --keep_src_list \
>          --password changeme \
>          --release jessie \
>          --verbose \
>          --vmfile \
>          --vmsize "$VMSIZE" \
>          --nopackages \
>          --target "./test.raw"
+ set -o pipefail
+ '[' -n '' ']'
+ REPORT_TRAP_ERR=no
+ '[' -n '' ']'
+ FAIL_TRAP_ERR=no
+ trap error_handler ERR
+ export -f error_handler
++ basename grml-debootstrap
+ PN=grml-debootstrap
++ dpkg-query --show '--showformat=${Version}' grml-debootstrap
+ VERSION=0.67
+ VERSION=0.67
+ MNTPOINT=/mnt/debootstrap.20268
+ '[' -n '' ']'
+ CHROOT_SCRIPTS=yes
+ '[' -n '' ']'
+ CONFFILES=/etc/debootstrap
+ '[' -n '' ']'
+ DEBCONF=yes                                                                                                                                                                       
+ '[' -n '' ']'
+ DEBIAN_FRONTEND=noninteractive
+ '[' -n '' ']'
+ DEBOOTSTRAP=debootstrap
+ '[' -n '' ']'
+ DEFAULT_LOCALES=en_US.UTF-8
+ '[' -n '' ']'
+ DEFAULT_LANGUAGE=en_US:en
+ '[' -n '' ']'
+ EXTRAPACKAGES=yes
+ '[' -n '' ']'
+ FALLBACK_MIRROR=http://http.debian.net/debian
+ '[' -n '' ']'
+ FORCE=
+ '[' -n debian ']'
+ '[' -n '' ']'
+ INITRD=yes
+ '[' -n '' ']'
+ INSTALL_NOTES=/etc/debootstrap/install_notes
+ '[' -n '' ']'
+ LOCALES=yes
+ '[' -n '' ']'
+ MIRROR=http://http.debian.net/debian
+ '[' -n '' ']'
+ MKFS=mkfs.ext4
+ '[' -n '' ']'
+ PACKAGES=yes
+ '[' -n '' ']'
+ PRE_SCRIPTS=yes
+ '[' -n '' ']'
+ RECONFIGURE=console-data
+ '[' -n '' ']'
+ RELEASE=wheezy
+ '[' -n '' ']'
+ RM_APTCACHE=yes
+ '[' -n '' ']'
+ SCRIPTS=yes
+ '[' -n '' ']'
+ SECURE=yes
+ '[' -n '' ']'
+ TIMEZONE=Europe/Vienna
+ '[' -n '' ']'
+ TUNE2FS='tune2fs -c0 -i0'
+ '[' -n '' ']'
+ UPGRADE_SYSTEM=yes
+ '[' -n '' ']'
+ VMSIZE=2G
+ '[' -n '' ']'
+ FIXED_DISK_IDENTIFIERS=no
+ export LANG=C
+ LANG=C
+ export LC_ALL=C
+ LC_ALL=C
+ INTERACTIVE=
+ '[' --debug = -h ']'
+ '[' --debug = -help ']'
+ '[' --debug = --help ']'
+ GOOD=''
+ WARN=''
+ BAD=''
+ NORMAL=''
+ HILITE=''
+ BRACKET=''
+ trap bailout HUP INT QUIT TERM
+ check4progs debootstrap
+ trap error_handler ERR
+ local RC=
+ for arg in '$*'
+ which debootstrap
+ '[' -n '' ']'
+ '[' -r /etc/debootstrap/config ']'
+ . /etc/debootstrap/config
+ '[' -r ./cmdlineopts.clp ']'
+ '[' -r /usr/share/grml-debootstrap/functions/cmdlineopts.clp ']'
+ . /usr/share/grml-debootstrap/functions/cmdlineopts.clp
++ CMDLINE_OPTS=mirror:,iso:,release:,target:,mntpoint:,debopt:,defaultinterfaces,interactive,nodebootstrap,nointerfaces,nokernel,nopackages,filesystem:,config:,confdir:,packages:,chroot-scripts:,scripts:,pre-scripts:,debconf:,vm,vmfile,vmsize:,keep_src_list,hostname:,password:,nopassword,grmlrepos,backportrepos,bootappend:,grub:,arch:,insecure,verbose,help,version,force,debug
+++ getopt --name grml-debootstrap -o +m:i:r:t:p:c:d:vhV --long mirror:,iso:,release:,target:,mntpoint:,debopt:,defaultinterfaces,interactive,nodebootstrap,nointerfaces,nokernel,nopackages,filesystem:,config:,confdir:,packages:,chroot-scripts:,scripts:,pre-scripts:,debconf:,vm,vmfile,vmsize:,keep_src_list,hostname:,password:,nopassword,grmlrepos,backportrepos,bootappend:,grub:,arch:,insecure,verbose,help,version,force,debug -- --debug --verbose --debopt --verbose --arch i386 --filesystem ext4 --force --hostname host --mirror http://ftp.us.debian.org/debian --keep_src_list --password changeme --release jessie --verbose --vmfile --vmsize '' --nopackages --target ./test.raw
++ _opt_temp=' --debug --verbose --debopt '\''--verbose'\'' --arch '\''i386'\'' --filesystem '\''ext4'\'' --force --hostname '\''host'\'' --mirror '\''http://ftp.us.debian.org/debian'\'' --keep_src_list --password '\''changeme'\'' --release '\''jessie'\'' --verbose --vmfile --vmsize '\'''\'' --nopackages --target '\''./test.raw'\'' --'
++ '[' 0 '!=' 0 ']'
++ eval set -- ' --debug --verbose --debopt '\''--verbose'\'' --arch '\''i386'\'' --filesystem '\''ext4'\'' --force --hostname '\''host'\'' --mirror '\''http://ftp.us.debian.org/debian'\'' --keep_src_list --password '\''changeme'\'' --release '\''jessie'\'' --verbose --vmfile --vmsize '\'''\'' --nopackages --target '\''./test.raw'\'' --'
+++ set -- --debug --verbose --debopt --verbose --arch i386 --filesystem ext4 --force --hostname host --mirror http://ftp.us.debian.org/debian --keep_src_list --password changeme --release jessie --verbose --vmfile --vmsize '' --nopackages --target ./test.raw --
++ :
++ case "$1" in
++ _opt_debug=T
++ shift
++ :
++ case "$1" in
++ '[' '' ']'
++ _opt_verbose=1
++ shift
++ :
++ case "$1" in
++ shift
++ _opt_debopt=--verbose
++ shift
++ :
++ case "$1" in
++ shift
++ _opt_arch=i386
++ shift
++ :
++ case "$1" in
++ shift
++ _opt_filesystem=ext4
++ shift
++ :
++ case "$1" in
++ _opt_force=T
++ shift
++ :
++ case "$1" in
++ shift
++ _opt_hostname=host
++ shift
++ :
++ case "$1" in
++ shift
++ _opt_mirror=http://ftp.us.debian.org/debian
++ shift
++ :
++ case "$1" in
++ _opt_keep_src_list=T
++ shift
++ :
++ case "$1" in
++ shift
++ _opt_password=changeme
++ shift
++ :
++ case "$1" in
++ shift
++ _opt_release=jessie
++ shift
++ :
++ case "$1" in
++ '[' 1 ']'
+++ expr 1 + 1
++ _opt_verbose=2
++ shift
++ :
++ case "$1" in
++ _opt_vmfile=T
++ shift
++ :
++ case "$1" in
++ shift
++ _opt_vmsize=
++ shift
++ :
++ case "$1" in
++ _opt_nopackages=T
++ shift
++ :
++ case "$1" in
++ shift
++ _opt_target=./test.raw
++ shift
++ :
++ case "$1" in
++ shift
++ break
+ '[' '' ']'
+ '[' http://ftp.us.debian.org/debian ']'
+ MIRROR=http://ftp.us.debian.org/debian
+ '[' '' ']'
+ '[' jessie ']'
+ RELEASE=jessie
+ '[' ./test.raw ']'
+ TARGET=./test.raw
+ '[' '' ']'
+ '[' T ']'
+ VMFILE=1
+ VIRTUAL=1
+ '[' '' ']'
+ '[' '' ']'
+ '[' --verbose ']'
+ DEBOOTSTRAP_OPT=--verbose
+ '[' '' ']'
+ '[' '' ']'
+ '[' ext4 ']'
+ MKFS=mkfs.ext4
+ '[' '' ']'
+ '[' T ']'
+ PACKAGES=
+ '[' '' ']'
+ '[' '' ']'
+ '[' '' ']'
+ '[' '' ']'
+ '[' T ']'
+ KEEP_SRC_LIST=yes
+ '[' '' ']'
+ '[' '' ']'
+ '[' host ']'
+ HOSTNAME=host
+ '[' changeme ']'
+ ROOTPASSWORD=changeme
+ '[' '' ']'
+ '[' '' ']'
+ '[' '' ']'
+ '[' '' ']'
+ '[' '' ']'
+ '[' '' ']'
+ '[' i386 ']'
+ ARCH=i386
+ '[' '' ']'
+ '[' T ']'
+ FORCE=T
+ '[' 2 ']'
+ VERBOSE=-v
+ '[' T ']'
+ DEBUG=true
+ '[' true = true ']'
+ set -x
+ '[' '' ']'
+ '[' '' ']'
+ check4root
+ trap error_handler ERR
++ id -u
+ '[' 0 '!=' 0 ']'
+ '[' -n 1 ']'
+ check4progs kpartx mksh parted qemu-img
+ trap error_handler ERR
+ local RC=
+ for arg in '$*'
+ which kpartx
+ for arg in '$*'
+ which mksh
+ for arg in '$*'
+ which parted
+ for arg in '$*'
+ which qemu-img
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ grep -q '^hd'
+ echo ''
+ '[' -z ./test.raw -o -n '' ']'
+ '[' -n i386 ']'
+ ARCHCMD='--arch i386'
+ ARCHINFO=' (i386)'
++ uname -m
+ CURRENT_ARCH=i686
+ '[' i686 '!=' x86_64 ']'
+ '[' i386 = amd64 ']'
+ checkconfiguration
+ trap error_handler ERR
+ '[' -n '' ']'
+ '[' -n '' ']'
+ einfo 'grml-debootstrap [0.67] - Please recheck configuration before execution:'
+ trap error_handler ERR
+ einfon 'grml-debootstrap [0.67] - Please recheck configuration before execution:\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' '' = ebegin ']'
+ printf ' * grml-debootstrap [0.67] - Please recheck configuration before execution:\n'
 * grml-debootstrap [0.67] - Please recheck configuration before execution:
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ echo

+ echo '   Target:          ./test.raw'
   Target:          ./test.raw
+ case "$MNTPOINT" in
+ '[' -n 1 ']'
+ echo '   Install grub:    yes'
   Install grub:    yes
+ '[' -n jessie ']'
+ echo '   Using release:   jessie'
   Using release:   jessie
+ '[' -n host ']'
+ echo '   Using hostname:  host'
   Using hostname:  host
+ '[' -n http://ftp.us.debian.org/debian ']'
+ echo '   Using mirror:    http://ftp.us.debian.org/debian'
   Using mirror:    http://ftp.us.debian.org/debian
+ '[' -n '' ']'
+ '[' -n i386 ']'
+ echo '   Using arch:      i386'
   Using arch:      i386
+ '[' -n 1 ']'
+ echo '   Deploying as Virtual Machine.'
   Deploying as Virtual Machine.
+ '[' -n 2G -a -n 1 ']'
+ echo '   Using Virtual Disk file with size of 2G.'
   Using Virtual Disk file with size of 2G.
+ '[' '!' -t 0 -a -z changeme -a -z '' ']'
+ echo

+ echo '   Important! Continuing will delete all data from ./test.raw!'
   Important! Continuing will delete all data from ./test.raw!
+ '[' -n T ']'
+ einfo 'Skip user acknowledgement as requested via --force option.'
+ trap error_handler ERR
+ einfon 'Skip user acknowledgement as requested via --force option.\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Skip user acknowledgement as requested via --force option.\n'
 * Skip user acknowledgement as requested via --force option.
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ '[' -n ./test.raw ']'
+ SHORT_TARGET=test.raw
+ '[' -z '' ']'
+ STAGES=/var/cache/grml-debootstrap/stages_test.raw
+ '[' -d /var/cache/grml-debootstrap/stages_test.raw ']'
+ mkdir -p /var/cache/grml-debootstrap/stages_test.raw
+ '[' -r /var/cache/grml-debootstrap/stages_test.raw/grml-debootstrap ']'
+ PARTITION=
+ DIRECTORY=
+ '[' -b ./test.raw ']'
+ '[' -n 1 ']'
+ PARTITION=1
+ '[' -n '' ']'
+ ISODIR=
+ ISODIR=
+ '[' -n '' ']'
+ for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
+ stage prepare_vm
+ trap error_handler ERR
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_test.raw/prepare_vm
+ prepare_vm
+ trap error_handler ERR
+ '[' -z 1 ']'
+ '[' -b ./test.raw -a -n 1 ']'
+ '[' '!' -b ./test.raw -a -z 1 ']'
+ ORIG_TARGET=./test.raw
+ '[' -n 1 ']'
+ qemu-img create -f raw ./test.raw 2G
Formatting './test.raw', fmt=raw size=2147483648 
+ dd of=./test.raw conv=notrunc
+ /usr/share/grml-debootstrap/bootgrub.mksh -A
+ echo 4 66
0 @0x168: 63 @4 (0x4)
 - 0x168: 32 (0x20) @ 4 (0x4)
 - 0x16A: 31 (0x1F) @ 36 (0x24)
using 2 blocks, 4 bytes (146 free)
using sectors of 2^9 = 512 bytes
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.0226153 s, 22.6 kB/s
+ dd if=/dev/zero bs=1 conv=notrunc count=64 seek=446 of=./test.raw
64+0 records in
64+0 records out
64 bytes (64 B) copied, 0.000133818 s, 478 kB/s
+ '[' no = yes ']'
+ parted -s ./test.raw 'mkpart primary ext4 2M -1'
+ kpartx -av ./test.raw
+ grep -q device-mapper /proc/misc
+ losetup -f
++ kpartx -av ./test.raw
+ DEVINFO='add map loop2p1 (254:2): 0 4190208 linear /dev/loop2 4096'
+ '[' -z 'add map loop2p1 (254:2): 0 4190208 linear /dev/loop2 4096' ']'
++ sed 's/.* linear //; s/ [[:digit:]]*//'
++ echo add map loop2p1 '(254:2):' 0 4190208 linear /dev/loop2 4096
+ LOOP=/dev/loop2
++ sed -e 's/.* (\(.*:.*\)).*/\1/'
++ echo 'add map loop2p1 (254:2): 0 4190208 linear /dev/loop2 4096'
+ BLOCKDEV=254:2
++ sed 's/ .*//'
++ echo loop2p1 '(254:2):' 0 4190208 linear /dev/loop2 4096
+ LOOP_PART=loop2p1
+ export TARGET=/dev/mapper/loop2p1
+ TARGET=/dev/mapper/loop2p1
+ blockdev --rereadpt /dev/loop2
BLKRRPART: Invalid argument
+ '[' -z /dev/mapper/loop2p1 ']'
+ stage prepare_vm done
+ trap error_handler ERR
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_test.raw/prepare_vm
+ for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
+ stage mkfs
+ trap error_handler ERR
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_test.raw/mkfs
+ mkfs
+ trap error_handler ERR
+ '[' -n '' ']'
+ grep -q /dev/mapper/loop2p1 /proc/mounts
+ '[' -n mkfs.ext4 ']'
+ einfo 'Running mkfs.ext4 on /dev/mapper/loop2p1'
+ trap error_handler ERR
+ einfon 'Running mkfs.ext4 on /dev/mapper/loop2p1\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Running mkfs.ext4 on /dev/mapper/loop2p1\n'
 * Running mkfs.ext4 on /dev/mapper/loop2p1
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ mkfs.ext4 /dev/mapper/loop2p1
mke2fs 1.42.5 (29-Jul-2012)
Discarding device blocks: done                            
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
131072 inodes, 523776 blocks
26188 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=536870912
16 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done 

+ RC=0
+ '[' no = yes ']'
+ grep -q /dev/md
+ echo /dev/mapper/loop2p1
+ '[' -n 1 ']'
+ sleep 2
++ blkid -o udev /dev/mapper/loop2p1
+ eval ID_FS_UUID=641db42e-4a84-42eb-9df2-432a29f87a52 ID_FS_UUID_ENC=641db42e-4a84-42eb-9df2-432a29f87a52 ID_FS_TYPE=ext4
++ ID_FS_UUID=641db42e-4a84-42eb-9df2-432a29f87a52
++ ID_FS_UUID_ENC=641db42e-4a84-42eb-9df2-432a29f87a52
++ ID_FS_TYPE=ext4
+ '[' -n 641db42e-4a84-42eb-9df2-432a29f87a52 ']'
+ TARGET_UUID=641db42e-4a84-42eb-9df2-432a29f87a52
+ eend 0
+ trap error_handler ERR
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ stage mkfs done
+ trap error_handler ERR
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_test.raw/mkfs
+ for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
+ stage tunefs
+ trap error_handler ERR
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_test.raw/tunefs
+ tunefs
+ trap error_handler ERR
+ '[' -n 'tune2fs -c0 -i0' ']'
+ grep -q mkfs.ext
+ echo mkfs.ext4
+ einfo 'Disabling automatic filesystem check on /dev/mapper/loop2p1 via tune2fs'
+ trap error_handler ERR
+ einfon 'Disabling automatic filesystem check on /dev/mapper/loop2p1 via tune2fs\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Disabling automatic filesystem check on /dev/mapper/loop2p1 via tune2fs\n'
 * Disabling automatic filesystem check on /dev/mapper/loop2p1 via tune2fs
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ tune2fs -c0 -i0 /dev/mapper/loop2p1
tune2fs 1.42.5 (29-Jul-2012)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
+ eend 0
+ trap error_handler ERR
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ stage tunefs done
+ trap error_handler ERR
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_test.raw/tunefs
+ for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
+ stage mount_target
+ trap error_handler ERR
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_test.raw/mount_target
+ mount_target
+ trap error_handler ERR
+ '[' -n '' ']'
+ grep -q /dev/mapper/loop2p1 /proc/mounts
+ '[' -d /mnt/debootstrap.20268 ']'
+ '[' -n 1 ']'
+ einfo 'Mounting /dev/mapper/loop2p1 to /mnt/debootstrap.20268'
+ trap error_handler ERR
+ einfon 'Mounting /dev/mapper/loop2p1 to /mnt/debootstrap.20268\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Mounting /dev/mapper/loop2p1 to /mnt/debootstrap.20268\n'
 * Mounting /dev/mapper/loop2p1 to /mnt/debootstrap.20268
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ mkdir -p /mnt/debootstrap.20268
+ mount -o rw,suid,dev /dev/mapper/loop2p1 /mnt/debootstrap.20268
+ eend 0
+ trap error_handler ERR
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ '[' -n '' ']'
+ stage mount_target done
+ trap error_handler ERR
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_test.raw/mount_target
+ for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
+ stage debootstrap_system
+ trap error_handler ERR
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_test.raw/debootstrap_system
+ debootstrap_system
+ trap error_handler ERR
+ '[' '' ']'
+ grep -q /mnt/debootstrap.20268 /proc/mounts
+ :
+ '[' -n '' ']'
+ einfo 'Running debootstrap --verbose for release jessie (i386) using http://ftp.us.debian.org/debian'
+ trap error_handler ERR
+ einfon 'Running debootstrap --verbose for release jessie (i386) using http://ftp.us.debian.org/debian\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Running debootstrap --verbose for release jessie (i386) using http://ftp.us.debian.org/debian\n'
 * Running debootstrap --verbose for release jessie (i386) using http://ftp.us.debian.org/debian
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ einfo 'Executing: debootstrap --arch i386  --verbose jessie /mnt/debootstrap.20268 http://ftp.us.debian.org/debian'
+ trap error_handler ERR
+ einfon 'Executing: debootstrap --arch i386  --verbose jessie /mnt/debootstrap.20268 http://ftp.us.debian.org/debian\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Executing: debootstrap --arch i386  --verbose jessie /mnt/debootstrap.20268 http://ftp.us.debian.org/debian\n'
 * Executing: debootstrap --arch i386  --verbose jessie /mnt/debootstrap.20268 http://ftp.us.debian.org/debian
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ debootstrap --arch i386 --verbose jessie /mnt/debootstrap.20268 http://ftp.us.debian.org/debian
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553)
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: acl adduser dmsetup insserv libaudit-common libaudit1 libbz2-1.0 libcap2 libcap2-bin libcryptsetup4 libdb5.3 libdebconfclient0 libdevmapper1.02.1 libgcrypt20 libgpg-error0 libkmod2 libncursesw5 libprocps3 libsemanage-common libsemanage1 libslang2 libsystemd0 libudev1 libustr-1.0-1 procps systemd systemd-sysv udev 
I: Found additional base dependencies: libdns-export100 libffi6 libgmp10 libgnutls-deb0-28 libgnutls-openssl27 libhogweed2 libicu52 libidn11 libirs-export91 libisc-export95 libisccfg-export90 libmnl0 libnetfilter-acct1 libnettle4 libnfnetlink0 libp11-kit0 libpsl0 libtasn1-6 
I: Checking component main on http://ftp.us.debian.org/debian...
I: Retrieving acl
I: Validating acl
I: Retrieving libacl1
I: Validating libacl1
I: Retrieving adduser
I: Validating adduser
I: Retrieving apt
I: Validating apt
I: Retrieving apt-utils
I: Validating apt-utils
I: Retrieving libapt-inst1.5
I: Validating libapt-inst1.5
I: Retrieving libapt-pkg4.12
I: Validating libapt-pkg4.12
I: Retrieving libattr1
I: Validating libattr1
I: Retrieving libaudit-common
I: Validating libaudit-common
I: Retrieving libaudit1
I: Validating libaudit1
I: Retrieving base-files
I: Validating base-files
I: Retrieving base-passwd
I: Validating base-passwd
I: Retrieving bash
I: Validating bash
I: Retrieving libdns-export100
I: Validating libdns-export100
I: Retrieving libirs-export91
I: Validating libirs-export91
I: Retrieving libisc-export95
I: Validating libisc-export95
I: Retrieving libisccfg-export90
I: Validating libisccfg-export90
I: Retrieving libboost-iostreams1.55.0
I: Validating libboost-iostreams1.55.0
I: Retrieving bsdmainutils
I: Validating bsdmainutils
I: Retrieving libbz2-1.0
I: Validating libbz2-1.0
I: Retrieving libdebconfclient0
I: Validating libdebconfclient0
I: Retrieving coreutils
I: Validating coreutils
I: Retrieving cpio
I: Validating cpio
I: Retrieving cron
I: Validating cron
I: Retrieving libcryptsetup4
I: Validating libcryptsetup4
I: Retrieving dash
I: Validating dash
I: Retrieving libdb5.3
I: Validating libdb5.3
I: Retrieving debconf
I: Validating debconf
I: Retrieving debconf-i18n
I: Validating debconf-i18n
I: Retrieving debian-archive-keyring
I: Validating debian-archive-keyring
I: Retrieving debianutils
I: Validating debianutils
I: Retrieving diffutils
I: Validating diffutils
I: Retrieving dmidecode
I: Validating dmidecode
I: Retrieving dpkg
I: Validating dpkg
I: Retrieving e2fslibs
I: Validating e2fslibs
I: Retrieving e2fsprogs
I: Validating e2fsprogs
I: Retrieving libcomerr2
I: Validating libcomerr2
I: Retrieving libss2
I: Validating libss2
I: Retrieving findutils
I: Validating findutils
I: Retrieving gcc-4.8-base
I: Validating gcc-4.8-base
I: Retrieving gcc-4.9-base
I: Validating gcc-4.9-base
I: Retrieving libgcc1
I: Validating libgcc1
I: Retrieving libstdc++6
I: Validating libstdc++6
I: Retrieving libgdbm3
I: Validating libgdbm3
I: Retrieving libc-bin
I: Validating libc-bin
I: Retrieving libc6
I: Validating libc6
I: Retrieving multiarch-support
I: Validating multiarch-support
I: Retrieving libgmp10
I: Validating libgmp10
I: Retrieving gnupg
I: Validating gnupg
I: Retrieving gpgv
I: Validating gpgv
I: Retrieving libgnutls-deb0-28
I: Validating libgnutls-deb0-28
I: Retrieving libgnutls-openssl27
I: Validating libgnutls-openssl27
I: Retrieving grep
I: Validating grep
I: Retrieving groff-base
I: Validating groff-base
I: Retrieving gzip
I: Validating gzip
I: Retrieving hostname
I: Validating hostname
I: Retrieving libicu52
I: Validating libicu52
I: Retrieving ifupdown
I: Validating ifupdown
I: Retrieving init
I: Validating init
I: Retrieving init-system-helpers
I: Validating init-system-helpers
I: Retrieving insserv
I: Validating insserv
I: Retrieving iproute2
I: Validating iproute2
I: Retrieving iptables
I: Validating iptables
I: Retrieving libxtables10
I: Validating libxtables10
I: Retrieving iputils-ping
I: Validating iputils-ping
I: Retrieving isc-dhcp-client
I: Validating isc-dhcp-client
I: Retrieving isc-dhcp-common
I: Validating isc-dhcp-common
I: Retrieving libjson-c2
I: Validating libjson-c2
I: Retrieving kmod
I: Validating kmod
I: Retrieving libkmod2
I: Validating libkmod2
I: Retrieving less
I: Validating less
I: Retrieving libcap2
I: Validating libcap2
I: Retrieving libcap2-bin
I: Validating libcap2-bin
I: Retrieving libestr0
I: Validating libestr0
I: Retrieving libffi6
I: Validating libffi6
I: Retrieving libgcrypt20
I: Validating libgcrypt20
I: Retrieving libgpg-error0
I: Validating libgpg-error0
I: Retrieving libidn11
I: Validating libidn11
I: Retrieving liblocale-gettext-perl
I: Validating liblocale-gettext-perl
I: Retrieving liblogging-stdlog0
I: Validating liblogging-stdlog0
I: Retrieving liblognorm1
I: Validating liblognorm1
I: Retrieving libmnl0
I: Validating libmnl0
I: Retrieving libnetfilter-acct1
I: Validating libnetfilter-acct1
I: Retrieving libnfnetlink0
I: Validating libnfnetlink0
I: Retrieving libpipeline1
I: Validating libpipeline1
I: Retrieving libpsl0
I: Validating libpsl0
I: Retrieving libselinux1
I: Validating libselinux1
I: Retrieving libsemanage-common
I: Validating libsemanage-common
I: Retrieving libsemanage1
I: Validating libsemanage1
I: Retrieving libsepol1
I: Validating libsepol1
I: Retrieving libsigc++-2.0-0c2a
I: Validating libsigc++-2.0-0c2a
I: Retrieving libtasn1-6
I: Validating libtasn1-6
I: Retrieving libtext-charwidth-perl
I: Validating libtext-charwidth-perl
I: Retrieving libtext-iconv-perl
I: Validating libtext-iconv-perl
I: Retrieving libtext-wrapi18n-perl
I: Validating libtext-wrapi18n-perl
I: Retrieving libusb-0.1-4
I: Validating libusb-0.1-4
I: Retrieving logrotate
I: Validating logrotate
I: Retrieving lsb-base
I: Validating lsb-base
I: Retrieving dmsetup
I: Validating dmsetup
I: Retrieving libdevmapper1.02.1
I: Validating libdevmapper1.02.1
I: Retrieving man-db
I: Validating man-db
I: Retrieving manpages
I: Validating manpages
I: Retrieving mawk
I: Validating mawk
I: Retrieving nano
I: Validating nano
I: Retrieving libncurses5
I: Validating libncurses5
I: Retrieving libncursesw5
I: Validating libncursesw5
I: Retrieving libtinfo5
I: Validating libtinfo5
I: Retrieving ncurses-base
I: Validating ncurses-base
I: Retrieving ncurses-bin
I: Validating ncurses-bin
I: Retrieving net-tools
I: Validating net-tools
I: Retrieving netbase
I: Validating netbase
I: Retrieving netcat-traditional
I: Validating netcat-traditional
I: Retrieving libhogweed2
I: Validating libhogweed2
I: Retrieving libnettle4
I: Validating libnettle4
I: Retrieving libnewt0.52
I: Validating libnewt0.52
I: Retrieving whiptail
I: Validating whiptail
I: Retrieving nfacct
I: Validating nfacct
I: Retrieving libssl1.0.0
I: Validating libssl1.0.0
I: Retrieving libp11-kit0
I: Validating libp11-kit0
I: Retrieving libpam-modules
I: Validating libpam-modules
I: Retrieving libpam-modules-bin
I: Validating libpam-modules-bin
I: Retrieving libpam-runtime
I: Validating libpam-runtime
I: Retrieving libpam0g
I: Validating libpam0g
I: Retrieving libpcre3
I: Validating libpcre3
I: Retrieving perl-base
I: Validating perl-base
I: Retrieving libpopt0
I: Validating libpopt0
I: Retrieving libprocps3
I: Validating libprocps3
I: Retrieving procps
I: Validating procps
I: Retrieving libreadline6
I: Validating libreadline6
I: Retrieving readline-common
I: Validating readline-common
I: Retrieving rsyslog
I: Validating rsyslog
I: Retrieving sed
I: Validating sed
I: Retrieving sensible-utils
I: Validating sensible-utils
I: Retrieving login
I: Validating login
I: Retrieving passwd
I: Validating passwd
I: Retrieving libslang2
I: Validating libslang2
I: Retrieving startpar
I: Validating startpar
I: Retrieving libsystemd0
I: Validating libsystemd0
I: Retrieving libudev1
I: Validating libudev1
I: Retrieving systemd
I: Validating systemd
I: Retrieving systemd-sysv
I: Validating systemd-sysv
I: Retrieving udev
I: Validating udev
I: Retrieving initscripts
I: Validating initscripts
I: Retrieving sysv-rc
I: Validating sysv-rc
I: Retrieving sysvinit-utils
I: Validating sysvinit-utils
I: Retrieving tar
I: Validating tar
I: Retrieving tasksel
I: Validating tasksel
I: Retrieving tasksel-data
I: Validating tasksel-data
I: Retrieving traceroute
I: Validating traceroute
I: Retrieving tzdata
I: Validating tzdata
I: Retrieving libustr-1.0-1
I: Validating libustr-1.0-1
I: Retrieving bsdutils
I: Validating bsdutils
I: Retrieving libblkid1
I: Validating libblkid1
I: Retrieving libmount1
I: Validating libmount1
I: Retrieving libsmartcols1
I: Validating libsmartcols1
I: Retrieving libuuid1
I: Validating libuuid1
I: Retrieving mount
I: Validating mount
I: Retrieving util-linux
I: Validating util-linux
I: Retrieving vim-common
I: Validating vim-common
I: Retrieving vim-tiny
I: Validating vim-tiny
I: Retrieving wget
I: Validating wget
I: Retrieving liblzma5
I: Validating liblzma5
I: Retrieving zlib1g
I: Validating zlib1g
I: Chosen extractor for .deb packages: dpkg-deb
I: Extracting acl...
I: Extracting libacl1...
I: Extracting adduser...
I: Extracting libattr1...
I: Extracting libaudit-common...
I: Extracting libaudit1...
I: Extracting base-files...
I: Extracting base-passwd...
I: Extracting bash...
I: Extracting libbz2-1.0...
I: Extracting libdebconfclient0...
I: Extracting coreutils...
I: Extracting libcryptsetup4...
I: Extracting dash...
I: Extracting libdb5.3...
I: Extracting debconf...
I: Extracting debconf-i18n...
I: Extracting debianutils...
I: Extracting diffutils...
I: Extracting dpkg...
I: Extracting e2fslibs...
I: Extracting e2fsprogs...
I: Extracting libcomerr2...
I: Extracting libss2...
I: Extracting findutils...
I: Extracting gcc-4.8-base...
I: Extracting gcc-4.9-base...
I: Extracting libgcc1...
I: Extracting libc-bin...
I: Extracting libc6...
I: Extracting multiarch-support...
I: Extracting grep...
I: Extracting gzip...
I: Extracting hostname...
I: Extracting init...
I: Extracting insserv...
I: Extracting libkmod2...
I: Extracting libcap2...
I: Extracting libcap2-bin...
I: Extracting libgcrypt20...
I: Extracting libgpg-error0...
I: Extracting liblocale-gettext-perl...
I: Extracting libselinux1...
I: Extracting libsemanage-common...
I: Extracting libsemanage1...
I: Extracting libsepol1...
I: Extracting libtext-charwidth-perl...
I: Extracting libtext-iconv-perl...
I: Extracting libtext-wrapi18n-perl...
I: Extracting lsb-base...
I: Extracting dmsetup...
I: Extracting libdevmapper1.02.1...
I: Extracting mawk...
I: Extracting libncurses5...
I: Extracting libncursesw5...
I: Extracting libtinfo5...
I: Extracting ncurses-base...
I: Extracting ncurses-bin...
I: Extracting libpam-modules...
I: Extracting libpam-modules-bin...
I: Extracting libpam-runtime...
I: Extracting libpam0g...
I: Extracting libpcre3...
I: Extracting perl-base...
I: Extracting libprocps3...
I: Extracting procps...
I: Extracting sed...
I: Extracting sensible-utils...
I: Extracting login...
I: Extracting passwd...
I: Extracting libslang2...
I: Extracting startpar...
I: Extracting libsystemd0...
I: Extracting libudev1...
I: Extracting systemd...
I: Extracting systemd-sysv...
I: Extracting udev...
I: Extracting initscripts...
I: Extracting sysv-rc...
I: Extracting sysvinit-utils...
I: Extracting tar...
I: Extracting tzdata...
I: Extracting libustr-1.0-1...
I: Extracting bsdutils...
I: Extracting libblkid1...
I: Extracting libmount1...
I: Extracting libsmartcols1...
I: Extracting libuuid1...
I: Extracting mount...
I: Extracting util-linux...
I: Extracting liblzma5...
I: Extracting zlib1g...
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking acl...
I: Unpacking libacl1:i386...
I: Unpacking adduser...
I: Unpacking libattr1:i386...
I: Unpacking libaudit-common...
I: Unpacking libaudit1:i386...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking libbz2-1.0:i386...
I: Unpacking libdebconfclient0:i386...
I: Unpacking coreutils...
I: Unpacking libcryptsetup4:i386...
I: Unpacking dash...
I: Unpacking libdb5.3:i386...
I: Unpacking debconf...
I: Unpacking debconf-i18n...
I: Unpacking debianutils...
I: Unpacking diffutils...
I: Unpacking dpkg...
I: Unpacking e2fslibs:i386...
I: Unpacking e2fsprogs...
I: Unpacking libcomerr2:i386...
I: Unpacking libss2:i386...
I: Unpacking findutils...
I: Unpacking gcc-4.8-base:i386...
I: Unpacking gcc-4.9-base:i386...
I: Unpacking libgcc1:i386...
I: Unpacking libc-bin...
I: Unpacking libc6:i386...
I: Unpacking multiarch-support...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
I: Unpacking init...
I: Unpacking insserv...
I: Unpacking libkmod2:i386...
I: Unpacking libcap2:i386...
I: Unpacking libcap2-bin...
I: Unpacking libgcrypt20:i386...
I: Unpacking libgpg-error0:i386...
I: Unpacking liblocale-gettext-perl...
I: Unpacking libselinux1:i386...
I: Unpacking libsemanage-common...
I: Unpacking libsemanage1:i386...
I: Unpacking libsepol1:i386...
I: Unpacking libtext-charwidth-perl...
I: Unpacking libtext-iconv-perl...
I: Unpacking libtext-wrapi18n-perl...
I: Unpacking lsb-base...
I: Unpacking dmsetup...
I: Unpacking libdevmapper1.02.1:i386...
I: Unpacking mawk...
I: Unpacking libncurses5:i386...
I: Unpacking libncursesw5:i386...
I: Unpacking libtinfo5:i386...
I: Unpacking ncurses-base...
I: Unpacking ncurses-bin...
I: Unpacking libpam-modules:i386...
I: Unpacking libpam-modules-bin...
I: Unpacking libpam-runtime...
I: Unpacking libpam0g:i386...
I: Unpacking libpcre3:i386...
I: Unpacking perl-base...
I: Unpacking libprocps3:i386...
I: Unpacking procps...
I: Unpacking sed...
I: Unpacking sensible-utils...
I: Unpacking login...
I: Unpacking passwd...
I: Unpacking libslang2:i386...
I: Unpacking startpar...
I: Unpacking libsystemd0:i386...
I: Unpacking libudev1:i386...
I: Unpacking systemd...
I: Unpacking systemd-sysv...
I: Unpacking udev...
I: Unpacking initscripts...
I: Unpacking sysv-rc...
I: Unpacking sysvinit-utils...
I: Unpacking tar...
I: Unpacking tzdata...
I: Unpacking libustr-1.0-1:i386...
I: Unpacking bsdutils...
I: Unpacking libblkid1:i386...
I: Unpacking libmount1:i386...
I: Unpacking libsmartcols1:i386...
I: Unpacking libuuid1:i386...
I: Unpacking mount...
I: Unpacking util-linux...
I: Unpacking liblzma5:i386...
I: Unpacking zlib1g:i386...
I: Configuring required packages...
I: Configuring gcc-4.8-base:i386...
I: Configuring lsb-base...
I: Configuring sensible-utils...
I: Configuring ncurses-base...
I: Configuring libsemanage-common...
I: Configuring gcc-4.9-base:i386...
I: Configuring libaudit-common...
I: Configuring libc6:i386...
I: Configuring startpar...
I: Configuring diffutils...
I: Configuring insserv...
I: Configuring findutils...
I: Configuring debianutils...
I: Configuring hostname...
I: Configuring multiarch-support...
I: Configuring mawk...
I: Configuring libprocps3:i386...
I: Configuring libpcre3:i386...
I: Configuring libbz2-1.0:i386...
I: Configuring libkmod2:i386...
I: Configuring libgpg-error0:i386...
I: Configuring base-files...
I: Configuring libdebconfclient0:i386...
I: Configuring libselinux1:i386...
I: Configuring libcomerr2:i386...
I: Configuring libslang2:i386...
I: Configuring libsepol1:i386...
I: Configuring libgcc1:i386...
I: Configuring libustr-1.0-1:i386...
I: Configuring libsmartcols1:i386...
I: Configuring libaudit1:i386...
I: Configuring libtinfo5:i386...
I: Configuring libudev1:i386...
I: Configuring libattr1:i386...
I: Configuring libss2:i386...
I: Configuring liblzma5:i386...
I: Configuring base-passwd...
I: Configuring e2fslibs:i386...
I: Configuring libgcrypt20:i386...
I: Configuring libncursesw5:i386...
I: Configuring libuuid1:i386...
I: Configuring libdb5.3:i386...
I: Configuring zlib1g:i386...
I: Configuring libcap2:i386...
I: Configuring libsystemd0:i386...
I: Configuring libdevmapper1.02.1:i386...
I: Configuring libblkid1:i386...
I: Configuring libc-bin...
I: Configuring libsemanage1:i386...
I: Configuring sysvinit-utils...
I: Configuring libmount1:i386...
I: Configuring libacl1:i386...
I: Configuring ncurses-bin...
I: Configuring acl...
I: Configuring libcryptsetup4:i386...
I: Configuring libncurses5:i386...
I: Configuring libcap2-bin...
I: Configuring bsdutils...
I: Configuring mount...
I: Configuring coreutils...
I: Configuring tar...
I: Configuring dpkg...
I: Configuring sed...
I: Configuring perl-base...
I: Configuring grep...
I: Configuring debconf...
I: Configuring tzdata...
I: Configuring gzip...
I: Configuring dash...
I: Configuring libtext-iconv-perl...
I: Configuring sysv-rc...
I: Configuring liblocale-gettext-perl...
I: Configuring libtext-charwidth-perl...
I: Configuring libpam0g:i386...
I: Configuring initscripts...
I: Configuring util-linux...
I: Configuring libpam-modules-bin...
I: Configuring bash...
I: Configuring e2fsprogs...
I: Configuring procps...
I: Configuring libtext-wrapi18n-perl...
I: Configuring dmsetup...
I: Configuring libpam-modules:i386...
I: Configuring libpam-runtime...
I: Configuring debconf-i18n...
I: Configuring passwd...
I: Configuring login...
I: Configuring adduser...
I: Configuring udev...
I: Configuring systemd...
I: Configuring systemd-sysv...
I: Configuring init...
I: Configuring libc-bin...
I: Unpacking the base system...
I: Unpacking apt...
I: Unpacking apt-utils...
I: Unpacking libapt-inst1.5:i386...
I: Unpacking libapt-pkg4.12:i386...
I: Unpacking libdns-export100...
I: Unpacking libirs-export91...
I: Unpacking libisc-export95...
I: Unpacking libisccfg-export90...
I: Unpacking libboost-iostreams1.55.0:i386...
I: Unpacking bsdmainutils...
I: Unpacking cpio...
I: Unpacking cron...
I: Unpacking debian-archive-keyring...
I: Unpacking dmidecode...
I: Unpacking libstdc++6:i386...
I: Unpacking libgdbm3:i386...
I: Unpacking libgmp10:i386...
I: Unpacking gnupg...
I: Unpacking gpgv...
I: Unpacking libgnutls-deb0-28:i386...
I: Unpacking libgnutls-openssl27:i386...
I: Unpacking groff-base...
I: Unpacking libicu52:i386...
I: Unpacking ifupdown...
I: Unpacking init-system-helpers...
I: Unpacking iproute2...
I: Unpacking iptables...
I: Unpacking libxtables10...
I: Unpacking iputils-ping...
I: Unpacking isc-dhcp-client...
I: Unpacking isc-dhcp-common...
I: Unpacking libjson-c2:i386...
I: Unpacking kmod...
I: Unpacking less...
I: Unpacking libestr0...
I: Unpacking libffi6:i386...
I: Unpacking libidn11:i386...
I: Unpacking liblogging-stdlog0:i386...
I: Unpacking liblognorm1:i386...
I: Unpacking libmnl0:i386...
I: Unpacking libnetfilter-acct1:i386...
I: Unpacking libnfnetlink0:i386...
I: Unpacking libpipeline1:i386...
I: Unpacking libpsl0:i386...
I: Unpacking libsigc++-2.0-0c2a:i386...
I: Unpacking libtasn1-6:i386...
I: Unpacking libusb-0.1-4:i386...
I: Unpacking logrotate...
I: Unpacking man-db...
I: Unpacking manpages...
I: Unpacking nano...
I: Unpacking net-tools...
I: Unpacking netbase...
I: Unpacking netcat-traditional...
I: Unpacking libhogweed2:i386...
I: Unpacking libnettle4:i386...
I: Unpacking libnewt0.52:i386...
I: Unpacking whiptail...
I: Unpacking nfacct...
I: Unpacking libssl1.0.0:i386...
I: Unpacking libp11-kit0:i386...
I: Unpacking libpopt0:i386...
I: Unpacking libreadline6:i386...
I: Unpacking readline-common...
I: Unpacking rsyslog...
I: Unpacking tasksel...
I: Unpacking tasksel-data...
I: Unpacking traceroute...
I: Unpacking vim-common...
I: Unpacking vim-tiny...
I: Unpacking wget...
I: Configuring the base system...
I: Configuring readline-common...
I: Configuring libgdbm3:i386...
I: Configuring manpages...
I: Configuring libxtables10...
I: Configuring cpio...
I: Configuring libpopt0:i386...
I: Configuring kmod...
I: Configuring libestr0...
I: Configuring less...
I: Configuring libssl1.0.0:i386...
I: Configuring dmidecode...
I: Configuring gpgv...
I: Configuring liblogging-stdlog0:i386...
I: Configuring netcat-traditional...
I: Configuring libpipeline1:i386...
I: Configuring iproute2...
I: Configuring libtasn1-6:i386...
I: Configuring nano...
I: Configuring libgmp10:i386...
I: Configuring libisc-export95...
I: Configuring init-system-helpers...
I: Configuring libnettle4:i386...
I: Configuring debian-archive-keyring...
I: Configuring vim-common...
I: Configuring libnfnetlink0:i386...
I: Configuring libstdc++6:i386...
I: Configuring libffi6:i386...
I: Configuring libnewt0.52:i386...
I: Configuring bsdmainutils...
I: Configuring net-tools...
I: Configuring cron...
I: Configuring libmnl0:i386...
I: Configuring libapt-pkg4.12:i386...
I: Configuring libusb-0.1-4:i386...
I: Configuring traceroute...
I: Configuring logrotate...
I: Configuring libidn11:i386...
I: Configuring libreadline6:i386...
I: Configuring libjson-c2:i386...
I: Configuring libicu52:i386...
I: Configuring netbase...
I: Configuring vim-tiny...
I: Configuring libhogweed2:i386...
I: Configuring ifupdown...
I: Configuring libisccfg-export90...
I: Configuring libsigc++-2.0-0c2a:i386...
I: Configuring groff-base...
I: Configuring liblognorm1:i386...
I: Configuring whiptail...
I: Configuring gnupg...
I: Configuring libpsl0:i386...
I: Configuring libboost-iostreams1.55.0:i386...
I: Configuring libdns-export100...
I: Configuring iptables...
I: Configuring libapt-inst1.5:i386...
I: Configuring libp11-kit0:i386...
I: Configuring libgnutls-deb0-28:i386...
I: Configuring wget...
I: Configuring apt...
I: Configuring man-db...
I: Configuring libnetfilter-acct1:i386...
I: Configuring rsyslog...
I: Configuring nfacct...
I: Configuring apt-utils...
I: Configuring libirs-export91...
I: Configuring libgnutls-openssl27:i386...
I: Configuring iputils-ping...
I: Configuring isc-dhcp-common...
I: Configuring isc-dhcp-client...
I: Configuring tasksel...
I: Configuring tasksel-data...
I: Configuring libc-bin...
I: Base system installed successfully.
+ RC=0
+ '[' 0 -ne 0 ']'
+ eend 0
+ trap error_handler ERR
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ stage debootstrap_system done
+ trap error_handler ERR
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_test.raw/debootstrap_system
+ for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
+ stage preparechroot
+ trap error_handler ERR
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_test.raw/preparechroot
+ preparechroot
+ trap error_handler ERR
+ einfo 'Preparing chroot system'
+ trap error_handler ERR
+ einfon 'Preparing chroot system\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Preparing chroot system\n'
 * Preparing chroot system
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ CHROOT_VARIABLES=/var/cache/grml-debootstrap/variables_test.raw
+ touch /var/cache/grml-debootstrap/variables_test.raw
+ chmod 600 /var/cache/grml-debootstrap/variables_test.raw
+ echo '# Configuration of grml-debootstrap'
+ '[' -n i386 ']'
+ echo 'ARCH="i386"'
+ '[' -n '' ']'
+ '[' -n yes ']'
+ echo 'CHROOT_SCRIPTS="yes"'
+ '[' -n /etc/debootstrap ']'
+ echo 'CONFFILES="/etc/debootstrap"'
+ '[' -n yes ']'
+ echo 'DEBCONF="yes"'
+ '[' -n noninteractive ']'
+ echo 'DEBIAN_FRONTEND="noninteractive"'
+ '[' -n debootstrap ']'
+ echo 'DEBOOTSTRAP="debootstrap"'
+ '[' -n en_US.UTF-8 ']'
+ echo 'DEFAULT_LOCALES="en_US.UTF-8"'
+ '[' -n en_US:en ']'
+ echo 'DEFAULT_LANGUAGE="en_US:en"'
+ '[' -n yes ']'
+ echo 'EXTRAPACKAGES="yes"'
+ '[' -n http://http.debian.net/debian ']'
+ echo 'FALLBACK_MIRROR="http://http.debian.net/debian"'
+ '[' -n T ']'
+ echo 'FORCE="T"'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n host ']'
+ echo 'HOSTNAME="host"'
+ '[' -n yes ']'
+ echo 'INITRD="yes"'
+ '[' -n /etc/debootstrap/install_notes ']'
+ echo 'INSTALL_NOTES="/etc/debootstrap/install_notes"'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n yes ']'
+ echo 'KEEP_SRC_LIST="yes"'
+ '[' -n yes ']'
+ echo 'LOCALES="yes"'
+ '[' -n http://ftp.us.debian.org/debian ']'
+ echo 'MIRROR="http://ftp.us.debian.org/debian"'
+ '[' -n mkfs.ext4 ']'
+ echo 'MKFS="mkfs.ext4"'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n yes ']'
+ echo 'PRE_SCRIPTS="yes"'
+ '[' -n console-data ']'
+ echo 'RECONFIGURE="console-data"'
+ '[' -n jessie ']'
+ echo 'RELEASE="jessie"'
+ '[' -n yes ']'
+ echo 'RM_APTCACHE="yes"'
+ '[' -n changeme ']'
+ echo 'ROOTPASSWORD="changeme"'
+ '[' -n yes ']'
+ echo 'SCRIPTS="yes"'
+ '[' -n yes ']'
+ echo 'SECURE="yes"'
+ '[' -n '' ']'
+ '[' -n /dev/mapper/loop2p1 ']'
+ echo 'TARGET="/dev/mapper/loop2p1"'
+ '[' -n yes ']'
+ echo 'UPGRADE_SYSTEM="yes"'
+ '[' -n 641db42e-4a84-42eb-9df2-432a29f87a52 ']'
+ echo 'TARGET_UUID="641db42e-4a84-42eb-9df2-432a29f87a52"'
+ '[' -n Europe/Vienna ']'
+ echo 'TIMEZONE="Europe/Vienna"'
+ '[' -n 'tune2fs -c0 -i0' ']'
+ echo 'TUNE2FS="tune2fs -c0 -i0"'
+ '[' -n 2G ']'
+ echo 'VMSIZE="2G"'
+ '[' -n no ']'
+ echo 'REPORT_TRAP_ERR="no"'
+ '[' -n no ']'
+ echo 'FAIL_TRAP_ERR="no"'
+ cp -v /etc/debootstrap/chroot-script /mnt/debootstrap.20268/bin/chroot-script
`/etc/debootstrap/chroot-script' -> `/mnt/debootstrap.20268/bin/chroot-script'
+ chmod 755 /mnt/debootstrap.20268/bin/chroot-script
+ '[' -d /mnt/debootstrap.20268/etc/debootstrap/ ']'
+ mkdir /mnt/debootstrap.20268/etc/debootstrap/
+ cp -v /etc/debootstrap/config /mnt/debootstrap.20268/etc/debootstrap/
`/etc/debootstrap/config' -> `/mnt/debootstrap.20268/etc/debootstrap/config'
+ sed -i 's#RELEASE=.*#RELEASE="jessie"#' /mnt/debootstrap.20268/etc/debootstrap/config
+ sed -i 's#TARGET=.*#TARGET="/dev/mapper/loop2p1"#' /mnt/debootstrap.20268/etc/debootstrap/config
+ sed -i 's#GRUB=.*#GRUB=""#' /mnt/debootstrap.20268/etc/debootstrap/config
+ '[' -n /etc/debootstrap/install_notes ']'
+ '[' -r /etc/debootstrap/install_notes ']'
+ cp -v /etc/debootstrap/packages /mnt/debootstrap.20268/etc/debootstrap/packages
`/etc/debootstrap/packages' -> `/mnt/debootstrap.20268/etc/debootstrap/packages'
+ _opt_debconf=/etc/debootstrap/debconf-selections
+ '[' -f /etc/debootstrap/debconf-selections -a yes = yes ']'
+ _opt_chroot_scripts=/etc/debootstrap/chroot-scripts/
+ '[' -d /etc/debootstrap/chroot-scripts/ -a yes = yes ']'
+ cp -v /var/cache/grml-debootstrap/variables_test.raw /mnt/debootstrap.20268/etc/debootstrap/variables
`/var/cache/grml-debootstrap/variables_test.raw' -> `/mnt/debootstrap.20268/etc/debootstrap/variables'
+ cp -v -a -L /etc/debootstrap/extrapackages/ /mnt/debootstrap.20268/etc/debootstrap/
`/etc/debootstrap/extrapackages/' -> `/mnt/debootstrap.20268/etc/debootstrap/extrapackages'
+ '[' -f /mnt/debootstrap.20268/etc/resolv.conf ']'
+ '[' -f /mnt/debootstrap.20268/etc/hosts ']'
+ '[' -n yes ']'
+ cp -v /etc/debootstrap/locale.gen /mnt/debootstrap.20268/etc/locale.gen
`/etc/debootstrap/locale.gen' -> `/mnt/debootstrap.20268/etc/locale.gen'
+ cd /mnt/debootstrap.20268/dev
+ tar zxf /etc/debootstrap/devices.tar.gz
+ '[' -d /etc/debootstrap/bin ']'
+ '[' -d /etc/debootstrap/boot ']'
+ '[' -d /etc/debootstrap/etc ']'
+ cp -v -a -L /etc/debootstrap/etc/apt /mnt/debootstrap.20268/etc/
`/etc/debootstrap/etc/apt/sources.list' -> `/mnt/debootstrap.20268/etc/apt/sources.list'
+ '[' -d /etc/debootstrap/sbin ']'
+ '[' -d /etc/debootstrap/share ']'
+ '[' -d /etc/debootstrap/usr ']'
+ '[' -d /etc/debootstrap/var ']'
+ DEFAULT_INTERFACES='# /etc/network/interfaces - generated by grml-debootstrap

# Include files from /etc/network/interfaces.d when using
# ifupdown v0.7.44 or newer:
#source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp
'
+ '[' -n '' ']'
+ '[' -n '# /etc/network/interfaces - generated by grml-debootstrap

# Include files from /etc/network/interfaces.d when using
# ifupdown v0.7.44 or newer:
#source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp
' ']'
+ einfo 'Installing default /etc/network/interfaces as requested via --defaultinterfaces options.'
+ trap error_handler ERR
+ einfon 'Installing default /etc/network/interfaces as requested via --defaultinterfaces options.\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Installing default /etc/network/interfaces as requested via --defaultinterfaces options.\n'
 * Installing default /etc/network/interfaces as requested via --defaultinterfaces options.
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ echo '# /etc/network/interfaces - generated by grml-debootstrap

# Include files from /etc/network/interfaces.d when using
# ifupdown v0.7.44 or newer:
#source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp
'
+ eend 0
+ trap error_handler ERR
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ '[' -r /etc/network/interfaces.examples -a '!' -r /mnt/debootstrap.20268/etc/network/interfaces.examples ']'
+ eend 0
+ trap error_handler ERR
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ stage preparechroot done
+ trap error_handler ERR
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_test.raw/preparechroot
+ for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
+ stage execute_pre_scripts
+ trap error_handler ERR
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_test.raw/execute_pre_scripts
+ execute_pre_scripts
+ trap error_handler ERR
+ export MNTPOINT
+ '[' -d '' ']'
+ '[' yes = yes ']'
+ '[' -d '' ']'
+ pre_scripts=/etc/debootstrap/pre-scripts/
+ for script in '${pre_scripts}/*'
+ '[' -x '/etc/debootstrap/pre-scripts//*' ']'
+ stage execute_pre_scripts done
+ trap error_handler ERR
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_test.raw/execute_pre_scripts
+ for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
+ stage chrootscript
+ trap error_handler ERR
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_test.raw/chrootscript
+ chrootscript
+ trap error_handler ERR
+ '[' -r /mnt/debootstrap.20268/bin/chroot-script ']'
+ '[' -x /mnt/debootstrap.20268/bin/chroot-script ']'
+ einfo 'Executing chroot-script now'
+ trap error_handler ERR
+ einfon 'Executing chroot-script now\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Executing chroot-script now\n'
 * Executing chroot-script now
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ mount --bind /dev /mnt/debootstrap.20268/dev
+ '[' true = true ']'
+ chroot /mnt/debootstrap.20268 /bin/bash -x /bin/chroot-script
+ . /etc/debootstrap/config
+ . /etc/debootstrap/variables
++ ARCH=i386
++ CHROOT_SCRIPTS=yes
++ CONFFILES=/etc/debootstrap
++ DEBCONF=yes
++ DEBIAN_FRONTEND=noninteractive
++ DEBOOTSTRAP=debootstrap
++ DEFAULT_LOCALES=en_US.UTF-8
++ DEFAULT_LANGUAGE=en_US:en
++ EXTRAPACKAGES=yes
++ FALLBACK_MIRROR=http://http.debian.net/debian
++ FORCE=T
++ HOSTNAME=host
++ INITRD=yes
++ INSTALL_NOTES=/etc/debootstrap/install_notes
++ KEEP_SRC_LIST=yes
++ LOCALES=yes
++ MIRROR=http://ftp.us.debian.org/debian
++ MKFS=mkfs.ext4
++ PRE_SCRIPTS=yes
++ RECONFIGURE=console-data
++ RELEASE=jessie
++ RM_APTCACHE=yes
++ ROOTPASSWORD=changeme
++ SCRIPTS=yes
++ SECURE=yes
++ TARGET=/dev/mapper/loop2p1
++ UPGRADE_SYSTEM=yes
++ TARGET_UUID=641db42e-4a84-42eb-9df2-432a29f87a52
++ TIMEZONE=Europe/Vienna
++ TUNE2FS='tune2fs -c0 -i0'
++ VMSIZE=2G
++ REPORT_TRAP_ERR=no
++ FAIL_TRAP_ERR=no
+ '[' -r /proc/1 ']'
+ mount -t proc none /proc
+ '[' -x /usr/bin/aptitude ']'
+ APTINSTALL='apt-get --force-yes -y --no-install-recommends install '
+ APTUPDATE='apt-get update '
+ APTUPGRADE='apt-get --force-yes -y upgrade '
+ '[' -z '' ']'
+ STAGES=/etc/debootstrap/stages
+ '[' -d /etc/debootstrap/stages ']'
+ mkdir -p /etc/debootstrap/stages
+ trap signal_handler HUP INT QUIT TERM
+ install_policy_rcd
+ '[' -r /usr/sbin/policy-rc.d ']'
+ export POLICYRCD=1
+ POLICYRCD=1
+ cat
+ chmod 775 /usr/sbin/policy-rc.d
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage chrootmirror
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/chrootmirror
+ echo '   Executing stage chrootmirror'
   Executing stage chrootmirror
+ return 0
+ chrootmirror
+ '[' -n yes ']'
+ echo 'KEEP_SRC_LIST has been set, skipping chrootmirror stage.'
KEEP_SRC_LIST has been set, skipping chrootmirror stage.
+ return
+ stage chrootmirror done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage grmlrepos
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/grmlrepos
+ echo '   Executing stage grmlrepos'
   Executing stage grmlrepos
+ return 0
+ grmlrepos
+ '[' -n '' ']'
+ stage grmlrepos done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage backportrepos
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/backportrepos
+ echo '   Executing stage backportrepos'
   Executing stage backportrepos
+ return 0
+ backportrepos
+ '[' -n '' ']'
+ stage backportrepos done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage kernelimg_conf
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/kernelimg_conf
+ echo '   Executing stage kernelimg_conf'
   Executing stage kernelimg_conf
+ return 0
+ kernelimg_conf
+ '[' -r /etc/kernel-img.conf ']'
+ echo 'Setting up /etc/kernel-img.conf'
Setting up /etc/kernel-img.conf
+ cat
+ stage kernelimg_conf done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage kernel
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/kernel
+ echo '   Executing stage kernel'
   Executing stage kernel
+ return 0
+ kernel
+ '[' -n '' ']'
+ apt-get update
Get:1 http://snapshot.debian.org wheezy/updates InRelease [103 kB]
E: Release file for http://snapshot.debian.org/archive/debian-security/20141107T214701Z/dists/wheezy/updates/InRelease is expired (invalid since 27d 3h 51min 37s). Updates for this repository will not be applied.
++ get_kernel_version
++ '[' -n '' ']'
++ local KARCH
++ case "$ARCH" in
++ case "$RELEASE" in
++ KARCH=686-pae
++ for KPREFIX in '""' '"2.6-"'
++ package_exists linux-image-686-pae
+++ apt-cache show linux-image-686-pae
++ output=
++ '[' -n '' ']'
++ return 1
++ for KPREFIX in '""' '"2.6-"'
++ package_exists linux-image-2.6-686-pae
+++ apt-cache show linux-image-2.6-686-pae
++ output=
++ '[' -n '' ']'
++ return 1
+ KVER=
+ '[' -n '' ']'
+ echo 'Warning: Could not find a kernel for your system. Your system won'\''t be able to boot itself!'
Warning: Could not find a kernel for your system. Your system won't be able to boot itself!
+ stage kernel done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage packages
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/packages
+ echo '   Executing stage packages'
   Executing stage packages
+ return 0
+ packages
+ '[' -f /etc/debootstrap/debconf-selections ']'
+ '[' '' = yes ']'
+ stage packages done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage extrapackages
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/extrapackages
+ echo '   Executing stage extrapackages'
   Executing stage extrapackages
+ return 0
+ extrapackages
+ '[' yes = yes ']'
++ find /etc/debootstrap/extrapackages -type f -name '*.deb'
+ PACKAGELIST=
+ '[' -n '' ']'
+ stage extrapackages done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage reconfigure
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/reconfigure
+ echo '   Executing stage reconfigure'
   Executing stage reconfigure
+ return 0
+ reconfigure
+ '[' -n console-data ']'
+ for package in '$RECONFIGURE'
+ grep -q '^ii'
+ dpkg --list console-data
+ stage reconfigure done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage hosts
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/hosts
+ echo '   Executing stage hosts'
   Executing stage hosts
+ return 0
+ hosts
+ '[' -f /etc/hosts ']'
+ sed -i 's#127.0.0.1 .*#127.0.0.1       localhost  host#' /etc/hosts
+ '[' -n host ']'
+ sed -i s/grml/host/g /etc/hosts
+ stage hosts done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage default_locales
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/default_locales
+ echo '   Executing stage default_locales'
   Executing stage default_locales
+ return 0
+ default_locales
+ '[' -n en_US.UTF-8 ']'
+ '[' -x /usr/sbin/update-locale ']'
+ echo 'Warning: update-locale executable not available (no locales package installed?)'
Warning: update-locale executable not available (no locales package installed?)
+ echo 'Ignoring request to run update-locale for en_US.UTF-8 therefore'
Ignoring request to run update-locale for en_US.UTF-8 therefore
+ return 0
+ stage default_locales done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage timezone
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/timezone
+ echo '   Executing stage timezone'
   Executing stage timezone
+ return 0
+ timezone
+ '[' -n Europe/Vienna ']'
+ echo 'Adjusting /etc/localtime'
Adjusting /etc/localtime
+ ln -sf /usr/share/zoneinfo/Europe/Vienna /etc/localtime
+ stage timezone done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage fstab
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/fstab
+ echo '   Executing stage fstab'
   Executing stage fstab
+ return 0
+ fstab
+ '[' '!' -f /etc/fstab ']'
+ grep -q UNCONFIGURED /etc/fstab
+ createfstab
+ echo 'Setting up /etc/fstab'
Setting up /etc/fstab
+ '[' -n 641db42e-4a84-42eb-9df2-432a29f87a52 ']'
+ echo '/dev/disk/by-uuid/641db42e-4a84-42eb-9df2-432a29f87a52 /  auto    defaults,errors=remount-ro 0   1'
+ cat
+ stage fstab done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage hostname
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/hostname
+ echo '   Executing stage hostname'
   Executing stage hostname
+ return 0
+ hostname
+ '[' -n host ']'
+ echo 'Setting hostname to host.'
Setting hostname to host.
+ echo host
+ '[' -r /etc/postfix/main.cf ']'
+ '[' -r /etc/mailname ']'
+ stage hostname done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage initrd
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/initrd
+ echo '   Executing stage initrd'
   Executing stage initrd
+ return 0
+ initrd
++ head -1
++ ls -1 '/boot/vmlinuz-*'
+ KERNELIMG=
+ '[' -z '' ']'
+ echo 'No kernel image found, skipping initrd stuff.'
No kernel image found, skipping initrd stuff.
+ return
+ stage initrd done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage grub_install
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/grub_install
+ echo '   Executing stage grub_install'
   Executing stage grub_install
+ return 0
+ grub_install
+ '[' -z '' ']'
+ echo 'Notice: $GRUB not defined, will not install grub inside chroot at this stage.'
Notice: $GRUB not defined, will not install grub inside chroot at this stage.
+ return 0
+ stage grub_install done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage passwords
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/passwords
+ echo '   Executing stage passwords'
   Executing stage passwords
+ return 0
+ passwords
+ '[' -n '' ']'
+ echo 'Activating shadow passwords.'
Activating shadow passwords.
+ shadowconfig on
Shadow passwords are now on.
+ CHPASSWD_OPTION=
+ grep -q -- -m,
+ chpasswd --help
+ CHPASSWD_OPTION=-m
+ '[' -n changeme ']'
+ chpasswd -m
+ echo root:changeme
+ export ROOTPASSWORD=
+ ROOTPASSWORD=
+ stage passwords done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage custom_scripts
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/custom_scripts
+ echo '   Executing stage custom_scripts'
   Executing stage custom_scripts
+ return 0
+ custom_scripts
+ '[' -d /etc/debootstrap/chroot-scripts/ ']'
+ return 0
+ stage custom_scripts done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage upgrade_system
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/upgrade_system
+ echo '   Executing stage upgrade_system'
   Executing stage upgrade_system
+ return 0
+ upgrade_system
+ '[' yes = yes ']'
+ echo 'Running update + upgrade'
Running update + upgrade
+ apt-get update
Get:1 http://snapshot.debian.org wheezy/updates InRelease [103 kB]
E: Release file for http://snapshot.debian.org/archive/debian-security/20141107T214701Z/dists/wheezy/updates/InRelease is expired (invalid since 27d 3h 51min 37s). Updates for this repository will not be applied.
+ DEBIAN_FRONTEND=noninteractive
+ apt-get --force-yes -y upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ stage upgrade_system done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage remove_apt_cache
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/remove_apt_cache
+ echo '   Executing stage remove_apt_cache'
   Executing stage remove_apt_cache
+ return 0
+ remove_apt_cache
+ '[' yes = yes ']'
+ echo 'Cleaning apt cache.'
Cleaning apt cache.
+ apt-get clean
+ stage remove_apt_cache done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage services
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/services
+ echo '   Executing stage services'
   Executing stage services
+ return 0
+ services
+ for service in ssh mdadm mdadm-raid
+ '[' -x /etc/init.d/ssh ']'
+ for service in ssh mdadm mdadm-raid
+ '[' -x /etc/init.d/mdadm ']'
+ for service in ssh mdadm mdadm-raid
+ '[' -x /etc/init.d/mdadm-raid ']'
+ stage services done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage remove_chrootmirror
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/remove_chrootmirror
+ echo '   Executing stage remove_chrootmirror'
   Executing stage remove_chrootmirror
+ return 0
+ remove_chrootmirror
+ '[' -n yes ']'
+ echo 'KEEP_SRC_LIST has been set, skipping remove_chrootmirror stage.'
KEEP_SRC_LIST has been set, skipping remove_chrootmirror stage.
+ return
+ stage remove_chrootmirror done
+ '[' -n done ']'
+ echo done
+ return 0
+ finalize
+ rm -f /etc/debootstrap/variables
+ '[' -n 1 ']'
+ rm -f /usr/sbin/policy-rc.d
+ umount /proc
+ echo 'Finished chroot installation, exiting.'
Finished chroot installation, exiting.
+ exit 0
+ RC=0
+ umount /mnt/debootstrap.20268/dev
+ eend 0
+ trap error_handler ERR
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ grep -q GRML_CHROOT_SCRIPT_MARKER /mnt/debootstrap.20268/bin/chroot-script
+ einfo 'Removing chroot-script again'
+ trap error_handler ERR
+ einfon 'Removing chroot-script again\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Removing chroot-script again\n'
 * Removing chroot-script again
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ rm -f /mnt/debootstrap.20268/bin/chroot-script
+ eend 0
+ trap error_handler ERR
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ stage chrootscript done
+ trap error_handler ERR
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_test.raw/chrootscript
+ for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
+ stage execute_scripts
+ trap error_handler ERR
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_test.raw/execute_scripts
+ execute_scripts
+ trap error_handler ERR
+ export MNTPOINT
+ '[' -d '' ']'
+ '[' yes = yes ']'
+ '[' -d '' ']'
+ scripts=/etc/debootstrap/scripts/
+ for script in '${scripts}/*'
+ '[' -x '/etc/debootstrap/scripts//*' ']'
+ stage execute_scripts done
+ trap error_handler ERR
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_test.raw/execute_scripts
+ for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
+ stage umount_chroot
+ trap error_handler ERR
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_test.raw/umount_chroot
+ umount_chroot
+ trap error_handler ERR
+ '[' -n /etc/debootstrap/install_notes ']'
+ '[' -r /mnt/debootstrap.20268//etc/debootstrap/install_notes ']'
+ '[' -n '' ']'
+ grep -q /mnt/debootstrap.20268 /proc/mounts
+ '[' -n 1 ']'
+ einfo 'Unmount /mnt/debootstrap.20268'
+ trap error_handler ERR
+ einfon 'Unmount /mnt/debootstrap.20268\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Unmount /mnt/debootstrap.20268\n'
 * Unmount /mnt/debootstrap.20268
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ umount /mnt/debootstrap.20268
+ eend 0
+ trap error_handler ERR
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ stage umount_chroot done
+ trap error_handler ERR
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_test.raw/umount_chroot
+ for i in prepare_vm mkfs tunefs mount_target debootstrap_system preparechroot execute_pre_scripts chrootscript execute_scripts umount_chroot finalize_vm fscktool
+ stage finalize_vm
+ trap error_handler ERR
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_test.raw/finalize_vm
+ finalize_vm
+ trap error_handler ERR
+ '[' -z 1 ']'
+ mount /dev/mapper/loop2p1 /mnt/debootstrap.20268
+ einfo 'Installing Grub as bootloader.'
+ trap error_handler ERR
+ einfon 'Installing Grub as bootloader.\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Installing Grub as bootloader.\n'
 * Installing Grub as bootloader.
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ mount -t proc none /mnt/debootstrap.20268/proc
+ mount -t sysfs none /mnt/debootstrap.20268/sys
+ mount --bind /dev /mnt/debootstrap.20268/dev
+ mkdir -p /mnt/debootstrap.20268/boot/grub
+ '[' -d /mnt/debootstrap.20268/usr/lib/grub/i386-pc/ ']'
+ eerror 'Error: grub not installed inside Virtual Machine. Can not install bootloader.'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Error: grub not installed inside Virtual Machine. Can not install bootloader.\n'
 * Error: grub not installed inside Virtual Machine. Can not install bootloader.
+ LAST_E_CMD=eerror
+ return 0
+ eend 1
+ trap error_handler ERR
+ local retval=1
+ shift
+ '[' 1 -gt 0 ']'
+ printf ' -> Failed (rc=1)\n'
 -> Failed (rc=1)
+ return 1
+ bailout 1
+ trap error_handler ERR
+ cleanup
+ trap error_handler ERR
+ '[' -n /var/cache/grml-debootstrap/variables_test.raw ']'
+ einfo 'Removing /var/cache/grml-debootstrap/variables_test.raw'
+ trap error_handler ERR
+ einfon 'Removing /var/cache/grml-debootstrap/variables_test.raw\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' eerror = ebegin ']'
+ printf ' * Removing /var/cache/grml-debootstrap/variables_test.raw\n'
 * Removing /var/cache/grml-debootstrap/variables_test.raw
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ rm /var/cache/grml-debootstrap/variables_test.raw
+ eend 0
+ trap error_handler ERR
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ '[' -n /var/cache/grml-debootstrap/stages_test.raw ']'
+ einfo 'Removing /var/cache/grml-debootstrap/stages_test.raw'
+ trap error_handler ERR
+ einfon 'Removing /var/cache/grml-debootstrap/stages_test.raw\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Removing /var/cache/grml-debootstrap/stages_test.raw\n'
 * Removing /var/cache/grml-debootstrap/stages_test.raw
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ rmdir /var/cache/grml-debootstrap/stages_test.raw
+ eend 0
+ trap error_handler ERR
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ grep -q '/mnt/debootstrap\.'
+ echo /mnt/debootstrap.20268
+ rmdir /mnt/debootstrap.20268
+ '[' -n /mnt/debootstrap.20268 ']'
+ grep -q /mnt/debootstrap.20268 /proc/mounts
+ '[' -x /mnt/debootstrap.20268/etc/init.d/ssh ']'
+ '[' -x /mnt/debootstrap.20268/etc/init.d/mdadm ']'
+ '[' -x /mnt/debootstrap.20268/bin/umount ']'
+ chroot /mnt/debootstrap.20268 umount -a
+ for ARG in /sys /proc /proc /dev /dev
+ '[' -x /mnt/debootstrap.20268/bin/umount ']'
+ chroot /mnt/debootstrap.20268 umount /sys
+ umount /mnt/debootstrap.20268//sys
+ for ARG in /sys /proc /proc /dev /dev
+ '[' -x /mnt/debootstrap.20268/bin/umount ']'
+ chroot /mnt/debootstrap.20268 umount /proc
+ umount /mnt/debootstrap.20268//proc
+ for ARG in /sys /proc /proc /dev /dev
+ '[' -x /mnt/debootstrap.20268/bin/umount ']'
+ chroot /mnt/debootstrap.20268 umount /proc
+ umount /mnt/debootstrap.20268//proc
+ for ARG in /sys /proc /proc /dev /dev
+ '[' -x /mnt/debootstrap.20268/bin/umount ']'
+ chroot /mnt/debootstrap.20268 umount /dev
+ umount /mnt/debootstrap.20268//dev
+ for ARG in /sys /proc /proc /dev /dev
+ '[' -x /mnt/debootstrap.20268/bin/umount ']'
+ chroot /mnt/debootstrap.20268 umount /dev
+ umount /mnt/debootstrap.20268//dev
+ '[' -n '' ']'
+ '[' -n '' ']'
+ einfo 'Unmounting /mnt/debootstrap.20268'
+ trap error_handler ERR
+ einfon 'Unmounting /mnt/debootstrap.20268\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Unmounting /mnt/debootstrap.20268\n'
 * Unmounting /mnt/debootstrap.20268
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ umount /mnt/debootstrap.20268
+ eend 0
+ trap error_handler ERR
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ '[' -n /var/cache/grml-debootstrap/stages_test.raw ']'
+ echo -n 'Removing stages directory /var/cache/grml-debootstrap/stages_test.raw: '
Removing stages directory /var/cache/grml-debootstrap/stages_test.raw: + rm -rf /var/cache/grml-debootstrap/stages_test.raw
+ echo done
done
+ grep -q '/mnt/debootstrap\.'
+ echo /mnt/debootstrap.20268
+ einfo 'Removing directory /mnt/debootstrap.20268'
+ trap error_handler ERR
+ einfon 'Removing directory /mnt/debootstrap.20268\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Removing directory /mnt/debootstrap.20268\n'
 * Removing directory /mnt/debootstrap.20268
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ rmdir /mnt/debootstrap.20268
+ eend 0
+ trap error_handler ERR
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ '[' -n ./test.raw ']'
+ einfo 'Removing loopback mount of file ./test.raw.'
+ trap error_handler ERR
+ einfon 'Removing loopback mount of file ./test.raw.\n'
+ trap error_handler ERR
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' * Removing loopback mount of file ./test.raw.\n'
 * Removing loopback mount of file ./test.raw.
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ kpartx -d ./test.raw
loop deleted : /dev/loop2
+ eend 0
+ trap error_handler ERR
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ '[' -n 1 ']'
+ EXIT=1
+ '[' -n '' ']'
+ exit 1
tester@debian:~$ 
mika commented 9 years ago

That's by intention, if you don't want the locales package then update-locale can't be executed (and the warning is by grml-debootstrap to inform you about that), there's nothing we can really do about that AFAICT.