Page 1 of 1

trouble building the distro in VirtualBox

Posted: Tue Jun 25, 2013 8:46 am
by chronodekar
I have Ubuntu Server (32-bit) 13.04 running in a VirtualBox system. The host OS is Win7(64-bit).

After getting and loading a linux image on my r-pi, I gained a desire to build my own distribution image. By this, I'm referring to some 'my-personal-build.IMG' file that I could write to an SD card using the Win32DiskImager utility and boot my r-pi off it. My search led me to this project,

https://github.com/asb/spindle

Which, I've been led to believe is the official method of making the debian builds for our boards. I've followed these instructions (all commands run from my home directory),

Code: Select all

sudo ./setup_spindle_environment  my_spindle_chroot
sudo modprobe nbd max_part=16
schroot -c spindle
./wheezy-stage0
and the virtual system appears stuck. Here is the output I'm seeing,

Code: Select all

> ./wheezy-stage0
No apt cache disk image exists. Making one.
Formatting 'wheezy_apt_cache.qed', fmt=qed size=4294967296 cluster_size=65536 table_size=0

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for chronodekar:
NBD device /dev/nbd0 is now connected to wheezy_apt_cache.qed
mke2fs 1.42.5 (29-Jul-2012)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/nbd0 is mounted.
/build/buildd-qemu_1.1.2+dfsg-6a-i386-GWQcNd/qemu-1.1.2+dfsg/nbd.c:nbd_co_receive_request():L775: len (16777216) is larger than max len (1048576)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
262144 inodes, 1048576 blocks
52428 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1073741824
32 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks):
It's been stuck at that last line for about an hour now. Running 'top' from another terminal shows no activity. Has it hung/crashed?

Some advice on how to proceed would be appreciated.

-chronodekar

Re: trouble building the distro in VirtualBox

Posted: Tue Jun 25, 2013 4:16 pm
by chronodekar
I tried reading the scripts line-by-line to figure out what might have gone wrong. It's a slow process, but I found 'Ubunut 10.04' in the comments. So, I downloaded that (Ubuntu server 10.4.4), installed it on another virtualbox system and tried building the image. This time, after running the first command this error message came up,

Code: Select all

About to set up chroot in '/home/chronodekar/spindle-master/my_spindle_chroot'. Ok? [Y/n]:
What user should be able to schroot? [chronodekar]:

Created /etc/schroot/chroot.d/spindle:

[spindle]
type=directory
description=Debian wheezy for spindle
directory=/home/chronodekar/spindle-master/my_spindle_chroot
preserve-environment=true
script-config=spindle/config
users=chronodekar
groups=chronodekar
root-groups=root

E: No such script: /usr/share/debootstrap/scripts/wheezy
Died: Debootstrap failed
Initiating cleanup
Did not complete script successfully
[email protected]:~/spindle-master$
I'm not exactly sure what it means, but I'm going to boot my other Virtualbox (ubuntu 13.04) and see if I missed that error last time.

-chronodekar

Re: trouble building the distro in VirtualBox

Posted: Tue Jun 25, 2013 4:18 pm
by asb
Hi chronodekar, thanks for giving spindle a go (I'm the author). There are issues with the latest version of qemu in Debian, so you'll need to run the included downgrade_qemu script after entering `schroot -c spindle` and before doing `./wheezy-stage0`. Do let me know how that works out for you. I've just pushed a change to the README to document this.

Re: trouble building the distro in VirtualBox

Posted: Tue Jun 25, 2013 4:28 pm
by chronodekar
No, that doesn't seem to be it. For reference here is the output I'm seeing from running each of the scripts,

Code: Select all

> sudo ./setup_spindle_environment  my_spindle_chroot
[sudo] password for chronodekar:
About to set up chroot in '/home/chronodekar/projects/RaspberryPi/spindle-master/my_spindle_chroot'. Ok? [Y/n]:
What user should be able to schroot? [chronodekar]:
Overwrite existing config '/etc/schroot/chroot.d/spindle'? [Y/n]:

Created /etc/schroot/chroot.d/spindle:

[spindle]
type=directory
description=Debian wheezy for spindle
directory=/home/chronodekar/projects/RaspberryPi/spindle-master/my_spindle_chroot
preserve-environment=true
script-config=spindle/config
users=chronodekar
groups=chronodekar
root-groups=root

I: Retrieving InRelease
I: Failed to retrieve InRelease
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 9FED2BCBDCD29CDF762678CBAED4B06F473041FA)
I: Retrieving Packages
I: Validating Packages
I: Found packages in base already in required: e2fsprogs
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: insserv libbz2-1.0 libdb5.1 libsemanage-common libsemanage1 libslang2 libustr-1.0-1
I: Found additional base dependencies: augeas-lenses dmsetup git-man ipxe-qemu libaio1 libasound2 libasyncns0 libaugeas0 libbluetooth3 libbrlapi0.5 libbsd0 libcaca0 libcap2 libclass-isa-perl libcurl3-gnutls libdbus-1-3 libdevmapper1.02.1 libdirectfb-1.2-9 libdrm2 libedit2 libept1.4.12 liberror-perl libexpat1 libfdt1 libffi5 libflac8 libgcrypt11 libgl1-mesa-glx libglapi-mesa libglib2.0-0 libgnutls26 libgpg-error0 libgssapi-krb5-2 libice6 libidn11 libiscsi1 libjpeg8 libjson0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzo2-2 libnfnetlink0 libogg0 libp11-kit0 libparted0debian1 libpcre3 libpng12-0 libpulse0 librtmp0 libsasl2-2 libsdl1.2debian libsm6 libsndfile1 libsqlite3-0 libssh2-1 libswitch-perl libtasn1-3 libts-0.0-0 libusbredirparser0 libvdeplug2 libvorbis0a libvorbisenc2 libwrap0 libx11-6 libx11-data libx11-xcb1 libxapian22 libxau6 libxcb-glx0 libxcb1 libxdamage1 libxdmcp6 libxen-4.1 libxenstore3.0 libxext6 libxfixes3 libxi6 libxml2 libxtst6 libxxf86vm1 openbios-ppc openbios-sparc openhackware perl perl-modules qemu-keymaps qemu-system qemu-user qemu-utils seabios tsconf vgabios x11-common
I: Checking component main on http://http.debian.net/debian...
I: Validating libacl1
I: Validating adduser
I: Validating libasound2
I: Validating apt
I: Validating apt-utils
I: Validating libapt-inst1.5
I: Validating libapt-pkg4.12
I: Validating aptitude
I: Validating aptitude-common
I: Validating libattr1
I: Validating augeas-lenses
I: Validating augeas-tools
I: Validating libaugeas0
I: Validating base-files
I: Validating base-passwd
I: Validating bash
I: Validating bash-completion
I: Validating libbluetooth3
I: Validating libboost-iostreams1.49.0
I: Validating libbrlapi0.5
I: Validating bsdmainutils
I: Validating bzip2
I: Validating libbz2-1.0
I: Validating coreutils
I: Validating cpio
I: Validating cron
I: Validating libcurl3-gnutls
I: Validating libcwidget3
I: Validating libsasl2-2
I: Validating dash
I: Validating libdb5.1
I: Validating libdbus-1-3
I: Validating debconf
I: Validating debconf-i18n
I: Validating debian-archive-keyring
I: Validating debianutils
I: Validating debootstrap
I: Validating libfdt1
I: Validating diffutils
I: Validating libdirectfb-1.2-9
I: Validating dmidecode
I: Validating dosfstools
I: Validating dpkg
I: Validating e2fslibs
I: Validating e2fsprogs
I: Validating libcomerr2
I: Validating libss2
I: Validating libc-bin
I: Validating libc6
I: Validating multiarch-support
I: Validating libexpat1
I: Validating findutils
I: Validating libflac8
I: Validating gcc-4.7-base
I: Validating libgcc1
I: Validating libstdc++6
I: Validating libgdbm3
I: Validating git
I: Validating git-man
I: Validating libglib2.0-0
I: Validating gnupg
I: Validating gpgv
I: Validating libgnutls26
I: Validating grep
I: Validating groff-base
I: Validating gzip
I: Validating hostname
I: Validating ifupdown
I: Validating insserv
I: Validating iproute
I: Validating iptables
I: Validating iputils-ping
I: Validating ipxe-qemu
I: Validating isc-dhcp-client
I: Validating isc-dhcp-common
I: Validating libjson0
I: Validating libkeyutils1
I: Validating kmod
I: Validating libkmod2
I: Validating libgssapi-krb5-2
I: Validating libk5crypto3
I: Validating libkrb5-3
I: Validating libkrb5support0
I: Validating less
I: Validating libaio1
I: Validating libasyncns0
I: Validating libbsd0
I: Validating libcaca0
I: Validating libcap2
I: Validating libclass-isa-perl
I: Validating libdrm2
I: Validating libedit2
I: Validating libept1.4.12
I: Validating liberror-perl
I: Validating libffi5
I: Validating libgcrypt11
I: Validating libgpg-error0
I: Validating libice6
I: Validating libidn11
I: Validating libiscsi1
I: Validating libjpeg8
I: Validating liblocale-gettext-perl
I: Validating libnfnetlink0
I: Validating libogg0
I: Validating libpipeline1
I: Validating libpng12-0
I: Validating libsdl1.2debian
I: Validating libselinux1
I: Validating libsemanage-common
I: Validating libsemanage1
I: Validating libsepol1
I: Validating libsigc++-2.0-0c2a
I: Validating libsm6
I: Validating libsndfile1
I: Validating libssh2-1
I: Validating libswitch-perl
I: Validating libtasn1-3
I: Validating libtext-charwidth-perl
I: Validating libtext-iconv-perl
I: Validating libtext-wrapi18n-perl
I: Validating libusb-0.1-4
I: Validating libvorbis0a
I: Validating libvorbisenc2
I: Validating libx11-6
I: Validating libx11-data
I: Validating libx11-xcb1
I: Validating libxau6
I: Validating libxcb-glx0
I: Validating libxcb1
I: Validating libxdamage1
I: Validating libxdmcp6
I: Validating libxext6
I: Validating libxfixes3
I: Validating libxi6
I: Validating libxml2
I: Validating libxtst6
I: Validating libxxf86vm1
I: Validating logrotate
I: Validating lsb-base
I: Validating dmsetup
I: Validating libdevmapper1.02.1
I: Validating liblzo2-2
I: Validating man-db
I: Validating manpages
I: Validating mawk
I: Validating libgl1-mesa-glx
I: Validating libglapi-mesa
I: Validating nano
I: Validating libncurses5
I: Validating libncursesw5
I: Validating libtinfo5
I: Validating ncurses-base
I: Validating ncurses-bin
I: Validating net-tools
I: Validating netbase
I: Validating netcat-traditional
I: Validating libnewt0.52
I: Validating whiptail
I: Validating openbios-ppc
I: Validating openbios-sparc
I: Validating openhackware
I: Validating libldap-2.4-2
I: Validating openssh-client
I: Validating libssl1.0.0
I: Validating libp11-kit0
I: Validating libpam-modules
I: Validating libpam-modules-bin
I: Validating libpam-runtime
I: Validating libpam0g
I: Validating libparted0debian1
I: Validating parted
I: Validating libpcre3
I: Validating perl
I: Validating perl-base
I: Validating perl-modules
I: Validating libpopt0
I: Validating libprocps0
I: Validating procps
I: Validating libpulse0
I: Validating qemu
I: Validating qemu-keymaps
I: Validating qemu-system
I: Validating qemu-user
I: Validating qemu-utils
I: Validating libreadline6
I: Validating readline-common
I: Validating rsyslog
I: Validating librtmp0
I: Validating seabios
I: Validating sed
I: Validating sensible-utils
I: Validating login
I: Validating passwd
I: Validating libslang2
I: Validating libsqlite3-0
I: Validating squashfs-tools
I: Validating sudo
I: Validating initscripts
I: Validating sysv-rc
I: Validating sysvinit
I: Validating sysvinit-utils
I: Validating tar
I: Validating tasksel
I: Validating tasksel-data
I: Validating libwrap0
I: Validating info
I: Validating install-info
I: Validating traceroute
I: Validating libts-0.0-0
I: Validating tsconf
I: Validating tzdata
I: Validating libudev0
I: Validating udev
I: Validating libusbredirparser0
I: Validating libustr-1.0-1
I: Validating bsdutils
I: Validating libblkid1
I: Validating libmount1
I: Validating libuuid1
I: Validating mount
I: Validating util-linux
I: Validating libvdeplug2
I: Validating vgabios
I: Validating vim-common
I: Validating vim-tiny
I: Validating wget
I: Validating libxapian22
I: Validating libxen-4.1
I: Validating libxenstore3.0
I: Validating x11-common
I: Validating liblzma5
I: Validating xz-utils
I: Validating zerofree
I: Validating zlib1g
I: Chosen extractor for .deb packages: dpkg-deb
I: Extracting libacl1...
I: Extracting libattr1...
I: Extracting base-files...
I: Extracting base-passwd...
I: Extracting bash...
I: Extracting libbz2-1.0...
I: Extracting coreutils...
I: Extracting dash...
I: Extracting libdb5.1...
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 libc-bin...
I: Extracting libc6...
I: Extracting multiarch-support...
I: Extracting findutils...
I: Extracting gcc-4.7-base...
I: Extracting libgcc1...
I: Extracting grep...
I: Extracting gzip...
I: Extracting hostname...
I: Extracting insserv...
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 mawk...
I: Extracting libncurses5...
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 perl-base...
I: Extracting sed...
I: Extracting sensible-utils...
I: Extracting login...
I: Extracting passwd...
I: Extracting libslang2...
I: Extracting initscripts...
I: Extracting sysv-rc...
I: Extracting sysvinit...
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 libuuid1...
I: Extracting mount...
I: Extracting util-linux...
I: Extracting liblzma5...
I: Extracting xz-utils...
I: Extracting zlib1g...
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking libacl1:i386...
I: Unpacking libattr1:i386...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking libbz2-1.0:i386...
I: Unpacking coreutils...
I: Unpacking dash...
I: Unpacking libdb5.1: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 libc-bin...
I: Unpacking libc6:i386...
I: Unpacking multiarch-support...
I: Unpacking findutils...
I: Unpacking gcc-4.7-base:i386...
I: Unpacking libgcc1:i386...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
I: Unpacking insserv...
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 mawk...
I: Unpacking libncurses5: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 perl-base...
I: Unpacking sed...
I: Unpacking sensible-utils...
I: Unpacking login...
I: Unpacking passwd...
I: Unpacking libslang2:i386...
I: Unpacking initscripts...
I: Unpacking sysv-rc...
I: Unpacking sysvinit...
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...
I: Unpacking libuuid1:i386...
I: Unpacking mount...
I: Unpacking util-linux...
I: Unpacking liblzma5:i386...
I: Unpacking xz-utils...
I: Unpacking zlib1g:i386...
I: Configuring required packages...
I: Configuring lsb-base...
I: Configuring ncurses-base...
I: Configuring sensible-utils...
I: Configuring libsemanage-common...
I: Configuring gcc-4.7-base:i386...
I: Configuring libc-bin...
I: Configuring libc6:i386...
I: Configuring debianutils...
I: Configuring bsdutils...
I: Configuring tar...
I: Configuring base-passwd...
I: Configuring mawk...
I: Configuring hostname...
I: Configuring insserv...
I: Configuring multiarch-support...
I: Configuring libselinux1:i386...
I: Configuring libustr-1.0-1:i386...
I: Configuring libsepol1:i386...
I: Configuring zlib1g:i386...
I: Configuring libgcc1:i386...
I: Configuring base-files...
I: Configuring libattr1:i386...
I: Configuring e2fslibs:i386...
I: Configuring libcomerr2:i386...
I: Configuring libacl1:i386...
I: Configuring libslang2:i386...
I: Configuring libss2:i386...
I: Configuring liblzma5:i386...
I: Configuring libdb5.1:i386...
I: Configuring libbz2-1.0:i386...
I: Configuring libtinfo5:i386...
I: Configuring sysvinit-utils...
I: Configuring ncurses-bin...
I: Configuring libsemanage1:i386...
I: Configuring libncurses5:i386...
I: Configuring xz-utils...
I: Configuring dpkg...
I: Configuring dash...
I: Configuring coreutils...
I: Configuring perl-base...
I: Configuring diffutils...
I: Configuring libtext-iconv-perl...
I: Configuring sed...
I: Configuring grep...
I: Configuring findutils...
I: Configuring gzip...
I: Configuring liblocale-gettext-perl...
I: Configuring bash...
I: Configuring libtext-charwidth-perl...
I: Configuring libtext-wrapi18n-perl...
I: Configuring debconf...
I: Configuring libpam0g:i386...
I: Configuring sysv-rc...
I: Configuring tzdata...
I: Configuring debconf-i18n...
I: Configuring libpam-modules-bin...
I: Configuring libpam-modules:i386...
I: Configuring passwd...
I: Configuring libpam-runtime...
I: Configuring login...
I: Configuring libuuid1:i386...
I: Configuring libblkid1:i386...
I: Configuring libmount1...
I: Configuring mount...
I: Configuring initscripts...
I: Configuring util-linux...
I: Configuring sysvinit...
I: Configuring e2fsprogs...
I: Unpacking the base system...
I: Unpacking adduser...
I: Unpacking libasound2:i386...
I: Unpacking apt...
I: Unpacking apt-utils...
I: Unpacking libapt-inst1.5:i386...
I: Unpacking libapt-pkg4.12:i386...
I: Unpacking aptitude...
I: Unpacking aptitude-common...
I: Unpacking augeas-lenses...
I: Unpacking augeas-tools...
I: Unpacking libaugeas0...
I: Unpacking bash-completion...
I: Unpacking libbluetooth3:i386...
I: Unpacking libboost-iostreams1.49.0...
I: Unpacking libbrlapi0.5:i386...
I: Unpacking bsdmainutils...
I: Unpacking bzip2...
I: Unpacking cpio...
I: Unpacking cron...
I: Unpacking libcurl3-gnutls:i386...
I: Unpacking libcwidget3...
I: Unpacking libsasl2-2:i386...
I: Unpacking libdbus-1-3:i386...
I: Unpacking debian-archive-keyring...
I: Unpacking debootstrap...
I: Unpacking libfdt1...
I: Unpacking libdirectfb-1.2-9:i386...
I: Unpacking dmidecode...
I: Unpacking dosfstools...
I: Unpacking libexpat1:i386...
I: Unpacking libflac8:i386...
I: Unpacking libstdc++6:i386...
I: Unpacking libgdbm3:i386...
I: Unpacking git...
I: Unpacking git-man...
I: Unpacking libglib2.0-0:i386...
I: Unpacking gnupg...
I: Unpacking gpgv...
I: Unpacking libgnutls26:i386...
I: Unpacking groff-base...
I: Unpacking ifupdown...
I: Unpacking iproute...
I: Unpacking iptables...
I: Unpacking iputils-ping...
I: Unpacking ipxe-qemu...
I: Unpacking isc-dhcp-client...
I: Unpacking isc-dhcp-common...
I: Unpacking libjson0:i386...
I: Unpacking libkeyutils1:i386...
I: Unpacking kmod...
I: Unpacking libkmod2:i386...
I: Unpacking libgssapi-krb5-2:i386...
I: Unpacking libk5crypto3:i386...
I: Unpacking libkrb5-3:i386...
I: Unpacking libkrb5support0:i386...
I: Unpacking less...
I: Unpacking libaio1:i386...
I: Unpacking libasyncns0:i386...
I: Unpacking libbsd0:i386...
I: Unpacking libcaca0:i386...
I: Unpacking libcap2:i386...
I: Unpacking libclass-isa-perl...
I: Unpacking libdrm2:i386...
I: Unpacking libedit2:i386...
I: Unpacking libept1.4.12...
I: Unpacking liberror-perl...
I: Unpacking libffi5:i386...
I: Unpacking libgcrypt11:i386...
I: Unpacking libgpg-error0:i386...
I: Unpacking libice6:i386...
I: Unpacking libidn11:i386...
I: Unpacking libiscsi1:i386...
I: Unpacking libjpeg8:i386...
I: Unpacking libnfnetlink0...
I: Unpacking libogg0:i386...
I: Unpacking libpipeline1:i386...
I: Unpacking libpng12-0:i386...
I: Unpacking libsdl1.2debian:i386...
I: Unpacking libsigc++-2.0-0c2a:i386...
I: Unpacking libsm6:i386...
I: Unpacking libsndfile1:i386...
I: Unpacking libssh2-1:i386...
I: Unpacking libswitch-perl...
I: Unpacking libtasn1-3:i386...
I: Unpacking libusb-0.1-4:i386...
I: Unpacking libvorbis0a:i386...
I: Unpacking libvorbisenc2:i386...
I: Unpacking libx11-6:i386...
I: Unpacking libx11-data...
I: Unpacking libx11-xcb1:i386...
I: Unpacking libxau6:i386...
I: Unpacking libxcb-glx0:i386...
I: Unpacking libxcb1:i386...
I: Unpacking libxdamage1:i386...
I: Unpacking libxdmcp6:i386...
I: Unpacking libxext6:i386...
I: Unpacking libxfixes3:i386...
I: Unpacking libxi6:i386...
I: Unpacking libxml2:i386...
I: Unpacking libxtst6:i386...
I: Unpacking libxxf86vm1:i386...
I: Unpacking logrotate...
I: Unpacking dmsetup...
I: Unpacking libdevmapper1.02.1:i386...
I: Unpacking liblzo2-2:i386...
I: Unpacking man-db...
I: Unpacking manpages...
I: Unpacking libgl1-mesa-glx:i386...
I: Unpacking libglapi-mesa:i386...
I: Unpacking nano...
I: Unpacking libncursesw5:i386...
I: Unpacking net-tools...
I: Unpacking netbase...
I: Unpacking netcat-traditional...
I: Unpacking libnewt0.52...
I: Unpacking whiptail...
I: Unpacking openbios-ppc...
I: Unpacking openbios-sparc...
I: Unpacking openhackware...
I: Unpacking libldap-2.4-2:i386...
I: Unpacking openssh-client...
I: Unpacking libssl1.0.0:i386...
I: Unpacking libp11-kit0:i386...
I: Unpacking libparted0debian1:i386...
I: Unpacking parted...
I: Unpacking libpcre3:i386...
I: Unpacking perl...
I: Unpacking perl-modules...
I: Unpacking libpopt0:i386...
I: Unpacking libprocps0:i386...
I: Unpacking procps...
I: Unpacking libpulse0:i386...
I: Unpacking qemu...
I: Unpacking qemu-keymaps...
I: Unpacking qemu-system...
I: Unpacking qemu-user...
I: Unpacking qemu-utils...
I: Unpacking libreadline6:i386...
I: Unpacking readline-common...
I: Unpacking rsyslog...
I: Unpacking librtmp0:i386...
I: Unpacking seabios...
I: Unpacking libsqlite3-0:i386...
I: Unpacking squashfs-tools...
I: Unpacking sudo...
I: Unpacking tasksel...
I: Unpacking tasksel-data...
I: Unpacking libwrap0:i386...
I: Unpacking info...
I: Unpacking install-info...
I: Unpacking traceroute...
I: Unpacking libts-0.0-0:i386...
I: Unpacking tsconf...
I: Unpacking libudev0:i386...
I: Unpacking udev...
I: Unpacking libusbredirparser0:i386...
I: Unpacking libvdeplug2...
I: Unpacking vgabios...
I: Unpacking vim-common...
I: Unpacking vim-tiny...
I: Unpacking wget...
I: Unpacking libxapian22...
I: Unpacking libxen-4.1...
I: Unpacking libxenstore3.0...
I: Unpacking x11-common...
I: Unpacking zerofree...
I: Configuring the base system...
I: Configuring libxdmcp6:i386...
I: Configuring sudo...
I: Configuring libxml2:i386...
I: Configuring gpgv...
I: Configuring libssl1.0.0:i386...
I: Configuring libdbus-1-3:i386...
I: Configuring libffi5:i386...
I: Configuring libgdbm3:i386...
I: Configuring isc-dhcp-common...
I: Configuring libaio1:i386...
I: Configuring libtasn1-3:i386...
I: Configuring libpopt0:i386...
I: Configuring libusb-0.1-4:i386...
I: Configuring libgpg-error0:i386...
I: Configuring qemu-keymaps...
I: Configuring openhackware...
I: Configuring install-info...
I: Configuring bzip2...
I: Configuring vim-common...
I: Configuring libprocps0:i386...
I: Configuring netbase...
I: Configuring libdrm2:i386...
I: Configuring dmidecode...
I: Configuring libudev0:i386...
I: Configuring libogg0:i386...
I: Configuring liblzo2-2:i386...
I: Configuring libkmod2:i386...
I: Configuring libclass-isa-perl...
I: Configuring libxen-4.1...
I: Configuring adduser...
I: Configuring ipxe-qemu...
I: Configuring traceroute...
I: Configuring libusbredirparser0:i386...
I: Configuring manpages...
I: Configuring seabios...
I: Configuring libasound2:i386...
I: Configuring libbluetooth3:i386...
I: Configuring libsqlite3-0:i386...
I: Configuring libkeyutils1:i386...
I: Configuring openbios-sparc...
I: Configuring libexpat1:i386...
I: Configuring iproute...
I: Configuring vgabios...
I: Configuring libvdeplug2...
I: Configuring libidn11:i386...
I: Configuring libglapi-mesa:i386...
I: Configuring libkrb5support0:i386...
I: Configuring libbrlapi0.5:i386...
I: Configuring libnewt0.52...
I: Configuring x11-common...
I: Configuring net-tools...
I: Configuring squashfs-tools...
I: Configuring libpipeline1:i386...
I: Configuring bash-completion...
I: Configuring libsasl2-2:i386...
I: Configuring bsdmainutils...
I: Configuring libjpeg8:i386...
I: Configuring libbsd0:i386...
I: Configuring dosfstools...
I: Configuring git-man...
I: Configuring netcat-traditional...
I: Configuring debian-archive-keyring...
I: Configuring libpcre3:i386...
I: Configuring libncursesw5:i386...
I: Configuring openbios-ppc...
I: Configuring info...
I: Configuring tsconf...
I: Configuring iputils-ping...
I: Configuring aptitude-common...
I: Configuring libvorbis0a:i386...
I: Configuring cron...
I: Configuring libedit2:i386...
I: Configuring nano...
I: Configuring libice6:i386...
I: Configuring libjson0:i386...
I: Configuring libp11-kit0:i386...
I: Configuring libfdt1...
I: Configuring libx11-data...
I: Configuring zerofree...
I: Configuring libsm6:i386...
I: Configuring libxenstore3.0...
I: Configuring libpng12-0:i386...
I: Configuring rsyslog...
I: Configuring cpio...
I: Configuring libstdc++6:i386...
I: Configuring isc-dhcp-client...
I: Configuring vim-tiny...
I: Configuring less...
I: Configuring libglib2.0-0:i386...
I: Configuring libasyncns0:i386...
I: Configuring libiscsi1:i386...
I: Configuring readline-common...
I: Configuring libcap2:i386...
I: Configuring libnfnetlink0...
I: Configuring libwrap0:i386...
I: Configuring augeas-lenses...
I: Configuring libxau6:i386...
I: Configuring libflac8:i386...
I: Configuring libgcrypt11:i386...
I: Configuring procps...
I: Configuring libxapian22...
I: Configuring libk5crypto3:i386...
I: Configuring whiptail...
I: Configuring ifupdown...
I: Configuring libts-0.0-0:i386...
I: Configuring kmod...
I: Configuring libapt-pkg4.12:i386...
I: Configuring libept1.4.12...
I: Configuring libapt-inst1.5:i386...
I: Configuring libxcb1:i386...
I: Configuring libreadline6:i386...
I: Configuring libvorbisenc2:i386...
I: Configuring logrotate...
I: Configuring libdirectfb-1.2-9:i386...
I: Configuring libboost-iostreams1.49.0...
I: Configuring libxcb-glx0:i386...
I: Configuring groff-base...
I: Configuring gnupg...
I: Configuring libaugeas0...
I: Configuring libsndfile1:i386...
I: Configuring qemu-user...
I: Configuring libx11-6:i386...
I: Configuring libsigc++-2.0-0c2a:i386...
I: Configuring libgnutls26:i386...
I: Configuring libcaca0:i386...
I: Configuring libx11-xcb1:i386...
I: Configuring libldap-2.4-2:i386...
I: Configuring apt-utils...
I: Configuring udev...
I: Configuring iptables...
I: Configuring libkrb5-3:i386...
I: Configuring libssh2-1:i386...
I: Configuring man-db...
I: Configuring libgssapi-krb5-2:i386...
I: Configuring augeas-tools...
I: Configuring apt...
I: Configuring libxext6:i386...
I: Configuring libxi6:i386...
I: Configuring librtmp0:i386...
I: Configuring wget...
I: Configuring debootstrap...
I: Configuring libxfixes3:i386...
I: Configuring libxdamage1:i386...
I: Configuring libcwidget3...
I: Configuring aptitude...
I: Configuring libxtst6:i386...
I: Configuring openssh-client...
I: Configuring libxxf86vm1:i386...
I: Configuring libcurl3-gnutls:i386...
I: Configuring qemu-utils...
I: Configuring libpulse0:i386...
I: Configuring libgl1-mesa-glx:i386...
I: Configuring libsdl1.2debian:i386...
I: Configuring qemu-system...
I: Configuring qemu...
I: Configuring libdevmapper1.02.1:i386...
I: Configuring dmsetup...
I: Configuring libparted0debian1:i386...
I: Configuring libswitch-perl...
I: Configuring tasksel...
I: Configuring tasksel-data...
I: Configuring parted...
I: Configuring perl-modules...
I: Configuring perl...
I: Configuring liberror-perl...
I: Configuring git...
I: Base system installed successfully.
Please enter the password you would like for your schroot user (needed for sudo)
W: line 6 [spindle]: Deprecated key ‘script-config’ used
I: This option will be removed in the future; please update your configuration
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

chroot created at '/home/chronodekar/projects/RaspberryPi/spindle-master/my_spindle_chroot'. Use `schroot -c spindle` to enter it
Initiating cleanup
>

The next two,

Code: Select all

> sudo modprobe nbd max_part=16
> schroot -c spindle
W: line 6 [spindle]: Deprecated key ‘script-config’ used
I: This option will be removed in the future; please update your configuration
>
And here is where my system appears to get stuck at;

Code: Select all

> ./wheezy-stage0
No apt cache disk image exists. Making one.
Formatting 'wheezy_apt_cache.qed', fmt=qed size=4294967296 cluster_size=65536 table_size=0
[sudo] password for chronodekar:
NBD device /dev/nbd0 is now connected to wheezy_apt_cache.qed
mke2fs 1.42.5 (29-Jul-2012)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/nbd0 is mounted.
/build/buildd-qemu_1.1.2+dfsg-6a-i386-GWQcNd/qemu-1.1.2+dfsg/nbd.c:nbd_co_receive_request():L775: len (16777216) is larger than max len (1048576)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
262144 inodes, 1048576 blocks
52428 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1073741824
32 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks):
Now that I look at the error message - does anything think it will be a problem if I disable journaling in the script? I'm aware that it's some kind of indexing feature for filesystems and that ext3 = ext2 + journaling (to over-simply things).

EDIT: Just saw your reply. I'll try running that downgrade script and will report back.

-chronodekar

Re: trouble building the distro in VirtualBox

Posted: Tue Jun 25, 2013 4:41 pm
by chronodekar
@asb,

I rebooted my virtual-ubuntu and am trying out the modified steps. You made a minor typo mistake in the readme.

Instead of,

Code: Select all

sudo ./downgrade-qemu
It should be

Code: Select all

sudo ./downgrade_qemu
(At least, that's the script I'm assuming you want me to try; the other one doesn't exist :P )

I can see the script is downloading something (not sure what), but the ETA says 15 mins. Will update when its done.

-chronodekar

Re: trouble building the distro in VirtualBox

Posted: Tue Jun 25, 2013 5:59 pm
by chronodekar
Short story is that it didn't work. It's late for me and I'm going to bed, but is an internet connection always needed for the scripts to work? As in; after the first run, since the files are already downloaded, would the scripts detect that and just use them instead of making network requests?

My internet is metered and I'm a bit concerned of reaching my quota.

Here is the more recent output (from my second run),

Code: Select all

> sudo ./setup_spindle_environment  my_spindle_chroot
[sudo] password for chronodekar:
About to set up chroot in '/home/chronodekar/projects/RaspberryPi/spindle-master                                                      /my_spindle_chroot'. Ok? [Y/n]:
What user should be able to schroot? [chronodekar]:
Overwrite existing config '/etc/schroot/chroot.d/spindle'? [Y/n]:

Created /etc/schroot/chroot.d/spindle:

[spindle]
type=directory
description=Debian wheezy for spindle
directory=/home/chronodekar/projects/RaspberryPi/spindle-master/my_spindle_chroo                                                      t
preserve-environment=true
script-config=spindle/config
users=chronodekar
groups=chronodekar
root-groups=root

I: Retrieving InRelease
I: Failed to retrieve InRelease
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 9FED2BCBDCD29CDF762678CBAED4B06F473041FA)
I: Retrieving Packages
I: Validating Packages
I: Found packages in base already in required: e2fsprogs
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: insserv libbz2-1.0 libdb5.1 libsemana                                                      ge-common libsemanage1 libslang2 libustr-1.0-1
I: Found additional base dependencies: augeas-lenses dmsetup git-man ipxe-qemu l                                                      ibaio1 libasound2 libasyncns0 libaugeas0 libbluetooth3 libbrlapi0.5 libbsd0 libc                                                      aca0 libcap2 libclass-isa-perl libcurl3-gnutls libdbus-1-3 libdevmapper1.02.1 li                                                      bdirectfb-1.2-9 libdrm2 libedit2 libept1.4.12 liberror-perl libexpat1 libfdt1 li                                                      bffi5 libflac8 libgcrypt11 libgl1-mesa-glx libglapi-mesa libglib2.0-0 libgnutls2                                                      6 libgpg-error0 libgssapi-krb5-2 libice6 libidn11 libiscsi1 libjpeg8 libjson0 li                                                      bk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzo2-2 libnfn                                                      etlink0 libogg0 libp11-kit0 libparted0debian1 libpcre3 libpng12-0 libpulse0 libr                                                      tmp0 libsasl2-2 libsdl1.2debian libsm6 libsndfile1 libsqlite3-0 libssh2-1 libswi                                                      tch-perl libtasn1-3 libts-0.0-0 libusbredirparser0 libvdeplug2 libvorbis0a libvo                                                      rbisenc2 libwrap0 libx11-6 libx11-data libx11-xcb1 libxapian22 libxau6 libxcb-gl                                                      x0 libxcb1 libxdamage1 libxdmcp6 libxen-4.1 libxenstore3.0 libxext6 libxfixes3 l                                                      ibxi6 libxml2 libxtst6 libxxf86vm1 openbios-ppc openbios-sparc openhackware perl                                                       perl-modules qemu-keymaps qemu-system qemu-user qemu-utils seabios tsconf vgabi                                                      os x11-common
I: Checking component main on http://http.debian.net/debian...
I: Validating libacl1
I: Validating adduser
I: Validating libasound2
I: Validating apt
I: Validating apt-utils
I: Validating libapt-inst1.5
I: Validating libapt-pkg4.12
I: Validating aptitude
I: Validating aptitude-common
I: Validating libattr1
I: Validating augeas-lenses
I: Validating augeas-tools
I: Validating libaugeas0
I: Validating base-files
I: Validating base-passwd
I: Validating bash
I: Validating bash-completion
I: Validating libbluetooth3
I: Validating libboost-iostreams1.49.0
I: Validating libbrlapi0.5
I: Validating bsdmainutils
I: Validating bzip2
I: Validating libbz2-1.0
I: Validating coreutils
I: Validating cpio
I: Validating cron
I: Validating libcurl3-gnutls
I: Validating libcwidget3
I: Validating libsasl2-2
I: Validating dash
I: Validating libdb5.1
I: Validating libdbus-1-3
I: Validating debconf
I: Validating debconf-i18n
I: Validating debian-archive-keyring
I: Validating debianutils
I: Validating debootstrap
I: Validating libfdt1
I: Validating diffutils
I: Validating libdirectfb-1.2-9
I: Validating dmidecode
I: Validating dosfstools
I: Validating dpkg
I: Validating e2fslibs
I: Validating e2fsprogs
I: Validating libcomerr2
I: Validating libss2
I: Validating libc-bin
I: Validating libc6
I: Validating multiarch-support
I: Validating libexpat1
I: Validating findutils
I: Validating libflac8
I: Validating gcc-4.7-base
I: Validating libgcc1
I: Validating libstdc++6
I: Validating libgdbm3
I: Validating git
I: Validating git-man
I: Validating libglib2.0-0
I: Validating gnupg
I: Validating gpgv
I: Validating libgnutls26
I: Validating grep
I: Validating groff-base
I: Validating gzip
I: Validating hostname
I: Validating ifupdown
I: Validating insserv
I: Validating iproute
I: Validating iptables
I: Validating iputils-ping
I: Validating ipxe-qemu
I: Validating isc-dhcp-client
I: Validating isc-dhcp-common
I: Validating libjson0
I: Validating libkeyutils1
I: Validating kmod
I: Validating libkmod2
I: Validating libgssapi-krb5-2
I: Validating libk5crypto3
I: Validating libkrb5-3
I: Validating libkrb5support0
I: Validating less
I: Validating libaio1
I: Validating libasyncns0
I: Validating libbsd0
I: Validating libcaca0
I: Validating libcap2
I: Validating libclass-isa-perl
I: Validating libdrm2
I: Validating libedit2
I: Validating libept1.4.12
I: Validating liberror-perl
I: Validating libffi5
I: Validating libgcrypt11
I: Validating libgpg-error0
I: Validating libice6
I: Validating libidn11
I: Validating libiscsi1
I: Validating libjpeg8
I: Validating liblocale-gettext-perl
I: Validating libnfnetlink0
I: Validating libogg0
I: Validating libpipeline1
I: Validating libpng12-0
I: Validating libsdl1.2debian
I: Validating libselinux1
I: Validating libsemanage-common
I: Validating libsemanage1
I: Validating libsepol1
I: Validating libsigc++-2.0-0c2a
I: Validating libsm6
I: Validating libsndfile1
I: Validating libssh2-1
I: Validating libswitch-perl
I: Validating libtasn1-3
I: Validating libtext-charwidth-perl
I: Validating libtext-iconv-perl
I: Validating libtext-wrapi18n-perl
I: Validating libusb-0.1-4
I: Validating libvorbis0a
I: Validating libvorbisenc2
I: Validating libx11-6
I: Validating libx11-data
I: Validating libx11-xcb1
I: Validating libxau6
I: Validating libxcb-glx0
I: Validating libxcb1
I: Validating libxdamage1
I: Validating libxdmcp6
I: Validating libxext6
I: Validating libxfixes3
I: Validating libxi6
I: Validating libxml2
I: Validating libxtst6
I: Validating libxxf86vm1
I: Validating logrotate
I: Validating lsb-base
I: Validating dmsetup
I: Validating libdevmapper1.02.1
I: Validating liblzo2-2
I: Validating man-db
I: Validating manpages
I: Validating mawk
I: Validating libgl1-mesa-glx
I: Validating libglapi-mesa
I: Validating nano
I: Validating libncurses5
I: Validating libncursesw5
I: Validating libtinfo5
I: Validating ncurses-base
I: Validating ncurses-bin
I: Validating net-tools
I: Validating netbase
I: Validating netcat-traditional
I: Validating libnewt0.52
I: Validating whiptail
I: Validating openbios-ppc
I: Validating openbios-sparc
I: Validating openhackware
I: Validating libldap-2.4-2
I: Validating openssh-client
I: Validating libssl1.0.0
I: Validating libp11-kit0
I: Validating libpam-modules
I: Validating libpam-modules-bin
I: Validating libpam-runtime
I: Validating libpam0g
I: Validating libparted0debian1
I: Validating parted
I: Validating libpcre3
I: Validating perl
I: Validating perl-base
I: Validating perl-modules
I: Validating libpopt0
I: Validating libprocps0
I: Validating procps
I: Validating libpulse0
I: Validating qemu
I: Validating qemu-keymaps
I: Validating qemu-system
I: Validating qemu-user
I: Validating qemu-utils
I: Validating libreadline6
I: Validating readline-common
I: Validating rsyslog
I: Validating librtmp0
I: Validating seabios
I: Validating sed
I: Validating sensible-utils
I: Validating login
I: Validating passwd
I: Validating libslang2
I: Validating libsqlite3-0
I: Validating squashfs-tools
I: Validating sudo
I: Validating initscripts
I: Validating sysv-rc
I: Validating sysvinit
I: Validating sysvinit-utils
I: Validating tar
I: Validating tasksel
I: Validating tasksel-data
I: Validating libwrap0
I: Validating info
I: Validating install-info
I: Validating traceroute
I: Validating libts-0.0-0
I: Validating tsconf
I: Validating tzdata
I: Validating libudev0
I: Validating udev
I: Validating libusbredirparser0
I: Validating libustr-1.0-1
I: Validating bsdutils
I: Validating libblkid1
I: Validating libmount1
I: Validating libuuid1
I: Validating mount
I: Validating util-linux
I: Validating libvdeplug2
I: Validating vgabios
I: Validating vim-common
I: Validating vim-tiny
I: Validating wget
I: Validating libxapian22
I: Validating libxen-4.1
I: Validating libxenstore3.0
I: Validating x11-common
I: Validating liblzma5
I: Validating xz-utils
I: Validating zerofree
I: Validating zlib1g
I: Chosen extractor for .deb packages: dpkg-deb
I: Extracting libacl1...
I: Extracting libattr1...
I: Extracting base-files...
I: Extracting base-passwd...
I: Extracting bash...
I: Extracting libbz2-1.0...
I: Extracting coreutils...
I: Extracting dash...
I: Extracting libdb5.1...
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 libc-bin...
I: Extracting libc6...
I: Extracting multiarch-support...
I: Extracting findutils...
I: Extracting gcc-4.7-base...
I: Extracting libgcc1...
I: Extracting grep...
I: Extracting gzip...
I: Extracting hostname...
I: Extracting insserv...
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 mawk...
I: Extracting libncurses5...
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 perl-base...
I: Extracting sed...
I: Extracting sensible-utils...
I: Extracting login...
I: Extracting passwd...
I: Extracting libslang2...
I: Extracting initscripts...
I: Extracting sysv-rc...
I: Extracting sysvinit...
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 libuuid1...
I: Extracting mount...
I: Extracting util-linux...
I: Extracting liblzma5...
I: Extracting xz-utils...
I: Extracting zlib1g...
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking libacl1:i386...
I: Unpacking libattr1:i386...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking libbz2-1.0:i386...
I: Unpacking coreutils...
I: Unpacking dash...
I: Unpacking libdb5.1: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 libc-bin...
I: Unpacking libc6:i386...
I: Unpacking multiarch-support...
I: Unpacking findutils...
I: Unpacking gcc-4.7-base:i386...
I: Unpacking libgcc1:i386...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
I: Unpacking insserv...
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 mawk...
I: Unpacking libncurses5: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 perl-base...
I: Unpacking sed...
I: Unpacking sensible-utils...
I: Unpacking login...
I: Unpacking passwd...
I: Unpacking libslang2:i386...
I: Unpacking initscripts...
I: Unpacking sysv-rc...
I: Unpacking sysvinit...
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...
I: Unpacking libuuid1:i386...
I: Unpacking mount...
I: Unpacking util-linux...
I: Unpacking liblzma5:i386...
I: Unpacking xz-utils...
I: Unpacking zlib1g:i386...
I: Configuring required packages...
I: Configuring lsb-base...
I: Configuring ncurses-base...
I: Configuring sensible-utils...
I: Configuring libsemanage-common...
I: Configuring gcc-4.7-base:i386...
I: Configuring libc-bin...
I: Configuring libc6:i386...
I: Configuring debianutils...
I: Configuring bsdutils...
I: Configuring tar...
I: Configuring base-passwd...
I: Configuring mawk...
I: Configuring hostname...
I: Configuring insserv...
I: Configuring multiarch-support...
I: Configuring libselinux1:i386...
I: Configuring libustr-1.0-1:i386...
I: Configuring libsepol1:i386...
I: Configuring zlib1g:i386...
I: Configuring libgcc1:i386...
I: Configuring base-files...
I: Configuring libattr1:i386...
I: Configuring e2fslibs:i386...
I: Configuring libcomerr2:i386...
I: Configuring libacl1:i386...
I: Configuring libslang2:i386...
I: Configuring libss2:i386...
I: Configuring liblzma5:i386...
I: Configuring libdb5.1:i386...
I: Configuring libbz2-1.0:i386...
I: Configuring libtinfo5:i386...
I: Configuring sysvinit-utils...
I: Configuring ncurses-bin...
I: Configuring libsemanage1:i386...
I: Configuring libncurses5:i386...
I: Configuring xz-utils...
I: Configuring dpkg...
I: Configuring dash...
I: Configuring coreutils...
I: Configuring perl-base...
I: Configuring diffutils...
I: Configuring libtext-iconv-perl...
I: Configuring sed...
I: Configuring grep...
I: Configuring findutils...
I: Configuring gzip...
I: Configuring liblocale-gettext-perl...
I: Configuring bash...
I: Configuring libtext-charwidth-perl...
I: Configuring libtext-wrapi18n-perl...
I: Configuring debconf...
I: Configuring libpam0g:i386...
I: Configuring sysv-rc...
I: Configuring tzdata...
I: Configuring debconf-i18n...
I: Configuring libpam-modules-bin...
I: Configuring libpam-modules:i386...
I: Configuring passwd...
I: Configuring libpam-runtime...
I: Configuring login...
I: Configuring libuuid1:i386...
I: Configuring libblkid1:i386...
I: Configuring libmount1...
I: Configuring mount...
I: Configuring initscripts...
I: Configuring util-linux...
I: Configuring sysvinit...
I: Configuring e2fsprogs...
I: Unpacking the base system...
I: Unpacking adduser...
I: Unpacking libasound2:i386...
I: Unpacking apt...
I: Unpacking apt-utils...
I: Unpacking libapt-inst1.5:i386...
I: Unpacking libapt-pkg4.12:i386...
I: Unpacking aptitude...
I: Unpacking aptitude-common...
I: Unpacking augeas-lenses...
I: Unpacking augeas-tools...
I: Unpacking libaugeas0...
I: Unpacking bash-completion...
I: Unpacking libbluetooth3:i386...
I: Unpacking libboost-iostreams1.49.0...
I: Unpacking libbrlapi0.5:i386...
I: Unpacking bsdmainutils...
I: Unpacking bzip2...
I: Unpacking cpio...
I: Unpacking cron...
I: Unpacking libcurl3-gnutls:i386...
I: Unpacking libcwidget3...
I: Unpacking libsasl2-2:i386...
I: Unpacking libdbus-1-3:i386...
I: Unpacking debian-archive-keyring...
I: Unpacking debootstrap...
I: Unpacking libfdt1...
I: Unpacking libdirectfb-1.2-9:i386...
I: Unpacking dmidecode...
I: Unpacking dosfstools...
I: Unpacking libexpat1:i386...
I: Unpacking libflac8:i386...
I: Unpacking libstdc++6:i386...
I: Unpacking libgdbm3:i386...
I: Unpacking git...
I: Unpacking git-man...
I: Unpacking libglib2.0-0:i386...
I: Unpacking gnupg...
I: Unpacking gpgv...
I: Unpacking libgnutls26:i386...
I: Unpacking groff-base...
I: Unpacking ifupdown...
I: Unpacking iproute...
I: Unpacking iptables...
I: Unpacking iputils-ping...
I: Unpacking ipxe-qemu...
I: Unpacking isc-dhcp-client...
I: Unpacking isc-dhcp-common...
I: Unpacking libjson0:i386...
I: Unpacking libkeyutils1:i386...
I: Unpacking kmod...
I: Unpacking libkmod2:i386...
I: Unpacking libgssapi-krb5-2:i386...
I: Unpacking libk5crypto3:i386...
I: Unpacking libkrb5-3:i386...
I: Unpacking libkrb5support0:i386...
I: Unpacking less...
I: Unpacking libaio1:i386...
I: Unpacking libasyncns0:i386...
I: Unpacking libbsd0:i386...
I: Unpacking libcaca0:i386...
I: Unpacking libcap2:i386...
I: Unpacking libclass-isa-perl...
I: Unpacking libdrm2:i386...
I: Unpacking libedit2:i386...
I: Unpacking libept1.4.12...
I: Unpacking liberror-perl...
I: Unpacking libffi5:i386...
I: Unpacking libgcrypt11:i386...
I: Unpacking libgpg-error0:i386...
I: Unpacking libice6:i386...
I: Unpacking libidn11:i386...
I: Unpacking libiscsi1:i386...
I: Unpacking libjpeg8:i386...
I: Unpacking libnfnetlink0...
I: Unpacking libogg0:i386...
I: Unpacking libpipeline1:i386...
I: Unpacking libpng12-0:i386...
I: Unpacking libsdl1.2debian:i386...
I: Unpacking libsigc++-2.0-0c2a:i386...
I: Unpacking libsm6:i386...
I: Unpacking libsndfile1:i386...
I: Unpacking libssh2-1:i386...
I: Unpacking libswitch-perl...
I: Unpacking libtasn1-3:i386...
I: Unpacking libusb-0.1-4:i386...
I: Unpacking libvorbis0a:i386...
I: Unpacking libvorbisenc2:i386...
I: Unpacking libx11-6:i386...
I: Unpacking libx11-data...
I: Unpacking libx11-xcb1:i386...
I: Unpacking libxau6:i386...
I: Unpacking libxcb-glx0:i386...
I: Unpacking libxcb1:i386...
I: Unpacking libxdamage1:i386...
I: Unpacking libxdmcp6:i386...
I: Unpacking libxext6:i386...
I: Unpacking libxfixes3:i386...
I: Unpacking libxi6:i386...
I: Unpacking libxml2:i386...
I: Unpacking libxtst6:i386...
I: Unpacking libxxf86vm1:i386...
I: Unpacking logrotate...
I: Unpacking dmsetup...
I: Unpacking libdevmapper1.02.1:i386...
I: Unpacking liblzo2-2:i386...
I: Unpacking man-db...
I: Unpacking manpages...
I: Unpacking libgl1-mesa-glx:i386...
I: Unpacking libglapi-mesa:i386...
I: Unpacking nano...
I: Unpacking libncursesw5:i386...
I: Unpacking net-tools...
I: Unpacking netbase...
I: Unpacking netcat-traditional...
I: Unpacking libnewt0.52...
I: Unpacking whiptail...
I: Unpacking openbios-ppc...
I: Unpacking openbios-sparc...
I: Unpacking openhackware...
I: Unpacking libldap-2.4-2:i386...
I: Unpacking openssh-client...
I: Unpacking libssl1.0.0:i386...
I: Unpacking libp11-kit0:i386...
I: Unpacking libparted0debian1:i386...
I: Unpacking parted...
I: Unpacking libpcre3:i386...
I: Unpacking perl...
I: Unpacking perl-modules...
I: Unpacking libpopt0:i386...
I: Unpacking libprocps0:i386...
I: Unpacking procps...
I: Unpacking libpulse0:i386...
I: Unpacking qemu...
I: Unpacking qemu-keymaps...
I: Unpacking qemu-system...
I: Unpacking qemu-user...
I: Unpacking qemu-utils...
I: Unpacking libreadline6:i386...
I: Unpacking readline-common...
I: Unpacking rsyslog...
I: Unpacking librtmp0:i386...
I: Unpacking seabios...
I: Unpacking libsqlite3-0:i386...
I: Unpacking squashfs-tools...
I: Unpacking sudo...
I: Unpacking tasksel...
I: Unpacking tasksel-data...
I: Unpacking libwrap0:i386...
I: Unpacking info...
I: Unpacking install-info...
I: Unpacking traceroute...
I: Unpacking libts-0.0-0:i386...
I: Unpacking tsconf...
I: Unpacking libudev0:i386...
I: Unpacking udev...
I: Unpacking libusbredirparser0:i386...
I: Unpacking libvdeplug2...
I: Unpacking vgabios...
I: Unpacking vim-common...
I: Unpacking vim-tiny...
I: Unpacking wget...
I: Unpacking libxapian22...
I: Unpacking libxen-4.1...
I: Unpacking libxenstore3.0...
I: Unpacking x11-common...
I: Unpacking zerofree...
I: Configuring the base system...
I: Configuring libxdmcp6:i386...
I: Configuring sudo...
I: Configuring libxml2:i386...
I: Configuring gpgv...
I: Configuring libssl1.0.0:i386...
I: Configuring libdbus-1-3:i386...
I: Configuring libffi5:i386...
I: Configuring libgdbm3:i386...
I: Configuring isc-dhcp-common...
I: Configuring libaio1:i386...
I: Configuring libtasn1-3:i386...
I: Configuring libpopt0:i386...
I: Configuring libusb-0.1-4:i386...
I: Configuring libgpg-error0:i386...
I: Configuring qemu-keymaps...
I: Configuring openhackware...
I: Configuring install-info...
I: Configuring bzip2...
I: Configuring vim-common...
I: Configuring libprocps0:i386...
I: Configuring netbase...
I: Configuring libdrm2:i386...
I: Configuring dmidecode...
I: Configuring libudev0:i386...
I: Configuring libogg0:i386...
I: Configuring liblzo2-2:i386...
I: Configuring libkmod2:i386...
I: Configuring libclass-isa-perl...
I: Configuring libxen-4.1...
I: Configuring adduser...
I: Configuring ipxe-qemu...
I: Configuring traceroute...
I: Configuring libusbredirparser0:i386...
I: Configuring manpages...
I: Configuring seabios...
I: Configuring libasound2:i386...
I: Configuring libbluetooth3:i386...
I: Configuring libsqlite3-0:i386...
I: Configuring libkeyutils1:i386...
I: Configuring openbios-sparc...
I: Configuring libexpat1:i386...
I: Configuring iproute...
I: Configuring vgabios...
I: Configuring libvdeplug2...
I: Configuring libidn11:i386...
I: Configuring libglapi-mesa:i386...
I: Configuring libkrb5support0:i386...
I: Configuring libbrlapi0.5:i386...
I: Configuring libnewt0.52...
I: Configuring x11-common...
I: Configuring net-tools...
I: Configuring squashfs-tools...
I: Configuring libpipeline1:i386...
I: Configuring bash-completion...
I: Configuring libsasl2-2:i386...
I: Configuring bsdmainutils...
I: Configuring libjpeg8:i386...
I: Configuring libbsd0:i386...
I: Configuring dosfstools...
I: Configuring git-man...
I: Configuring netcat-traditional...
I: Configuring debian-archive-keyring...
I: Configuring libpcre3:i386...
I: Configuring libncursesw5:i386...
I: Configuring openbios-ppc...
I: Configuring info...
I: Configuring tsconf...
I: Configuring iputils-ping...
I: Configuring aptitude-common...
I: Configuring libvorbis0a:i386...
I: Configuring cron...
I: Configuring libedit2:i386...
I: Configuring nano...
I: Configuring libice6:i386...
I: Configuring libjson0:i386...
I: Configuring libp11-kit0:i386...
I: Configuring libfdt1...
I: Configuring libx11-data...
I: Configuring zerofree...
I: Configuring libsm6:i386...
I: Configuring libxenstore3.0...
I: Configuring libpng12-0:i386...
I: Configuring rsyslog...
I: Configuring cpio...
I: Configuring libstdc++6:i386...
I: Configuring isc-dhcp-client...
I: Configuring vim-tiny...
I: Configuring less...
I: Configuring libglib2.0-0:i386...
I: Configuring libasyncns0:i386...
I: Configuring libiscsi1:i386...
I: Configuring readline-common...
I: Configuring libcap2:i386...
I: Configuring libnfnetlink0...
I: Configuring libwrap0:i386...
I: Configuring augeas-lenses...
I: Configuring libxau6:i386...
I: Configuring libflac8:i386...
I: Configuring libgcrypt11:i386...
I: Configuring procps...
I: Configuring libxapian22...
I: Configuring libk5crypto3:i386...
I: Configuring whiptail...
I: Configuring ifupdown...
I: Configuring libts-0.0-0:i386...
I: Configuring kmod...
I: Configuring libapt-pkg4.12:i386...
I: Configuring libept1.4.12...
I: Configuring libapt-inst1.5:i386...
I: Configuring libxcb1:i386...
I: Configuring libreadline6:i386...
I: Configuring libvorbisenc2:i386...
I: Configuring logrotate...
I: Configuring libdirectfb-1.2-9:i386...
I: Configuring libboost-iostreams1.49.0...
I: Configuring libxcb-glx0:i386...
I: Configuring groff-base...
I: Configuring gnupg...
I: Configuring libaugeas0...
I: Configuring libsndfile1:i386...
I: Configuring qemu-user...
I: Configuring libx11-6:i386...
I: Configuring libsigc++-2.0-0c2a:i386...
I: Configuring libgnutls26:i386...
I: Configuring libcaca0:i386...
I: Configuring libx11-xcb1:i386...
I: Configuring libldap-2.4-2:i386...
I: Configuring apt-utils...
I: Configuring udev...
I: Configuring iptables...
I: Configuring libkrb5-3:i386...
I: Configuring libssh2-1:i386...
I: Configuring man-db...
I: Configuring libgssapi-krb5-2:i386...
I: Configuring augeas-tools...
I: Configuring apt...
I: Configuring libxext6:i386...
I: Configuring libxi6:i386...
I: Configuring librtmp0:i386...
I: Configuring wget...
I: Configuring debootstrap...
I: Configuring libxfixes3:i386...
I: Configuring libxdamage1:i386...
I: Configuring libcwidget3...
I: Configuring aptitude...
I: Configuring libxtst6:i386...
I: Configuring openssh-client...
I: Configuring libxxf86vm1:i386...
I: Configuring libcurl3-gnutls:i386...
I: Configuring qemu-utils...
I: Configuring libpulse0:i386...
I: Configuring libgl1-mesa-glx:i386...
I: Configuring libsdl1.2debian:i386...
I: Configuring qemu-system...
I: Configuring qemu...
I: Configuring libdevmapper1.02.1:i386...
I: Configuring dmsetup...
I: Configuring libparted0debian1:i386...
I: Configuring libswitch-perl...
I: Configuring tasksel...
I: Configuring tasksel-data...
I: Configuring parted...
I: Configuring perl-modules...
I: Configuring perl...
I: Configuring liberror-perl...
I: Configuring git...
I: Base system installed successfully.
Please enter the password you would like for your schroot user (needed for sudo)
W: line 6 [spindle]: Deprecated key ‘script-config’ used
I: This option will be removed in the future; please update your configuration
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

chroot created at '/home/chronodekar/projects/RaspberryPi/spindle-master/my_spin                                                      dle_chroot'. Use `schroot -c spindle` to enter it
Initiating cleanup
>
next few commands,

Code: Select all

> sudo modprobe nbd max_part=16
> schroot -c spindle
W: line 6 [spindle]: Deprecated key ‘script-config’ used
I: This option will be removed in the future; please update your configuration
>
the downgrading (there's a typo mistake in the readme on this command - can't copy-paste it to my SSH terminal)

Code: Select all

> sudo ./downgrade_qemu
[sudo] password for chronodekar:
--2013-06-25 17:49:51--  http://snapshot.debian.org/archive/debian/20120306T041809Z/pool/main/q/qemu/qemu_1.0.1%2Bdfsg-1_i386.deb
Resolving snapshot.debian.org (snapshot.debian.org)... 193.62.202.30, 2001:630:206:4000:1a1a:0:c13e:ca1e
Connecting to snapshot.debian.org (snapshot.debian.org)|193.62.202.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 110178 (108K) [application/x-debian-package]
Saving to: `qemu_1.0.1+dfsg-1_i386.deb.1'

100%[============================================================================================>] 110,178     28.7K/s   in 3.7s

2013-06-25 17:49:57 (28.7 KB/s) - `qemu_1.0.1+dfsg-1_i386.deb.1' saved [110178/110178]

--2013-06-25 17:49:57--  http://snapshot.debian.org/archive/debian-ports/20120310T114351Z/pool/main/q/qemu/qemu-keymaps_1.0.1%2Bdfsg-1_all.deb
Resolving snapshot.debian.org (snapshot.debian.org)... 193.62.202.30, 2001:630:206:4000:1a1a:0:c13e:ca1e
Connecting to snapshot.debian.org (snapshot.debian.org)|193.62.202.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 47104 (46K) [application/x-debian-package]
Saving to: `qemu-keymaps_1.0.1+dfsg-1_all.deb.1'

100%[============================================================================================>] 47,104      35.1K/s   in 1.3s

2013-06-25 17:49:59 (35.1 KB/s) - `qemu-keymaps_1.0.1+dfsg-1_all.deb.1' saved [47104/47104]

--2013-06-25 17:49:59--  http://snapshot.debian.org/archive/debian/20120306T041809Z/pool/main/q/qemu/qemu-system_1.0.1%2Bdfsg-1_i386.deb
Resolving snapshot.debian.org (snapshot.debian.org)... 193.62.202.30, 2001:630:206:4000:1a1a:0:c13e:ca1e
Connecting to snapshot.debian.org (snapshot.debian.org)|193.62.202.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25946990 (25M) [application/x-debian-package]
Saving to: `qemu-system_1.0.1+dfsg-1_i386.deb.1'

100%[============================================================================================>] 25,946,990  86.8K/s   in 2m 31s

2013-06-25 17:52:31 (168 KB/s) - `qemu-system_1.0.1+dfsg-1_i386.deb.1' saved [25946990/25946990]

--2013-06-25 17:52:31--  http://snapshot.debian.org/archive/debian/20120306T041809Z/pool/main/q/qemu/qemu-user_1.0.1%2Bdfsg-1_i386.deb
Resolving snapshot.debian.org (snapshot.debian.org)... 193.62.202.30, 2001:630:206:4000:1a1a:0:c13e:ca1e
Connecting to snapshot.debian.org (snapshot.debian.org)|193.62.202.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6824320 (6.5M) [application/x-debian-package]
Saving to: `qemu-user_1.0.1+dfsg-1_i386.deb.1'

100%[============================================================================================>] 6,824,320    105K/s   in 51s

2013-06-25 17:53:24 (129 KB/s) - `qemu-user_1.0.1+dfsg-1_i386.deb.1' saved [6824320/6824320]

--2013-06-25 17:53:24--  http://snapshot.debian.org/archive/debian/20120308T042544Z/pool/main/q/qemu/qemu-utils_1.0.1%2Bdfsg-1_i386.deb
Resolving snapshot.debian.org (snapshot.debian.org)... 193.62.202.30, 2001:630:206:4000:1a1a:0:c13e:ca1e
Connecting to snapshot.debian.org (snapshot.debian.org)|193.62.202.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 648246 (633K) [application/x-debian-package]
Saving to: `qemu-utils_1.0.1+dfsg-1_i386.deb.1'

100%[============================================================================================>] 648,246      123K/s   in 6.6s

2013-06-25 17:53:31 (96.5 KB/s) - `qemu-utils_1.0.1+dfsg-1_i386.deb.1' saved [648246/648246]

--2013-06-25 17:53:31--  http://snapshot.debian.org/archive/debian/20120303T221521Z/pool/main/c/ceph/librbd1_0.43-1_i386.deb
Resolving snapshot.debian.org (snapshot.debian.org)... 193.62.202.30, 2001:630:206:4000:1a1a:0:c13e:ca1e
Connecting to snapshot.debian.org (snapshot.debian.org)|193.62.202.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 57056 (56K) [application/x-debian-package]
Saving to: `librbd1_0.43-1_i386.deb.1'

100%[============================================================================================>] 57,056      33.4K/s   in 1.7s

2013-06-25 17:53:34 (33.4 KB/s) - `librbd1_0.43-1_i386.deb.1' saved [57056/57056]

--2013-06-25 17:53:34--  http://snapshot.debian.org/archive/debian/20120303T221521Z/pool/main/c/ceph/librados2_0.43-1_i386.deb
Resolving snapshot.debian.org (snapshot.debian.org)... 193.62.202.30, 2001:630:206:4000:1a1a:0:c13e:ca1e
Connecting to snapshot.debian.org (snapshot.debian.org)|193.62.202.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1133468 (1.1M) [application/x-debian-package]
Saving to: `librados2_0.43-1_i386.deb.1'

100%[============================================================================================>] 1,133,468    199K/s   in 8.3s

2013-06-25 17:53:43 (134 KB/s) - `librados2_0.43-1_i386.deb.1' saved [1133468/1133468]

Selecting previously unselected package librados2.
(Reading database ... 13723 files and directories currently installed.)
Unpacking librados2 (from librados2_0.43-1_i386.deb) ...
Preparing to replace librados2 0.43-1 (using librados2_0.43-1_i386.deb.1) ...
Unpacking replacement librados2 ...
Selecting previously unselected package librbd1.
Unpacking librbd1 (from librbd1_0.43-1_i386.deb) ...
Preparing to replace librbd1 0.43-1 (using librbd1_0.43-1_i386.deb.1) ...
Unpacking replacement librbd1 ...
dpkg: warning: downgrading qemu-keymaps from 1.1.2+dfsg-6a to 1.0.1+dfsg-1
Preparing to replace qemu-keymaps 1.1.2+dfsg-6a (using qemu-keymaps_1.0.1+dfsg-1_all.deb) ...
Unpacking replacement qemu-keymaps ...
Preparing to replace qemu-keymaps 1.0.1+dfsg-1 (using qemu-keymaps_1.0.1+dfsg-1_all.deb.1) ...
Unpacking replacement qemu-keymaps ...
dpkg: warning: downgrading qemu-system from 1.1.2+dfsg-6a to 1.0.1+dfsg-1
Preparing to replace qemu-system 1.1.2+dfsg-6a (using qemu-system_1.0.1+dfsg-1_i386.deb) ...
Unpacking replacement qemu-system ...
Preparing to replace qemu-system 1.0.1+dfsg-1 (using qemu-system_1.0.1+dfsg-1_i386.deb.1) ...
Unpacking replacement qemu-system ...
dpkg: warning: downgrading qemu-user from 1.1.2+dfsg-6a to 1.0.1+dfsg-1
Preparing to replace qemu-user 1.1.2+dfsg-6a (using qemu-user_1.0.1+dfsg-1_i386.deb) ...
Unpacking replacement qemu-user ...
Preparing to replace qemu-user 1.0.1+dfsg-1 (using qemu-user_1.0.1+dfsg-1_i386.deb.1) ...
Unpacking replacement qemu-user ...
dpkg: warning: downgrading qemu-utils from 1.1.2+dfsg-6a to 1.0.1+dfsg-1
Preparing to replace qemu-utils 1.1.2+dfsg-6a (using qemu-utils_1.0.1+dfsg-1_i386.deb) ...
Unpacking replacement qemu-utils ...
Preparing to replace qemu-utils 1.0.1+dfsg-1 (using qemu-utils_1.0.1+dfsg-1_i386.deb.1) ...
Unpacking replacement qemu-utils ...
dpkg: warning: downgrading qemu from 1.1.2+dfsg-6a to 1.0.1+dfsg-1
Preparing to replace qemu 1.1.2+dfsg-6a (using qemu_1.0.1+dfsg-1_i386.deb) ...
Unpacking replacement qemu ...
Preparing to replace qemu 1.0.1+dfsg-1 (using qemu_1.0.1+dfsg-1_i386.deb.1) ...
Unpacking replacement qemu ...
More than one copy of package librados2 has been unpacked
 in this run !  Only configuring it once.
More than one copy of package librbd1 has been unpacked
 in this run !  Only configuring it once.
More than one copy of package qemu-keymaps has been unpacked
 in this run !  Only configuring it once.
More than one copy of package qemu-system has been unpacked
 in this run !  Only configuring it once.
More than one copy of package qemu-user has been unpacked
 in this run !  Only configuring it once.
More than one copy of package qemu-utils has been unpacked
 in this run !  Only configuring it once.
More than one copy of package qemu has been unpacked
 in this run !  Only configuring it once.
dpkg: dependency problems prevent configuration of librados2:
 librados2 depends on libcrypto++9; however:
  Package libcrypto++9 is not installed.

dpkg: error processing librados2 (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of librbd1:
 librbd1 depends on librados2 (= 0.43-1); however:
  Package librados2 is not configured yet.

dpkg: error processing librbd1 (--install):
 dependency problems - leaving unconfigured
Setting up qemu-keymaps (1.0.1+dfsg-1) ...
dpkg: dependency problems prevent configuration of qemu-system:
 qemu-system depends on librados2; however:
  Package librados2 is not configured yet.
 qemu-system depends on librbd1; however:
  Package librbd1 is not configured yet.

dpkg: error processing qemu-system (--install):
 dependency problems - leaving unconfigured
Setting up qemu-user (1.0.1+dfsg-1) ...
dpkg: dependency problems prevent configuration of qemu-utils:
 qemu-utils depends on librados2; however:
  Package librados2 is not configured yet.
 qemu-utils depends on librbd1; however:
  Package librbd1 is not configured yet.

dpkg: error processing qemu-utils (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qemu:
 qemu depends on qemu-system (>= 1.0.1+dfsg-1); however:
  Package qemu-system is not configured yet.
 qemu depends on qemu-utils (>= 1.0.1+dfsg-1); however:
  Package qemu-utils is not configured yet.

dpkg: error processing qemu (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Errors were encountered while processing:
 librados2
 librbd1
 qemu-system
 qemu-utils
 qemu
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libcrypto++9
The following NEW packages will be installed:
  libcrypto++9
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
5 not fully installed or removed.
Need to get 0 B/1328 kB of archives.
After this operation, 4422 kB of additional disk space will be used.
Do you want to continue [Y/n]?
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package libcrypto++9.
(Reading database ... 13731 files and directories currently installed.)
Unpacking libcrypto++9 (from .../libcrypto++9_5.6.1-6_i386.deb) ...
Setting up libcrypto++9 (5.6.1-6) ...
Setting up librados2 (0.43-1) ...
Setting up librbd1 (0.43-1) ...
Setting up qemu-system (1.0.1+dfsg-1) ...
Setting up qemu-utils (1.0.1+dfsg-1) ...
Setting up qemu (1.0.1+dfsg-1) ...
Hopefully downgraded to qemu 1.0.1 successfully, take a look...
ii  ipxe-qemu                          1.0.0+git-20120202.f6840ba-3 all          PXE boot firmware - ROM images for qemu
ii  qemu                               1.0.1+dfsg-1                 i386         fast processor emulator
ii  qemu-keymaps                       1.0.1+dfsg-1                 all          QEMU keyboard maps
ii  qemu-system                        1.0.1+dfsg-1                 i386         QEMU full system emulation binaries
ii  qemu-user                          1.0.1+dfsg-1                 i386         QEMU user mode emulation binaries
ii  qemu-utils                         1.0.1+dfsg-1                 i386         QEMU utilities
>

and some of the actual work (I think) now,

Code: Select all

> ./wheezy-stage0
Formatting 'stage0.qed', fmt=qed size=1939865600 cluster_size=65536 table_size=0
NBD device /dev/nbd0 is now connected to stage0.qed
GNU Parted 2.3
Using /dev/nbd0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)   unit b
(parted)   mklabel msdos
(parted)   mkpart primary fat32 4194304 62914559
(parted)   mkpart primary ext4 62914560 100%
(parted)   print
Model: Unknown (unknown)
Disk /dev/nbd0: 1939865600B
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start      End          Size         Type     File system  Flags
 1      4194304B   62914559B    58720256B    primary               lba
 2      62914560B  1939865599B  1876951040B  primary

(parted)   quit
Information: You may need to update /etc/fstab.

mkdosfs 3.0.13 (30 Jun 2012)
unable to get drive geometry, using default 255/63
/dev/nbd0p1 has 255 heads and 63 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 114688 sectors;
file system has 2 16-bit FATs and 16 sectors per cluster.
FAT size is 32 sectors, and provides 7161 clusters.
There are 16 reserved sectors.
Root directory contains 512 slots and uses 32 sectors.
Volume ID is 974c766d, volume label boot       .
mke2fs 1.42.5 (29-Jul-2012)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/nbd0p2 is mounted.
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
114688 inodes, 458240 blocks
22912 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=469762048
14 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

I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Retrieving Packages
I: Validating Packages
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: cpio initramfs-tools insserv klibc-utils kmod libbz2-1.0 libdb5.1 libdbus-1-3 libklibc libkmod2 libncursesw5 libnih-dbus1 libnih1 libprocps0 libsemanage-common libsemanage1 libudev0 libustr-1.0-1 makedev plymouth procps udev
I: Found additional base dependencies: libapt-pkg-dev libbsd0 libc-dev-bin libc6-dev libgcrypt11 libgnutls26 libgpg-error0 libidn11 libnfnetlink0 libp11-kit0 libsigc++-2.0-0c2a libsqlite3-0 libtagcoll2-dev libtasn1-3 libwibble-dev libxapian-dev linux-libc-dev zlib1g-dev
I: Checking component main on http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian...
I: Retrieving adduser
I: Validating adduser
I: Retrieving apt

That last one is incomplete, but its too late for me. I'll continue this when I get time again.

Thanks for your help asb, its appreciated.

-chronodekar

Re: trouble building the distro in VirtualBox

Posted: Tue Jun 25, 2013 8:30 pm
by asb
Great, that's definitely got you round the qemu issue. There's nothing wrong with the other output you post, so it should run to completion now.

Most things only need to be downloaded once (though network access is always required). The packages for stage0 aren't cached though (it's a bit of a pain to do so). Any packages installed after that are cached in a persistent qemu image file.

Re: trouble building the distro in VirtualBox

Posted: Wed Jun 26, 2013 3:36 am
by chronodekar
And here is the rest of the output,

Code: Select all

> ./wheezy-stage0
Formatting 'stage0.qed', fmt=qed size=1939865600 cluster_size=65536 table_size=0
NBD device /dev/nbd0 is now connected to stage0.qed
GNU Parted 2.3
Using /dev/nbd0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)   unit b
(parted)   mklabel msdos
(parted)   mkpart primary fat32 4194304 62914559
(parted)   mkpart primary ext4 62914560 100%
(parted)   print
Model: Unknown (unknown)
Disk /dev/nbd0: 1939865600B
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start      End          Size         Type     File system  Flags
 1      4194304B   62914559B    58720256B    primary               lba
 2      62914560B  1939865599B  1876951040B  primary

(parted)   quit
Information: You may need to update /etc/fstab.

mkdosfs 3.0.13 (30 Jun 2012)
unable to get drive geometry, using default 255/63
/dev/nbd0p1 has 255 heads and 63 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 114688 sectors;
file system has 2 16-bit FATs and 16 sectors per cluster.
FAT size is 32 sectors, and provides 7161 clusters.
There are 16 reserved sectors.
Root directory contains 512 slots and uses 32 sectors.
Volume ID is 6c4ce25e, volume label boot       .
mke2fs 1.42.5 (29-Jul-2012)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/nbd0p2 is mounted.
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
114688 inodes, 458240 blocks
22912 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=469762048
14 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

I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Retrieving Packages
I: Validating Packages
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: cpio initramfs-tools insserv klibc-utils kmod libbz2-1.0 libdb5.1 libdbus-1-3 libklibc libkmod2 libncursesw5 libnih-dbus1 libnih1 libprocps0 libsemanage-common libsemanage1 libudev0 libustr-1.0-1 makedev plymouth procps udev
I: Found additional base dependencies: libapt-pkg-dev libbsd0 libc-dev-bin libc6-dev libgcrypt11 libgnutls26 libgpg-error0 libidn11 libnfnetlink0 libp11-kit0 libsigc++-2.0-0c2a libsqlite3-0 libtagcoll2-dev libtasn1-3 libwibble-dev libxapian-dev linux-libc-dev zlib1g-dev
I: Checking component main on http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian...
I: Retrieving adduser
I: Validating adduser
I: Retrieving apt
I: Validating apt
I: Retrieving apt-utils
I: Validating apt-utils
I: Retrieving aptitude
I: Validating aptitude
I: Retrieving aptitude-common
I: Validating aptitude-common
I: Retrieving base-files
I: Validating base-files
I: Retrieving base-passwd
I: Validating base-passwd
I: Retrieving bash
I: Validating bash
I: Retrieving bsdmainutils
I: Validating bsdmainutils
I: Retrieving bsdutils
I: Validating bsdutils
I: Retrieving bzip2
I: Validating bzip2
I: Retrieving coreutils
I: Validating coreutils
I: Retrieving cpio
I: Validating cpio
I: Retrieving cron
I: Validating cron
I: Retrieving dash
I: Validating dash
I: Retrieving debconf
I: Validating debconf
I: Retrieving debconf-i18n
I: Validating debconf-i18n
I: Retrieving debianutils
I: Validating debianutils
I: Retrieving diffutils
I: Validating diffutils
I: Retrieving dpkg
I: Validating dpkg
I: Retrieving e2fslibs
I: Validating e2fslibs
I: Retrieving e2fsprogs
I: Validating e2fsprogs
I: Retrieving findutils
I: Validating findutils
I: Retrieving gcc-4.5-base
I: Validating gcc-4.5-base
I: Retrieving gcc-4.6-base
I: Validating gcc-4.6-base
I: Retrieving gcc-4.7-base
I: Validating gcc-4.7-base
I: Retrieving gnupg
I: Validating gnupg
I: Retrieving gpgv
I: Validating gpgv
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 ifupdown
I: Validating ifupdown
I: Retrieving info
I: Validating info
I: Retrieving initramfs-tools
I: Validating initramfs-tools
I: Retrieving initscripts
I: Validating initscripts
I: Retrieving insserv
I: Validating insserv
I: Retrieving install-info
I: Validating install-info
I: Retrieving iproute
I: Validating iproute
I: Retrieving iptables
I: Validating iptables
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 klibc-utils
I: Validating klibc-utils
I: Retrieving kmod
I: Validating kmod
I: Retrieving libacl1
I: Validating libacl1
I: Retrieving libapt-inst1.5
I: Validating libapt-inst1.5
I: Retrieving libapt-pkg-dev
I: Validating libapt-pkg-dev
I: Retrieving libapt-pkg4.12
I: Validating libapt-pkg4.12
I: Retrieving libattr1
I: Validating libattr1
I: Retrieving libblkid1
I: Validating libblkid1
I: Retrieving libboost-iostreams1.46.1
I: Validating libboost-iostreams1.46.1
I: Retrieving libboost-iostreams1.48.0
I: Validating libboost-iostreams1.48.0
I: Retrieving libboost-iostreams1.49.0
I: Validating libboost-iostreams1.49.0
I: Retrieving libboost-iostreams1.50.0
I: Validating libboost-iostreams1.50.0
I: Retrieving libbsd0
I: Validating libbsd0
I: Retrieving libbz2-1.0
I: Validating libbz2-1.0
I: Retrieving libc-bin
I: Validating libc-bin
I: Retrieving libc-dev-bin
I: Validating libc-dev-bin
I: Retrieving libc6
I: Validating libc6
I: Retrieving libc6-dev
I: Validating libc6-dev
I: Retrieving libcomerr2
I: Validating libcomerr2
I: Retrieving libcwidget3
I: Validating libcwidget3
I: Retrieving libdb5.1
I: Validating libdb5.1
I: Retrieving libdbus-1-3
I: Validating libdbus-1-3
I: Retrieving libept-dev
I: Validating libept-dev
I: Retrieving libept1.4.12
I: Validating libept1.4.12
I: Retrieving libgcc1
I: Validating libgcc1
I: Retrieving libgcrypt11
I: Validating libgcrypt11
I: Retrieving libgdbm3
I: Validating libgdbm3
I: Retrieving libgnutls26
I: Validating libgnutls26
I: Retrieving libgpg-error0
I: Validating libgpg-error0
I: Retrieving libident
I: Validating libident
I: Retrieving libidn11
I: Validating libidn11
I: Retrieving libklibc
I: Validating libklibc
I: Retrieving libkmod2
I: Validating libkmod2
I: Retrieving liblocale-gettext-perl
I: Validating liblocale-gettext-perl
I: Retrieving liblzma5
I: Validating liblzma5
I: Retrieving libmount1
I: Validating libmount1
I: Retrieving libncurses5
I: Validating libncurses5
I: Retrieving libncursesw5
I: Validating libncursesw5
I: Retrieving libnewt0.52
I: Validating libnewt0.52
I: Retrieving libnfnetlink0
I: Validating libnfnetlink0
I: Retrieving libnih-dbus1
I: Validating libnih-dbus1
I: Retrieving libnih1
I: Validating libnih1
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 libpipeline1
I: Validating libpipeline1
I: Retrieving libpopt0
I: Validating libpopt0
I: Retrieving libprocps0
I: Validating libprocps0
I: Retrieving libreadline6
I: Validating libreadline6
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++-1.2-5c2
I: Validating libsigc++-1.2-5c2
I: Retrieving libsigc++-2.0-0c2a
I: Validating libsigc++-2.0-0c2a
I: Retrieving libslang2
I: Validating libslang2
I: Retrieving libsqlite3-0
I: Validating libsqlite3-0
I: Retrieving libss2
I: Validating libss2
I: Retrieving libssl1.0.0
I: Validating libssl1.0.0
I: Retrieving libstdc++6
I: Validating libstdc++6
I: Retrieving libsysfs2
I: Validating libsysfs2
I: Retrieving libtagcoll2-dev
I: Validating libtagcoll2-dev
I: Retrieving libtasn1-3
I: Validating libtasn1-3
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 libtinfo5
I: Validating libtinfo5
I: Retrieving libudev0
I: Validating libudev0
I: Retrieving libusb-0.1-4
I: Validating libusb-0.1-4
I: Retrieving libustr-1.0-1
I: Validating libustr-1.0-1
I: Retrieving libuuid1
I: Validating libuuid1
I: Retrieving libwibble-dev
I: Validating libwibble-dev
I: Retrieving libxapian-dev
I: Validating libxapian-dev
I: Retrieving libxapian22
I: Validating libxapian22
I: Retrieving linux-libc-dev
I: Validating linux-libc-dev
I: Retrieving login
I: Validating login
I: Retrieving logrotate
I: Validating logrotate
I: Retrieving lsb-base
I: Validating lsb-base
I: Retrieving makedev
I: Validating makedev
I: Retrieving man-db
I: Validating man-db
I: Retrieving manpages
I: Validating manpages
I: Retrieving mawk
I: Validating mawk
I: Retrieving mount
I: Validating mount
I: Retrieving mountall
I: Validating mountall
I: Retrieving multiarch-support
I: Validating multiarch-support
I: Retrieving nano
I: Validating nano
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-openbsd
I: Validating netcat-openbsd
I: Retrieving netcat-traditional
I: Validating netcat-traditional
I: Retrieving passwd
I: Validating passwd
I: Retrieving perl-base
I: Validating perl-base
I: Retrieving plymouth
I: Validating plymouth
I: Retrieving procps
I: Validating procps
I: Retrieving raspbian-archive-keyring
I: Validating raspbian-archive-keyring
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 sysv-rc
I: Validating sysv-rc
I: Retrieving sysvinit
I: Validating sysvinit
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 udev
I: Validating udev
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 whiptail
I: Validating whiptail
I: Retrieving xz-utils
I: Validating xz-utils
I: Retrieving zlib1g
I: Validating zlib1g
I: Retrieving zlib1g-dev
I: Validating zlib1g-dev
I: Chosen extractor for .deb packages: dpkg-deb
I: Extracting base-files...
I: Extracting base-passwd...
I: Extracting bash...
I: Extracting bsdutils...
I: Extracting coreutils...
I: Extracting cpio...
I: Extracting dash...
I: Extracting debconf...
I: Extracting debconf-i18n...
I: Extracting debianutils...
I: Extracting diffutils...
I: Extracting dpkg...
I: Extracting e2fslibs...
I: Extracting e2fsprogs...
I: Extracting findutils...
I: Extracting gcc-4.5-base...
I: Extracting gcc-4.6-base...
I: Extracting gcc-4.7-base...
I: Extracting grep...
I: Extracting gzip...
I: Extracting hostname...
I: Extracting initramfs-tools...
I: Extracting initscripts...
I: Extracting insserv...
I: Extracting klibc-utils...
I: Extracting kmod...
I: Extracting libacl1...
I: Extracting libattr1...
I: Extracting libblkid1...
I: Extracting libbz2-1.0...
I: Extracting libc-bin...
I: Extracting libc6...
I: Extracting libcomerr2...
I: Extracting libdb5.1...
I: Extracting libdbus-1-3...
I: Extracting libgcc1...
I: Extracting libklibc...
I: Extracting libkmod2...
I: Extracting liblocale-gettext-perl...
I: Extracting liblzma5...
I: Extracting libmount1...
I: Extracting libncurses5...
I: Extracting libncursesw5...
I: Extracting libnih-dbus1...
I: Extracting libnih1...
I: Extracting libpam-modules...
I: Extracting libpam-modules-bin...
I: Extracting libpam-runtime...
I: Extracting libpam0g...
I: Extracting libprocps0...
I: Extracting libselinux1...
I: Extracting libsemanage-common...
I: Extracting libsemanage1...
I: Extracting libsepol1...
I: Extracting libslang2...
I: Extracting libss2...
I: Extracting libtext-charwidth-perl...
I: Extracting libtext-iconv-perl...
I: Extracting libtext-wrapi18n-perl...
I: Extracting libtinfo5...
I: Extracting libudev0...
I: Extracting libustr-1.0-1...
I: Extracting libuuid1...
I: Extracting login...
I: Extracting lsb-base...
I: Extracting makedev...
I: Extracting mawk...
I: Extracting mount...
I: Extracting mountall...
I: Extracting multiarch-support...
I: Extracting ncurses-base...
I: Extracting ncurses-bin...
I: Extracting passwd...
I: Extracting perl-base...
I: Extracting plymouth...
I: Extracting procps...
I: Extracting sed...
I: Extracting sensible-utils...
I: Extracting sysv-rc...
I: Extracting sysvinit...
I: Extracting sysvinit-utils...
I: Extracting tar...
I: Extracting tzdata...
I: Extracting udev...
I: Extracting util-linux...
I: Extracting xz-utils...
I: Extracting zlib1g...
Initiating cleanup
[sudo] password for chronodekar:
umount: /dev/nbd0: not mounted
/build/qemu-4PL7po/qemu-1.0.1+dfsg/nbd.c:nbd_trip():L613: From: 18446744073709551104, Len: 0, Size: 1939865600, Offset: 0

/build/qemu-4PL7po/qemu-1.0.1+dfsg/nbd.c:nbd_trip():L614: requested operation past EOF--bad client?
/dev/nbd0 disconnected
Completed script successfully
>

Not sure if I should be concerned about the 'nbd0' not unmounting. Proceeding with the next command (the earlier one took a good 30 - 45 mins to complete! Most of the time spent on 'Retrieving' stuff )

Code: Select all

> ./wheezy-stage1
Formatting 'stage1.qed', fmt=qed size=1939865600 backing_file='../out/stage0.qed' cluster_size=65536 table_size=0
simple-root-filesystem-armv6l/
simple-root-filesystem-armv6l/usr/
simple-root-filesystem-armv6l/usr/src/
simple-root-filesystem-armv6l/usr/src/thread-hello2.c
simple-root-filesystem-armv6l/usr/src/config-busybox
simple-root-filesystem-armv6l/usr/src/thread-hello.c
simple-root-filesystem-armv6l/usr/src/MANIFEST
simple-root-filesystem-armv6l/usr/src/hello.cpp
simple-root-filesystem-armv6l/usr/src/host-info
simple-root-filesystem-armv6l/usr/etc/
simple-root-filesystem-armv6l/usr/etc/group
simple-root-filesystem-armv6l/usr/etc/mdev.conf
simple-root-filesystem-armv6l/usr/etc/resolv.conf
simple-root-filesystem-armv6l/usr/etc/mtab
simple-root-filesystem-armv6l/usr/etc/passwd
simple-root-filesystem-armv6l/usr/sbin/
simple-root-filesystem-armv6l/usr/sbin/record-commands
simple-root-filesystem-armv6l/usr/sbin/init.sh
simple-root-filesystem-armv6l/usr/sbin/zapchroot
simple-root-filesystem-armv6l/usr/sbin/setup-chroot
simple-root-filesystem-armv6l/usr/sbin/oneit
simple-root-filesystem-armv6l/usr/bin/
simple-root-filesystem-armv6l/usr/bin/sha1sum
simple-root-filesystem-armv6l/usr/bin/cat
simple-root-filesystem-armv6l/usr/bin/mktemp
simple-root-filesystem-armv6l/usr/bin/expr
simple-root-filesystem-armv6l/usr/bin/cpio
simple-root-filesystem-armv6l/usr/bin/init
simple-root-filesystem-armv6l/usr/bin/bzcat
simple-root-filesystem-armv6l/usr/bin/patch
simple-root-filesystem-armv6l/usr/bin/[[
simple-root-filesystem-armv6l/usr/bin/pkill
simple-root-filesystem-armv6l/usr/bin/bzip2
simple-root-filesystem-armv6l/usr/bin/getent
simple-root-filesystem-armv6l/usr/bin/ash
simple-root-filesystem-armv6l/usr/bin/xargs
simple-root-filesystem-armv6l/usr/bin/diff
simple-root-filesystem-armv6l/usr/bin/dmesg
simple-root-filesystem-armv6l/usr/bin/sync
simple-root-filesystem-armv6l/usr/bin/gzip
simple-root-filesystem-armv6l/usr/bin/hello-static
simple-root-filesystem-armv6l/usr/bin/mv
simple-root-filesystem-armv6l/usr/bin/rm
simple-root-filesystem-armv6l/usr/bin/chmod
simple-root-filesystem-armv6l/usr/bin/pgrep
simple-root-filesystem-armv6l/usr/bin/tee
simple-root-filesystem-armv6l/usr/bin/basename
simple-root-filesystem-armv6l/usr/bin/sleep
simple-root-filesystem-armv6l/usr/bin/nc
simple-root-filesystem-armv6l/usr/bin/record-commands-wrapper
simple-root-filesystem-armv6l/usr/bin/tail
simple-root-filesystem-armv6l/usr/bin/[
simple-root-filesystem-armv6l/usr/bin/chown
simple-root-filesystem-armv6l/usr/bin/rmdir
simple-root-filesystem-armv6l/usr/bin/mdev
simple-root-filesystem-armv6l/usr/bin/less
simple-root-filesystem-armv6l/usr/bin/env
simple-root-filesystem-armv6l/usr/bin/ping
simple-root-filesystem-armv6l/usr/bin/find
simple-root-filesystem-armv6l/usr/bin/ln
simple-root-filesystem-armv6l/usr/bin/hostname
simple-root-filesystem-armv6l/usr/bin/uniq
simple-root-filesystem-armv6l/usr/bin/ftpput
simple-root-filesystem-armv6l/usr/bin/busybox
simple-root-filesystem-armv6l/usr/bin/gunzip
simple-root-filesystem-armv6l/usr/bin/chgrp
simple-root-filesystem-armv6l/usr/bin/tar
simple-root-filesystem-armv6l/usr/bin/hello-dynamic
simple-root-filesystem-armv6l/usr/bin/date
simple-root-filesystem-armv6l/usr/bin/route
simple-root-filesystem-armv6l/usr/bin/awk
simple-root-filesystem-armv6l/usr/bin/echo
simple-root-filesystem-armv6l/usr/bin/mount
simple-root-filesystem-armv6l/usr/bin/egrep
simple-root-filesystem-armv6l/usr/bin/comm
simple-root-filesystem-armv6l/usr/bin/bunzip2
simple-root-filesystem-armv6l/usr/bin/tac
simple-root-filesystem-armv6l/usr/bin/sed
simple-root-filesystem-armv6l/usr/bin/zcat
simple-root-filesystem-armv6l/usr/bin/chroot
simple-root-filesystem-armv6l/usr/bin/id
simple-root-filesystem-armv6l/usr/bin/wc
simple-root-filesystem-armv6l/usr/bin/pwd
simple-root-filesystem-armv6l/usr/bin/dd
simple-root-filesystem-armv6l/usr/bin/stat
simple-root-filesystem-armv6l/usr/bin/ftpget
simple-root-filesystem-armv6l/usr/bin/install
simple-root-filesystem-armv6l/usr/bin/umount
simple-root-filesystem-armv6l/usr/bin/lspci
simple-root-filesystem-armv6l/usr/bin/sh
simple-root-filesystem-armv6l/usr/bin/od
simple-root-filesystem-armv6l/usr/bin/split
simple-root-filesystem-armv6l/usr/bin/mountpoint
simple-root-filesystem-armv6l/usr/bin/time
simple-root-filesystem-armv6l/usr/bin/ifconfig
simple-root-filesystem-armv6l/usr/bin/ls
simple-root-filesystem-armv6l/usr/bin/test
simple-root-filesystem-armv6l/usr/bin/mkdir
simple-root-filesystem-armv6l/usr/bin/head
simple-root-filesystem-armv6l/usr/bin/touch
simple-root-filesystem-armv6l/usr/bin/whoami
simple-root-filesystem-armv6l/usr/bin/readlink
simple-root-filesystem-armv6l/usr/bin/grep
simple-root-filesystem-armv6l/usr/bin/cut
simple-root-filesystem-armv6l/usr/bin/yes
simple-root-filesystem-armv6l/usr/bin/sort
simple-root-filesystem-armv6l/usr/bin/cmp
simple-root-filesystem-armv6l/usr/bin/wget
simple-root-filesystem-armv6l/usr/bin/dirname
simple-root-filesystem-armv6l/usr/bin/true
simple-root-filesystem-armv6l/usr/bin/cp
simple-root-filesystem-armv6l/usr/bin/logname
simple-root-filesystem-armv6l/usr/bin/ftpd
simple-root-filesystem-armv6l/usr/bin/losetup
simple-root-filesystem-armv6l/usr/bin/uname
simple-root-filesystem-armv6l/usr/bin/vi
simple-root-filesystem-armv6l/usr/bin/which
simple-root-filesystem-armv6l/usr/bin/dnsdomainname
simple-root-filesystem-armv6l/usr/bin/tr
simple-root-filesystem-armv6l/usr/bin/switch_root
simple-root-filesystem-armv6l/usr/bin/man
simple-root-filesystem-armv6l/usr/lib/
simple-root-filesystem-armv6l/usr/lib/libuClibc++-0.2.2.so
simple-root-filesystem-armv6l/usr/lib/libcrypt.so.0
simple-root-filesystem-armv6l/usr/lib/libnsl.so.0
simple-root-filesystem-armv6l/usr/lib/libc.so.0
simple-root-filesystem-armv6l/usr/lib/libutil.so
simple-root-filesystem-armv6l/usr/lib/libdl-0.9.32.1.so
simple-root-filesystem-armv6l/usr/lib/libm-0.9.32.1.so
simple-root-filesystem-armv6l/usr/lib/libdl.so.0
simple-root-filesystem-armv6l/usr/lib/libgcc_s.so
simple-root-filesystem-armv6l/usr/lib/libuClibc++.so
simple-root-filesystem-armv6l/usr/lib/libdl.so
simple-root-filesystem-armv6l/usr/lib/libcrypt-0.9.32.1.so
simple-root-filesystem-armv6l/usr/lib/ld-uClibc.so.0
simple-root-filesystem-armv6l/usr/lib/libutil.so.0
simple-root-filesystem-armv6l/usr/lib/libc.so
simple-root-filesystem-armv6l/usr/lib/librt-0.9.32.1.so
simple-root-filesystem-armv6l/usr/lib/ld-uClibc-0.9.32.1.so
simple-root-filesystem-armv6l/usr/lib/libm.so
simple-root-filesystem-armv6l/usr/lib/libresolv.so.0
simple-root-filesystem-armv6l/usr/lib/libuClibc++.so.0
simple-root-filesystem-armv6l/usr/lib/libnsl.so
simple-root-filesystem-armv6l/usr/lib/libnsl-0.9.32.1.so
simple-root-filesystem-armv6l/usr/lib/libcrypt.so
simple-root-filesystem-armv6l/usr/lib/libgcc_s.so.1
simple-root-filesystem-armv6l/usr/lib/libutil-0.9.32.1.so
simple-root-filesystem-armv6l/usr/lib/libpthread.so
simple-root-filesystem-armv6l/usr/lib/libm.so.0
simple-root-filesystem-armv6l/usr/lib/libpthread.so.0
simple-root-filesystem-armv6l/usr/lib/libpthread-0.9.32.1.so
simple-root-filesystem-armv6l/usr/lib/libresolv.so
simple-root-filesystem-armv6l/usr/lib/libstdc++.so
simple-root-filesystem-armv6l/usr/lib/libuClibc-0.9.32.1.so
simple-root-filesystem-armv6l/usr/lib/librt.so
simple-root-filesystem-armv6l/usr/lib/librt.so.0
simple-root-filesystem-armv6l/usr/lib/libresolv-0.9.32.1.so
simple-root-filesystem-armv6l/proc/
simple-root-filesystem-armv6l/etc
simple-root-filesystem-armv6l/dev/
simple-root-filesystem-armv6l/sbin
simple-root-filesystem-armv6l/sys/
simple-root-filesystem-armv6l/tmp/
simple-root-filesystem-armv6l/bin
simple-root-filesystem-armv6l/mnt/
simple-root-filesystem-armv6l/root/
simple-root-filesystem-armv6l/lib
simple-root-filesystem-armv6l/home/
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on qemu_rootfs.sqf, block size 131072.
[=======================================================================================================================|] 73/73 100%
Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
        compressed data, compressed metadata, compressed fragments, compressed xattrs
        duplicates are removed
Filesystem size 1053.92 Kbytes (1.03 Mbytes)
        34.20% of uncompressed filesystem size (3081.67 Kbytes)
Inode table size 1175 bytes (1.15 Kbytes)
        21.21% of uncompressed inode table size (5541 bytes)
Directory table size 1620 bytes (1.58 Kbytes)
        59.69% of uncompressed directory table size (2714 bytes)
Number of duplicate files found 11
Number of inodes 173
Number of files 58
Number of fragments 6
Number of symbolic links  100
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 15
Number of ids (unique uids + gids) 1
Number of uids 1
        root (0)
Number of gids 1
        root (0)
rm: cannot remove `fifo.out': No such file or directory
rm: cannot remove `fifo.in': No such file or directory
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
audio: Failed to create voice `lm4549.out'
+ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ ./debootstrap/debootstrap --second-stage
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking bsdutils...
I: Unpacking coreutils...
I: Unpacking cpio...
I: Unpacking dash...
I: Unpacking debconf...
I: Unpacking debconf-i18n...
I: Unpacking debianutils...
I: Unpacking diffutils...
I: Unpacking dpkg...
I: Unpacking e2fslibs:armhf...
I: Unpacking e2fsprogs...
I: Unpacking findutils...
I: Unpacking gcc-4.5-base:armhf...
I: Unpacking gcc-4.6-base:armhf...
I: Unpacking gcc-4.7-base:armhf...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
I: Unpacking initramfs-tools...
I: Unpacking initscripts...
I: Unpacking insserv...
I: Unpacking klibc-utils...
I: Unpacking kmod...
I: Unpacking libacl1:armhf...
I: Unpacking libattr1:armhf...
I: Unpacking libblkid1:armhf...
I: Unpacking libbz2-1.0:armhf...
I: Unpacking libc-bin...
I: Unpacking libc6:armhf...
I: Unpacking libcomerr2:armhf...
I: Unpacking libdb5.1:armhf...
I: Unpacking libdbus-1-3:armhf...
I: Unpacking libgcc1:armhf...
I: Unpacking libklibc...
I: Unpacking libkmod2:armhf...
I: Unpacking liblocale-gettext-perl...
I: Unpacking liblzma5:armhf...
I: Unpacking libmount1...
I: Unpacking libncurses5:armhf...
I: Unpacking libncursesw5:armhf...
I: Unpacking libnih-dbus1...
I: Unpacking libnih1...
I: Unpacking libpam-modules:armhf...
I: Unpacking libpam-modules-bin...
I: Unpacking libpam-runtime...
I: Unpacking libpam0g:armhf...
I: Unpacking libprocps0:armhf...
I: Unpacking libselinux1:armhf...
I: Unpacking libsemanage-common...
I: Unpacking libsemanage1:armhf...
I: Unpacking libsepol1:armhf...
I: Unpacking libslang2:armhf...
I: Unpacking libss2:armhf...
I: Unpacking libtext-charwidth-perl...
I: Unpacking libtext-iconv-perl...
I: Unpacking libtext-wrapi18n-perl...
I: Unpacking libtinfo5:armhf...
I: Unpacking libudev0:armhf...
I: Unpacking libustr-1.0-1:armhf...
I: Unpacking libuuid1:armhf...
I: Unpacking login...
I: Unpacking lsb-base...
I: Unpacking makedev...
I: Unpacking mawk...
I: Unpacking mount...
I: Unpacking mountall...
I: Unpacking multiarch-support...
I: Unpacking ncurses-base...
I: Unpacking ncurses-bin...
I: Unpacking passwd...
I: Unpacking perl-base...
I: Unpacking plymouth...
I: Unpacking procps...
I: Unpacking sed...
I: Unpacking sensible-utils...
I: Unpacking sysv-rc...
I: Unpacking sysvinit...
I: Unpacking sysvinit-utils...
I: Unpacking tar...
I: Unpacking tzdata...
I: Unpacking udev...
I: Unpacking util-linux...
I: Unpacking xz-utils...
I: Unpacking zlib1g:armhf...
I: Configuring required packages...
I: Configuring lsb-base...
I: Configuring ncurses-base...
I: Configuring sensible-utils...
I: Configuring libklibc...
I: Configuring klibc-utils...
I: Configuring libsemanage-common...
I: Configuring gcc-4.7-base:armhf...
I: Configuring libc-bin...
I: Configuring gcc-4.5-base:armhf...
I: Configuring gcc-4.6-base:armhf...
I: Configuring libc6:armhf...
I: Configuring debianutils...
I: Configuring base-passwd...
I: Configuring mawk...
I: Configuring hostname...
I: Configuring libnih1...
I: Configuring insserv...
I: Configuring multiarch-support...
I: Configuring libselinux1:armhf...
I: Configuring makedev...
I: Configuring libdbus-1-3:armhf...
I: Configuring libprocps0:armhf...
I: Configuring libsepol1:armhf...
I: Configuring libgcc1:armhf...
I: Configuring base-files...
I: Configuring libattr1:armhf...
I: Configuring e2fslibs:armhf...
I: Configuring libcomerr2:armhf...
I: Configuring libacl1:armhf...
I: Configuring libslang2:armhf...
I: Configuring libss2:armhf...
I: Configuring liblzma5:armhf...
I: Configuring libdb5.1:armhf...
I: Configuring libbz2-1.0:armhf...
I: Configuring libtinfo5:armhf...
I: Configuring sysvinit-utils...
I: Configuring libnih-dbus1...
I: Configuring libustr-1.0-1:armhf...
I: Configuring bsdutils...
I: Configuring ncurses-bin...
I: Configuring libudev0:armhf...
I: Configuring libsemanage1:armhf...
I: Configuring libkmod2:armhf...
I: Configuring tar...
I: Configuring zlib1g:armhf...
I: Configuring libncurses5:armhf...
I: Configuring xz-utils...
I: Configuring dpkg...
I: Configuring libncursesw5:armhf...
I: Configuring cpio...
I: Configuring dash...
I: Configuring coreutils...
I: Configuring perl-base...
I: Configuring kmod...
I: Configuring diffutils...
I: Configuring libtext-iconv-perl...
I: Configuring sed...
I: Configuring grep...
I: Configuring findutils...
I: Configuring gzip...
I: Configuring liblocale-gettext-perl...
I: Configuring bash...
I: Configuring libtext-charwidth-perl...
I: Configuring libtext-wrapi18n-perl...
I: Configuring debconf...
I: Configuring libpam0g:armhf...
I: Configuring sysv-rc...
I: Configuring tzdata...
I: Configuring debconf-i18n...
I: Configuring initscripts...
I: Configuring libpam-modules-bin...
I: Configuring procps...
I: Configuring libpam-modules:armhf...
I: Configuring passwd...
I: Configuring libpam-runtime...
I: Configuring sysvinit...
I: Configuring login...
I: Configuring libuuid1:armhf...
I: Configuring libblkid1:armhf...
I: Configuring util-linux...
I: Configuring libmount1...
I: Configuring mount...
I: Configuring e2fsprogs...
I: Configuring udev...
I: Configuring initramfs-tools...
I: Configuring plymouth...
I: Configuring mountall...
I: Configuring initramfs-tools...
I: Unpacking the base system...
I: Unpacking adduser...
I: Unpacking apt...
I: Unpacking apt-utils...
I: Unpacking aptitude...
I: Unpacking aptitude-common...
I: Unpacking bsdmainutils...
I: Unpacking bzip2...
I: Unpacking cron...
I: Unpacking gnupg...
I: Unpacking gpgv...
I: Unpacking groff-base...
I: Unpacking ifupdown...
I: Unpacking info...
I: Unpacking install-info...
I: Unpacking iproute...
I: Unpacking iptables...
I: Unpacking iputils-ping...
I: Unpacking isc-dhcp-client...
I: Unpacking isc-dhcp-common...
I: Unpacking libapt-inst1.5:armhf...
I: Unpacking libapt-pkg-dev:armhf...
I: Unpacking libapt-pkg4.12:armhf...
I: Unpacking libboost-iostreams1.46.1...
I: Unpacking libboost-iostreams1.48.0...
I: Unpacking libboost-iostreams1.49.0...
I: Unpacking libboost-iostreams1.50.0...
I: Unpacking libbsd0:armhf...
I: Unpacking libc-dev-bin...
I: Unpacking libc6-dev:armhf...
I: Unpacking libcwidget3...
I: Unpacking libept-dev...
I: Unpacking libept1.4.12...
I: Unpacking libgcrypt11:armhf...
I: Unpacking libgdbm3:armhf...
I: Unpacking libgnutls26:armhf...
I: Unpacking libgpg-error0:armhf...
I: Unpacking libident...
I: Unpacking libidn11:armhf...
I: Unpacking libnewt0.52...
I: Unpacking libnfnetlink0...
I: Unpacking libp11-kit0:armhf...
I: Unpacking libpcre3:armhf...
I: Unpacking libpipeline1:armhf...
I: Unpacking libpopt0:armhf...
I: Unpacking libreadline6:armhf...
I: Unpacking libsigc++-1.2-5c2...
I: Unpacking libsigc++-2.0-0c2a:armhf...
I: Unpacking libsqlite3-0:armhf...
I: Unpacking libssl1.0.0:armhf...
I: Unpacking libstdc++6:armhf...
I: Unpacking libsysfs2:armhf...
I: Unpacking libtagcoll2-dev...
I: Unpacking libtasn1-3:armhf...
I: Unpacking libusb-0.1-4:armhf...
I: Unpacking libwibble-dev...
I: Unpacking libxapian-dev...
I: Unpacking libxapian22...
I: Unpacking linux-libc-dev:armhf...
I: Unpacking logrotate...
I: Unpacking man-db...
I: Unpacking manpages...
I: Unpacking nano...
I: Unpacking net-tools...
I: Unpacking netbase...
I: Unpacking netcat-openbsd...
I: Unpacking netcat-traditional...
I: Unpacking raspbian-archive-keyring...
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: Unpacking whiptail...
I: Unpacking zlib1g-dev:armhf...
I: Configuring the base system...
I: Configuring libsysfs2:armhf...
I: Configuring gpgv...
I: Configuring libssl1.0.0:armhf...
I: Configuring libgdbm3:armhf...
I: Configuring isc-dhcp-common...
I: Configuring libtasn1-3:armhf...
I: Configuring libpopt0:armhf...
I: Configuring libusb-0.1-4:armhf...
I: Configuring libgpg-error0:armhf...
I: Configuring libident...
I: Configuring install-info...
I: Configuring bzip2...
I: Configuring vim-common...
I: Configuring netbase...
I: Configuring libc-dev-bin...
I: Configuring linux-libc-dev:armhf...
I: Configuring adduser...
I: Configuring traceroute...
I: Configuring manpages...
I: Configuring libsqlite3-0:armhf...
I: Configuring iproute...
I: Configuring libidn11:armhf...
I: Configuring libnewt0.52...
I: Configuring net-tools...
I: Configuring libpipeline1:armhf...
I: Configuring bsdmainutils...
I: Configuring libbsd0:armhf...
I: Configuring netcat-traditional...
I: Configuring libpcre3:armhf...
I: Configuring libwibble-dev...
I: Configuring info...
I: Configuring iputils-ping...
I: Configuring aptitude-common...
I: Configuring cron...
I: Configuring nano...
I: Configuring libp11-kit0:armhf...
I: Configuring rsyslog...
I: Configuring libstdc++6:armhf...
I: Configuring isc-dhcp-client...
I: Configuring vim-tiny...
I: Configuring readline-common...
I: Configuring libnfnetlink0...
I: Configuring libgcrypt11:armhf...
I: Configuring libxapian22...
I: Configuring libc6-dev:armhf...
I: Configuring libboost-iostreams1.46.1...
I: Configuring whiptail...
I: Configuring ifupdown...
I: Configuring libapt-pkg4.12:armhf...
I: Configuring libept1.4.12...
I: Configuring libboost-iostreams1.50.0...
I: Configuring netcat-openbsd...
I: Configuring libboost-iostreams1.48.0...
I: Configuring libapt-inst1.5:armhf...
I: Configuring libreadline6:armhf...
I: Configuring logrotate...
I: Configuring libboost-iostreams1.49.0...
I: Configuring libxapian-dev...
I: Configuring groff-base...
I: Configuring gnupg...
I: Configuring libsigc++-2.0-0c2a:armhf...
I: Configuring libgnutls26:armhf...
I: Configuring zlib1g-dev:armhf...
I: Configuring apt-utils...
I: Configuring libtagcoll2-dev...
I: Configuring iptables...
I: Configuring libsigc++-1.2-5c2...
I: Configuring man-db...
I: Configuring raspbian-archive-keyring...
I: Configuring wget...
I: Configuring libcwidget3...
I: Configuring aptitude...
I: Configuring libapt-pkg-dev:armhf...
I: Configuring apt...
I: Configuring libept-dev...
I: Configuring tasksel...
I: Configuring tasksel-data...
I: Base system installed successfully.
+ apt-get clean
umount: can't umount /home: Device or resource busy
umount: can't umount /dev: Device or resource busy
Completed script successfully
Initiating cleanup
umount: /dev/nbd0: not mounted
/dev/nbd0 disconnected
>
While the script reports that it finished successfully, those 'can't unmount' messages make me think otherwise. Regardless, I'm moving on to the next step;

Code: Select all

> ./wheezy-stage2
+ . ./common
+ set -e
+ . ./config
+ RASPBIAN=1
+ [ -n 1 ]
+ TGT_ARCH=armhf
+ DEB_MIRROR=http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/
+ NBD_DEV=/dev/nbd0
+ BOOT_DEV=/dev/nbd0p1
+ ROOT_DEV=/dev/nbd0p2
+ IMGFORMAT=qed
+ SDSIZE=1850M
+ WORKDIR=work
+ OUTDIR=out
+ FINISHED_SUCCESSFULLY=0
+ CLEANED_UP=0
+ WAS_TRAPPED=0
+ trap WAS_TRAPPED=1; universal_cleanup EXIT
+ trap WAS_TRAPPED=1; universal_cleanup; trap - INT; kill -INT $$ INT
+ CURIMG=stage2.qed
+ cd work
+ dotask branch_image ../out/stage1.qed stage2.qed
+ false
+ branch_image ../out/stage1.qed stage2.qed
+ qemu-img create -f qed -b ../out/stage1.qed stage2.qed
Formatting 'stage2.qed', fmt=qed size=1939865600 backing_file='../out/stage1.qed' cluster_size=65536 table_size=0
+ dotask run_qemu stage2.qed
+ false
+ run_qemu stage2.qed
+ rm fifo.out fifo.in
rm: cannot remove `fifo.out': No such file or directory
rm: cannot remove `fifo.in': No such file or directory
+ true
+ mkfifo fifo.out fifo.in
+ qemu-system-arm -M versatilepb -cpu arm1136-r2 -m 256 -nographic -no-reboot -kernel zImage -hda qemu_rootfs.sqf -drive file=stage2.qed,index=1,media=disk,cache=unsafe -drive file=wheezy_apt_cache.qed,index=2,media=disk,cache=unsafe -append root=/dev/sda rw init=/sbin/init.sh panic=1 PATH=/bin:/sbin console=ttyAMA0 HOST=armv6l -net nic,model=rtl8139 -net user -redir tcp:22000::22 -daemonize -serial pipe:fifo -pidfile qemu.pid
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
audio: Failed to create voice `lm4549.out'
+ sleep 10
+ dotask mount_apt_cache
+ false
+ mount_apt_cache
+ ssh_in_to_qemu sh -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost sh -e -
+ dotask disable_starting_services
+ false
+ disable_starting_services
+ ssh_in_to_qemu chroot /mnt sh -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -ex -
+ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ printf #!/bin/sh\nexit 101\n
+ chmod 755 /usr/sbin/policy-rc.d
+ dotask modify_etc_skel
+ false
+ modify_etc_skel
+ onvm_chroot sh -l -ex -
+ ssh_in_to_qemu chroot /mnt sh -l -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -ex -
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=#
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/*.sh ]
+ unset i
+ cat
+ dotask configure_users
+ false
+ configure_users
+ onvm_chroot sh -l -ex -
+ ssh_in_to_qemu chroot /mnt sh -l -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -ex -
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=#
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/*.sh ]
+ unset i
+ adduser --disabled-password --gecos  pi
Adding user `pi' ...
Adding new group `pi' (1000) ...
Adding new user `pi' (1000) with group `pi' ...
Creating home directory `/home/pi' ...
Copying files from `/etc/skel' ...
+ + echochpasswd
 pi:raspberry
+ + chpasswd
echo root:root
+ dotask configure_fstab
+ false
+ configure_fstab
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
+ dotask configure_sources_list
+ false
+ configure_sources_list
+ SECTIONS=main contrib non-free
+ [ -n 1 ]
+ SECTIONS=main contrib non-free rpi
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
+ dotask configure_network_interfaces
+ false
+ configure_network_interfaces
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
+ dotask configure_hostname
+ false
+ configure_hostname
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
+ dotask disable_eth_and_wlan_renaming
+ false
+ disable_eth_and_wlan_renaming
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
Adding 'local diversion of /lib/udev/rules.d/75-persistent-net-generator.rules to /lib/udev/rules.d/75-persistent-net-generator.rules.distrib'
+ dotask configure_inittab
+ false
+ configure_inittab
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
+ dotask adjust_motd
+ false
+ adjust_motd
+ onvm_chroot sh -l -e
+ ssh_in_to_qemu chroot /mnt sh -l -e
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e
+ dotask install_firmware
+ false
+ install_firmware
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
OK
Get:1 http://mirror.ox.ac.uk wheezy Release.gpg [490 B]
Get:2 http://archive.raspberrypi.org wheezy Release.gpg [490 B]
Get:3 http://mirror.ox.ac.uk wheezy Release [14.4 kB]
Get:4 http://archive.raspberrypi.org wheezy Release [7200 B]
Get:5 http://archive.raspberrypi.org wheezy/main armhf Packages [6262 B]
Get:6 http://mirror.ox.ac.uk wheezy/main armhf Packages [7413 kB]
Get:7 http://archive.raspberrypi.org wheezy/untested armhf Packages [1363 B]
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Ign http://archive.raspberrypi.org wheezy/untested Translation-en
Get:8 http://mirror.ox.ac.uk wheezy/contrib armhf Packages [23.2 kB]
Get:9 http://mirror.ox.ac.uk wheezy/non-free armhf Packages [48.0 kB]
Get:10 http://mirror.ox.ac.uk wheezy/rpi armhf Packages [569 B]
Ign http://mirror.ox.ac.uk wheezy/contrib Translation-en
Ign http://mirror.ox.ac.uk wheezy/main Translation-en
Ign http://mirror.ox.ac.uk wheezy/non-free Translation-en
Ign http://mirror.ox.ac.uk wheezy/rpi Translation-en
Fetched 7515 kB in 2min 45s (45.4 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  libraspberrypi-bin libraspberrypi0 raspberrypi-bootloader
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.2 MB of archives.
After this operation, 52.7 MB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian/ wheezy/main raspberrypi-bootloader armhf 1.20130617-1 [27.5 MB]
Get:2 http://archive.raspberrypi.org/debian/ wheezy/main libraspberrypi0 armhf 1.20130617-1 [444 kB]
Get:3 http://archive.raspberrypi.org/debian/ wheezy/main libraspberrypi-bin armhf 1.20130617-1 [182 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 3.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 28.2 MB in 7min 47s (60.3 kB/s)
Selecting previously unselected package raspberrypi-bootloader.
(Reading database ... 13337 files and directories currently installed.)
Unpacking raspberrypi-bootloader (from .../raspberrypi-bootloader_1.20130617-1_armhf.deb) ...
Adding 'diversion of /boot/bootcode.bin to /usr/share/rpikernelhack/bootcode.bin by rpikernelhack'
Adding 'diversion of /boot/fixup.dat to /usr/share/rpikernelhack/fixup.dat by rpikernelhack'
Adding 'diversion of /boot/fixup_cd.dat to /usr/share/rpikernelhack/fixup_cd.dat by rpikernelhack'
Adding 'diversion of /boot/fixup_x.dat to /usr/share/rpikernelhack/fixup_x.dat by rpikernelhack'
Adding 'diversion of /boot/kernel.img to /usr/share/rpikernelhack/kernel.img by rpikernelhack'
Adding 'diversion of /boot/kernel_cutdown.img to /usr/share/rpikernelhack/kernel_cutdown.img by rpikernelhack'
Adding 'diversion of /boot/kernel_emergency.img to /usr/share/rpikernelhack/kernel_emergency.img by rpikernelhack'
Adding 'diversion of /boot/start.elf to /usr/share/rpikernelhack/start.elf by rpikernelhack'
Adding 'diversion of /boot/start_cd.elf to /usr/share/rpikernelhack/start_cd.elf by rpikernelhack'
Adding 'diversion of /boot/start_x.elf to /usr/share/rpikernelhack/start_x.elf by rpikernelhack'
Selecting previously unselected package libraspberrypi0.
Unpacking libraspberrypi0 (from .../libraspberrypi0_1.20130617-1_armhf.deb) ...
Selecting previously unselected package libraspberrypi-bin.
Unpacking libraspberrypi-bin (from .../libraspberrypi-bin_1.20130617-1_armhf.deb) ...
Setting up raspberrypi-bootloader (1.20130617-1) ...
Memory split is now set in /boot/config.txt.
You may want to use raspi-config to set it
Removing 'diversion of /boot/bootcode.bin to /usr/share/rpikernelhack/bootcode.bin by rpikernelhack'
Removing 'diversion of /boot/fixup.dat to /usr/share/rpikernelhack/fixup.dat by rpikernelhack'
Removing 'diversion of /boot/fixup_cd.dat to /usr/share/rpikernelhack/fixup_cd.dat by rpikernelhack'
Removing 'diversion of /boot/fixup_x.dat to /usr/share/rpikernelhack/fixup_x.dat by rpikernelhack'
Removing 'diversion of /boot/kernel.img to /usr/share/rpikernelhack/kernel.img by rpikernelhack'
Removing 'diversion of /boot/kernel_cutdown.img to /usr/share/rpikernelhack/kernel_cutdown.img by rpikernelhack'
Removing 'diversion of /boot/kernel_emergency.img to /usr/share/rpikernelhack/kernel_emergency.img by rpikernelhack'
Removing 'diversion of /boot/start.elf to /usr/share/rpikernelhack/start.elf by rpikernelhack'
Removing 'diversion of /boot/start_cd.elf to /usr/share/rpikernelhack/start_cd.elf by rpikernelhack'
Removing 'diversion of /boot/start_x.elf to /usr/share/rpikernelhack/start_x.elf by rpikernelhack'
Setting up libraspberrypi0 (1.20130617-1) ...
Setting up libraspberrypi-bin (1.20130617-1) ...
Hit http://mirror.ox.ac.uk wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://mirror.ox.ac.uk wheezy Release
Hit http://archive.raspberrypi.org wheezy Release
Hit http://mirror.ox.ac.uk wheezy/main armhf Packages
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://mirror.ox.ac.uk wheezy/contrib armhf Packages
Hit http://mirror.ox.ac.uk wheezy/non-free armhf Packages
Hit http://mirror.ox.ac.uk wheezy/rpi armhf Packages
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Ign http://mirror.ox.ac.uk wheezy/contrib Translation-en
Ign http://mirror.ox.ac.uk wheezy/main Translation-en
Ign http://mirror.ox.ac.uk wheezy/non-free Translation-en
Ign http://mirror.ox.ac.uk wheezy/rpi Translation-en
Reading package lists...
+ dotask install_raspi_config
+ false
+ install_raspi_config
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  dmsetup libdevmapper1.02.1 libparted0debian1 lua5.1 parted triggerhappy
Suggested packages:
  libparted0-dev libparted0-i18n parted-doc
The following NEW packages will be installed:
  dmsetup libdevmapper1.02.1 libparted0debian1 lua5.1 parted raspi-config
  triggerhappy
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 829 kB of archives.
After this operation, 1731 kB of additional disk space will be used.
Get:1 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main dmsetup armhf 2:1.02.74-7+rpi1 [68.1 kB]
Get:2 http://archive.raspberrypi.org/debian/ wheezy/main raspi-config all 20130525-1 [9062 B]
Get:3 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libdevmapper1.02.1 armhf 2:1.02.74-7+rpi1 [132 kB]
Get:4 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libparted0debian1 armhf 2.3-12 [305 kB]
Get:5 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main lua5.1 armhf 5.1.5-4 [126 kB]
Get:6 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main parted armhf 2.3-12 [158 kB]
Get:7 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main triggerhappy armhf 0.3.4-2 [31.2 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 7.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 829 kB in 12s (67.3 kB/s)
Selecting previously unselected package dmsetup.
(Reading database ... 14774 files and directories currently installed.)
Unpacking dmsetup (from .../dmsetup_2%3a1.02.74-7+rpi1_armhf.deb) ...
Selecting previously unselected package libdevmapper1.02.1:armhf.
Unpacking libdevmapper1.02.1:armhf (from .../libdevmapper1.02.1_2%3a1.02.74-7+rpi1_armhf.deb) ...
Selecting previously unselected package libparted0debian1:armhf.
Unpacking libparted0debian1:armhf (from .../libparted0debian1_2.3-12_armhf.deb) ...
Selecting previously unselected package lua5.1.
Unpacking lua5.1 (from .../lua5.1_5.1.5-4_armhf.deb) ...
Selecting previously unselected package parted.
Unpacking parted (from .../parted_2.3-12_armhf.deb) ...
Selecting previously unselected package triggerhappy.
Unpacking triggerhappy (from .../triggerhappy_0.3.4-2_armhf.deb) ...
Selecting previously unselected package raspi-config.
Unpacking raspi-config (from .../raspi-config_20130525-1_all.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up lua5.1 (5.1.5-4) ...
update-alternatives: using /usr/bin/lua5.1 to provide /usr/bin/lua (lua-interpreter) in auto mode
update-alternatives: using /usr/bin/luac5.1 to provide /usr/bin/luac (lua-compiler) in auto mode
Setting up triggerhappy (0.3.4-2) ...
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libdevmapper1.02.1:armhf (2:1.02.74-7+rpi1) ...
Setting up libparted0debian1:armhf (2.3-12) ...
Setting up parted (2.3-12) ...
Setting up raspi-config (20130525-1) ...
Setting up dmsetup (2:1.02.74-7+rpi1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
+ dotask update_issue
+ false
+ update_issue
+ get_git_hash
+ git log --pretty=format:%h -n 1
fatal: Not a git repository (or any of the parent directories): .git
+ GIT_HASH=
+ onvm_chroot sh -l -e
+ ssh_in_to_qemu chroot /mnt sh -l -e
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e
+ dotask allow_starting_services
+ false
+ allow_starting_services
+ ssh_in_to_qemu chroot /mnt sh -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -ex -
+ rm /usr/sbin/policy-rc.d
+ dotask shutdown_qemu
+ false
+ shutdown_qemu
+ ssh_in_to_qemu sync && umount -a
+ ssh -i qemu_arm_key -p 22000 -lroot localhost sync && umount -a
umount: can't umount /home: Device or resource busy
umount: can't umount /dev: Device or resource busy
+ true
+ echo exit
+ sleep 5
+ [ -e qemu.pid ]
+ cat qemu.pid
+ QEMU_PID=20889
+ [ -n 20889 ]
+ set +e
+ kill -0 20889
+ [ 1 -eq 0 ]
+ QEMU_PID=
+ set -e
+ [ -n  ]
+ rm fifo.in
+ rm fifo.out
+ sudo -v
[sudo] password for chronodekar:
+ dotask attach_image_to_nbd stage2.qed /dev/nbd0
+ false
+ attach_image_to_nbd stage2.qed /dev/nbd0
+ sleep 5
+ sudo qemu-nbd --nocache -v -c /dev/nbd0 stage2.qed
NBD device /dev/nbd0 is now connected to stage2.qed
+ mkdir -p boot
+ dotask sudo mount /dev/nbd0p1 boot
+ false
+ sudo mount /dev/nbd0p1 boot
+ mkdir -p rootfs
+ dotask sudo mount /dev/nbd0p2 rootfs
+ false
+ sudo mount /dev/nbd0p2 rootfs
+ dotask sudo mv rootfs/boot/bootcode.bin rootfs/boot/cmdline.txt rootfs/boot/config.txt rootfs/boot/fixup.dat rootfs/boot/fixup_cd.dat rootfs/boot/fixup_x.dat rootfs/boot/kernel.img rootfs/boot/kernel_emergency.img rootfs/boot/start.elf rootfs/boot/start_cd.elf rootfs/boot/start_x.elf boot
+ false
+ sudo mv rootfs/boot/bootcode.bin rootfs/boot/cmdline.txt rootfs/boot/config.txt rootfs/boot/fixup.dat rootfs/boot/fixup_cd.dat rootfs/boot/fixup_x.dat rootfs/boot/kernel.img rootfs/boot/kernel_emergency.img rootfs/boot/start.elf rootfs/boot/start_cd.elf rootfs/boot/start_x.elf boot
+ universal_cleanup
+ set +e
+ [ 0 -ne 1 ]
+ printf Initiating cleanup\n
Initiating cleanup
+ trap - INT
+ trap - EXIT
+ [ -p fifo.in ]
+ [ -b /dev/nbd0p1 ]
+ sudo umount /dev/nbd0p1
+ [ -b /dev/nbd0p2 ]
+ sudo umount /dev/nbd0p2
+ [ -b /dev/nbd0 ]
+ sudo umount /dev/nbd0
umount: /dev/nbd0: not mounted
+ [ -b /dev/nbd0 ]
+ detach_image_from_nbd /dev/nbd0
+ sudo qemu-nbd -d /dev/nbd0
/dev/nbd0 disconnected
/build/qemu-4PL7po/qemu-1.0.1+dfsg/nbd.c:nbd_trip():L613: From: 18446744073709551104, Len: 0, Size: 1939865600, Offset: 0

/build/qemu-4PL7po/qemu-1.0.1+dfsg/nbd.c:nbd_trip():L614: requested operation past EOF--bad client?
+ [ 0 -eq 1 ]
+ set -e
+ dotask finish_image
+ false
+ finish_image
+ chmod -w stage2.qed
+ mkdir -p ../out
+ mv -f stage2.qed ../out
+ [ -d stage2.qed.fingerprint ]
+ FINISHED_SUCCESSFULLY=1
+ printf Completed script successfully\n
Completed script successfully
>

continued on next post...

Re: trouble building the distro in VirtualBox

Posted: Wed Jun 26, 2013 3:38 am
by chronodekar
I'm going to assume that things went well. The notes mention that 'The resulting image is bootable'. Where is this image stored? Can't find any SOMETHING.IMG files anywhere...

Proceeding to next bit,

Code: Select all

> ./wheezy-stage3
+ . ./common
+ set -e
+ . ./config
+ RASPBIAN=1
+ [ -n 1 ]
+ TGT_ARCH=armhf
+ DEB_MIRROR=http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/
+ NBD_DEV=/dev/nbd0
+ BOOT_DEV=/dev/nbd0p1
+ ROOT_DEV=/dev/nbd0p2
+ IMGFORMAT=qed
+ SDSIZE=1850M
+ WORKDIR=work
+ OUTDIR=out
+ FINISHED_SUCCESSFULLY=0
+ CLEANED_UP=0
+ WAS_TRAPPED=0
+ trap WAS_TRAPPED=1; universal_cleanup EXIT
+ trap WAS_TRAPPED=1; universal_cleanup; trap - INT; kill -INT $$ INT
+ WORKDIR=work
+ OUTDIR=out
+ CURIMG=stage3.qed
+ cd work
+ dotask branch_image ../out/stage2.qed stage3.qed
+ false
+ branch_image ../out/stage2.qed stage3.qed
+ qemu-img create -f qed -b ../out/stage2.qed stage3.qed
Formatting 'stage3.qed', fmt=qed size=1939865600 backing_file='../out/stage2.qed' cluster_size=65536 table_size=0
+ dotask run_qemu stage3.qed
+ false
+ run_qemu stage3.qed
+ rm fifo.out fifo.in
rm: cannot remove `fifo.out': No such file or directory
rm: cannot remove `fifo.in': No such file or directory
+ true
+ mkfifo fifo.out fifo.in
+ qemu-system-arm -M versatilepb -cpu arm1136-r2 -m 256 -nographic -no-reboot -kernel zImage -hda qemu_rootfs.sqf -drive file=stage3.qed,index=1,media=disk,cache=unsafe -drive file=wheezy_apt_cache.qed,index=2,media=disk,cache=unsafe -append root=/dev/sda rw init=/sbin/init.sh panic=1 PATH=/bin:/sbin console=ttyAMA0 HOST=armv6l -net nic,model=rtl8139 -net user -redir tcp:22000::22 -daemonize -serial pipe:fifo -pidfile qemu.pid
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
audio: Failed to create voice `lm4549.out'
+ sleep 10
+ dotask mount_apt_cache
+ false
+ mount_apt_cache
+ ssh_in_to_qemu sh -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost sh -e -
+ dotask disable_starting_services
+ false
+ disable_starting_services
+ ssh_in_to_qemu chroot /mnt sh -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -ex -
+ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ printf #!/bin/sh\nexit 101\n
+ chmod 755 /usr/sbin/policy-rc.d
+ dotask configure_apt
+ false
+ configure_apt
+ onvm_chroot sh -l -ex -
+ ssh_in_to_qemu chroot /mnt sh -l -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -ex -
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=#
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/*.sh ]
+ unset i
+ cat
+ dotask set_debconf_selections
+ false
+ set_debconf_selections
+ ssh_in_to_qemu chroot /mnt sh -l -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -ex -
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=#
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/*.sh ]
+ unset i
+ debconf-set-selections
+ dotask install_packages
+ false
+ install_packages
+ ssh_in_to_qemu chroot /mnt sh -l -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -ex -
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=#
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/*.sh ]
+ unset i
+ apt-get update
Hit http://mirror.ox.ac.uk wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://mirror.ox.ac.uk wheezy Release
Hit http://archive.raspberrypi.org wheezy Release
Hit http://mirror.ox.ac.uk wheezy/main armhf Packages
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://mirror.ox.ac.uk wheezy/contrib armhf Packages
Hit http://mirror.ox.ac.uk wheezy/non-free armhf Packages
Hit http://mirror.ox.ac.uk wheezy/rpi armhf Packages
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Ign http://mirror.ox.ac.uk wheezy/contrib Translation-en
Ign http://mirror.ox.ac.uk wheezy/main Translation-en
Ign http://mirror.ox.ac.uk wheezy/non-free Translation-en
Ign http://mirror.ox.ac.uk wheezy/rpi Translation-en
Reading package lists...
+ apt-get install -y ssh locales less fbset sudo psmisc strace module-init-tools ifplugd ed ncdu
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  krb5-locales libdaemon0 libedit2 libgssapi-krb5-2 libk5crypto3 libkeyutils1
  libkrb5-3 libkrb5support0 libwrap0 libx11-6 libx11-data libxau6 libxcb1
  libxdmcp6 libxext6 libxmuu1 ncurses-term openssh-blacklist
  openssh-blacklist-extra openssh-client openssh-server tcpd xauth
Suggested packages:
  wpasupplicant krb5-doc krb5-user ssh-askpass libpam-ssh keychain
  monkeysphere rssh molly-guard ufw
The following NEW packages will be installed:
  ed fbset ifplugd krb5-locales less libdaemon0 libedit2 libgssapi-krb5-2
  libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libwrap0 libx11-6
  libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 locales
  module-init-tools ncdu ncurses-term openssh-blacklist
  openssh-blacklist-extra openssh-client openssh-server psmisc ssh strace sudo
  tcpd xauth
0 upgraded, 34 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.3 MB of archives.
After this operation, 39.6 MB of additional disk space will be used.
Get:1 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libedit2 armhf 2.11-20080614-5 [62.1 kB]
Get:2 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libkeyutils1 armhf 1.5.5-3 [7754 B]
Get:3 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libkrb5support0 armhf 1.10.1+dfsg-5+deb7u1 [46.2 kB]
Get:4 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libk5crypto3 armhf 1.10.1+dfsg-5+deb7u1 [112 kB]
Get:5 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libkrb5-3 armhf 1.10.1+dfsg-5+deb7u1 [341 kB]
Get:6 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libgssapi-krb5-2 armhf 1.10.1+dfsg-5+deb7u1 [131 kB]
Get:7 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libwrap0 armhf 7.6.q-24 [59.7 kB]
Get:8 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libxau6 armhf 1:1.0.7-1 [17.6 kB]
Get:9 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libxdmcp6 armhf 1:1.1.1-1 [24.6 kB]
Get:10 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libxcb1 armhf 1.8.1-2+deb7u1 [42.8 kB]
Get:11 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libx11-data all 2:1.5.0-1+deb7u1+wheezy [190 kB]
Get:12 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libx11-6 armhf 2:1.5.0-1+deb7u1+wheezy [838 kB]
Get:13 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libxext6 armhf 2:1.3.1-2+deb7u1 [48.7 kB]
Get:14 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libxmuu1 armhf 2:1.1.1-1 [23.0 kB]
Get:15 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main openssh-blacklist all 0.4.1+nmu1 [1835 kB]
Get:16 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main openssh-blacklist-extra all 0.4.1+nmu1 [1835 kB]
Get:17 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main module-init-tools all 9-3 [1796 B]
Get:18 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main krb5-locales all 1.10.1+dfsg-5+deb7u1 [1503 kB]
Get:19 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main less armhf 444-4 [127 kB]
Get:20 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main locales all 2.13-38+rpi2 [5710 kB]
Get:21 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main ncurses-term all 5.9-10 [602 kB]
Get:22 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main openssh-client armhf 1:6.0p1-4 [951 kB]
Get:23 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main ed armhf 1.6-2 [53.5 kB]
Get:24 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main fbset armhf 2.1-25 [125 kB]
Get:25 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libdaemon0 armhf 0.14-2 [17.1 kB]
Get:26 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main ifplugd armhf 0.28-19 [70.0 kB]
Get:27 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main ncdu armhf 1.8-1 [29.1 kB]
Get:28 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main openssh-server armhf 1:6.0p1-4 [316 kB]
Get:29 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main psmisc armhf 22.19-1+deb7u1 [132 kB]
Get:30 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main strace armhf 4.5.20-2.3 [123 kB]
Get:31 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main sudo armhf 1.8.5p2-1+nmu1 [836 kB]
Get:32 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main tcpd armhf 7.6.q-24 [26.3 kB]
Get:33 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main xauth armhf 1:1.0.7-1 [34.9 kB]
Get:34 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main ssh all 1:6.0p1-4 [1240 B]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 34.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 16.3 MB in 4min 31s (59.9 kB/s)
Selecting previously unselected package libedit2:armhf.
(Reading database ... 14838 files and directories currently installed.)
Unpacking libedit2:armhf (from .../libedit2_2.11-20080614-5_armhf.deb) ...
Selecting previously unselected package libkeyutils1:armhf.
Unpacking libkeyutils1:armhf (from .../libkeyutils1_1.5.5-3_armhf.deb) ...
Selecting previously unselected package libkrb5support0:armhf.
Unpacking libkrb5support0:armhf (from .../libkrb5support0_1.10.1+dfsg-5+deb7u1_armhf.deb) ...
Selecting previously unselected package libk5crypto3:armhf.
Unpacking libk5crypto3:armhf (from .../libk5crypto3_1.10.1+dfsg-5+deb7u1_armhf.deb) ...
Selecting previously unselected package libkrb5-3:armhf.
Unpacking libkrb5-3:armhf (from .../libkrb5-3_1.10.1+dfsg-5+deb7u1_armhf.deb) ...
Selecting previously unselected package libgssapi-krb5-2:armhf.
Unpacking libgssapi-krb5-2:armhf (from .../libgssapi-krb5-2_1.10.1+dfsg-5+deb7u1_armhf.deb) ...
Selecting previously unselected package libwrap0:armhf.
Unpacking libwrap0:armhf (from .../libwrap0_7.6.q-24_armhf.deb) ...
Selecting previously unselected package libxau6:armhf.
Unpacking libxau6:armhf (from .../libxau6_1%3a1.0.7-1_armhf.deb) ...
Selecting previously unselected package libxdmcp6:armhf.
Unpacking libxdmcp6:armhf (from .../libxdmcp6_1%3a1.1.1-1_armhf.deb) ...
Selecting previously unselected package libxcb1:armhf.
Unpacking libxcb1:armhf (from .../libxcb1_1.8.1-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.5.0-1+deb7u1+wheezy_all.deb) ...
Selecting previously unselected package libx11-6:armhf.
Unpacking libx11-6:armhf (from .../libx11-6_2%3a1.5.0-1+deb7u1+wheezy_armhf.deb) ...
Selecting previously unselected package libxext6:armhf.
Unpacking libxext6:armhf (from .../libxext6_2%3a1.3.1-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libxmuu1:armhf.
Unpacking libxmuu1:armhf (from .../libxmuu1_2%3a1.1.1-1_armhf.deb) ...
Selecting previously unselected package openssh-blacklist.
Unpacking openssh-blacklist (from .../openssh-blacklist_0.4.1+nmu1_all.deb) ...
Selecting previously unselected package openssh-blacklist-extra.
Unpacking openssh-blacklist-extra (from .../openssh-blacklist-extra_0.4.1+nmu1_all.deb) ...
Selecting previously unselected package module-init-tools.
Unpacking module-init-tools (from .../module-init-tools_9-3_all.deb) ...
Selecting previously unselected package krb5-locales.
Unpacking krb5-locales (from .../krb5-locales_1.10.1+dfsg-5+deb7u1_all.deb) ...
Selecting previously unselected package less.
Unpacking less (from .../archives/less_444-4_armhf.deb) ...
Selecting previously unselected package locales.
Unpacking locales (from .../locales_2.13-38+rpi2_all.deb) ...
Selecting previously unselected package ncurses-term.
Unpacking ncurses-term (from .../ncurses-term_5.9-10_all.deb) ...
Selecting previously unselected package openssh-client.
Unpacking openssh-client (from .../openssh-client_1%3a6.0p1-4_armhf.deb) ...
Selecting previously unselected package ed.
Unpacking ed (from .../archives/ed_1.6-2_armhf.deb) ...
Selecting previously unselected package fbset.
Unpacking fbset (from .../fbset_2.1-25_armhf.deb) ...
Selecting previously unselected package libdaemon0.
Unpacking libdaemon0 (from .../libdaemon0_0.14-2_armhf.deb) ...
Selecting previously unselected package ifplugd.
Unpacking ifplugd (from .../ifplugd_0.28-19_armhf.deb) ...
Selecting previously unselected package ncdu.
Unpacking ncdu (from .../archives/ncdu_1.8-1_armhf.deb) ...
Selecting previously unselected package openssh-server.
Unpacking openssh-server (from .../openssh-server_1%3a6.0p1-4_armhf.deb) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Selecting previously unselected package psmisc.
Unpacking psmisc (from .../psmisc_22.19-1+deb7u1_armhf.deb) ...
Selecting previously unselected package strace.
Unpacking strace (from .../strace_4.5.20-2.3_armhf.deb) ...
Selecting previously unselected package sudo.
Unpacking sudo (from .../sudo_1.8.5p2-1+nmu1_armhf.deb) ...
Selecting previously unselected package tcpd.
Unpacking tcpd (from .../tcpd_7.6.q-24_armhf.deb) ...
Selecting previously unselected package xauth.
Unpacking xauth (from .../xauth_1%3a1.0.7-1_armhf.deb) ...
Selecting previously unselected package ssh.
Unpacking ssh (from .../ssh_1%3a6.0p1-4_all.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Processing triggers for install-info ...
Setting up libedit2:armhf (2.11-20080614-5) ...
Setting up libkeyutils1:armhf (1.5.5-3) ...
Setting up libkrb5support0:armhf (1.10.1+dfsg-5+deb7u1) ...
Setting up libk5crypto3:armhf (1.10.1+dfsg-5+deb7u1) ...
Setting up libkrb5-3:armhf (1.10.1+dfsg-5+deb7u1) ...
Setting up libgssapi-krb5-2:armhf (1.10.1+dfsg-5+deb7u1) ...
Setting up libwrap0:armhf (7.6.q-24) ...
Setting up libxau6:armhf (1:1.0.7-1) ...
Setting up libxdmcp6:armhf (1:1.1.1-1) ...
Setting up libxcb1:armhf (1.8.1-2+deb7u1) ...
Setting up libx11-data (2:1.5.0-1+deb7u1+wheezy) ...
Setting up libx11-6:armhf (2:1.5.0-1+deb7u1+wheezy) ...
Setting up libxext6:armhf (2:1.3.1-2+deb7u1) ...
Setting up libxmuu1:armhf (2:1.1.1-1) ...
Setting up openssh-blacklist (0.4.1+nmu1) ...
Setting up openssh-blacklist-extra (0.4.1+nmu1) ...
Setting up module-init-tools (9-3) ...
Setting up krb5-locales (1.10.1+dfsg-5+deb7u1) ...
Setting up less (444-4) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up locales (2.13-38+rpi2) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Generating locales (this might take a while)...
  en_GB.UTF-8... done
Generation complete.
Setting up ncurses-term (5.9-10) ...
Setting up openssh-client (1:6.0p1-4) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up ed (1.6-2) ...
Setting up fbset (2.1-25) ...
Setting up libdaemon0 (0.14-2) ...
Setting up ifplugd (0.28-19) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up ncdu (1.8-1) ...
Setting up openssh-server (1:6.0p1-4) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...
invoke-rc.d: policy-rc.d denied execution of restart.
Setting up psmisc (22.19-1+deb7u1) ...
Setting up strace (4.5.20-2.3) ...
Setting up sudo (1.8.5p2-1+nmu1) ...
Setting up tcpd (7.6.q-24) ...
Setting up xauth (1:1.0.7-1) ...
Setting up ssh (1:6.0p1-4) ...
+ apt-get install -y console-setup keyboard-configuration debconf-utils parted unzip
Reading package lists...
Building dependency tree...
Reading state information...
parted is already the newest version.
parted set to manually installed.
The following extra packages will be installed:
  console-setup-linux kbd xkb-data
Suggested packages:
  zip
The following NEW packages will be installed:
  console-setup console-setup-linux debconf-utils kbd keyboard-configuration
  unzip xkb-data
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 3063 kB of archives.
After this operation, 11.3 MB of additional disk space will be used.
Get:1 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main kbd armhf 1.15.3-9 [446 kB]
Get:2 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main keyboard-configuration all 1.88 [607 kB]
Get:3 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main console-setup-linux all 1.88 [995 kB]
Get:4 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main xkb-data all 2.5.1-3 [645 kB]
Get:5 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main console-setup all 1.88 [122 kB]
Get:6 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main debconf-utils all 1.5.49 [55.8 kB]
Get:7 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main unzip armhf 6.0-8 [193 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 7.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 3063 kB in 47s (64.9 kB/s)
Selecting previously unselected package kbd.
(Reading database ... 18803 files and directories currently installed.)
Unpacking kbd (from .../kbd_1.15.3-9_armhf.deb) ...
update-rc.d: using dependency based boot sequencing
Selecting previously unselected package keyboard-configuration.
Unpacking keyboard-configuration (from .../keyboard-configuration_1.88_all.deb) ...
Selecting previously unselected package console-setup-linux.
Unpacking console-setup-linux (from .../console-setup-linux_1.88_all.deb) ...
Selecting previously unselected package xkb-data.
Unpacking xkb-data (from .../xkb-data_2.5.1-3_all.deb) ...
Selecting previously unselected package console-setup.
Unpacking console-setup (from .../console-setup_1.88_all.deb) ...
Selecting previously unselected package debconf-utils.
Unpacking debconf-utils (from .../debconf-utils_1.5.49_all.deb) ...
Selecting previously unselected package unzip.
Unpacking unzip (from .../archives/unzip_6.0-8_armhf.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up kbd (1.15.3-9) ...
invoke-rc.d: policy-rc.d denied execution of start.
Setting up keyboard-configuration (1.88) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up console-setup-linux (1.88) ...
Setting up xkb-data (2.5.1-3) ...
Setting up console-setup (1.88) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up debconf-utils (1.5.49) ...
Setting up unzip (6.0-8) ...
+ apt-get install -y build-essential manpages-dev python bash-completion gdb pkg-config
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  binutils cpp cpp-4.6 dpkg-dev fakeroot file g++ g++-4.6 gcc gcc-4.6
  gdbserver libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libclass-isa-perl libdpkg-perl libexpat1 libffi5
  libfile-fcntllock-perl libglib2.0-0 libglib2.0-data libgmp10 libgomp1
  libmagic1 libmpc2 libmpfr4 libpython2.7 libstdc++6-4.6-dev libswitch-perl
  libtimedate-perl libxml2 make mime-support patch perl perl-modules
  python-minimal python2.7 python2.7-minimal sgml-base shared-mime-info
  xml-core
Suggested packages:
  binutils-doc cpp-doc gcc-4.6-locales debian-keyring gcc-4.6-doc
  libstdc++6-4.6-dbg gcc-multilib autoconf automake1.9 libtool flex bison
  gcc-doc libmudflap0-4.6-dev libgcc1-dbg libgomp1-dbg libquadmath-dbg
  libmudflap0-dbg binutils-gold gdb-doc libstdc++6-4.6-doc make-doc
  diffutils-doc perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl
  libpod-plainer-perl python-doc python-tk python2.7-doc binfmt-support
  sgml-base-doc debhelper
The following NEW packages will be installed:
  bash-completion binutils build-essential cpp cpp-4.6 dpkg-dev fakeroot file
  g++ g++-4.6 gcc gcc-4.6 gdb gdbserver libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libclass-isa-perl
  libdpkg-perl libexpat1 libffi5 libfile-fcntllock-perl libglib2.0-0
  libglib2.0-data libgmp10 libgomp1 libmagic1 libmpc2 libmpfr4 libpython2.7
  libstdc++6-4.6-dev libswitch-perl libtimedate-perl libxml2 make manpages-dev
  mime-support patch perl perl-modules pkg-config python python-minimal
  python2.7 python2.7-minimal sgml-base shared-mime-info xml-core
0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded.
Need to get 46.9 MB of archives.
After this operation, 136 MB of additional disk space will be used.
Get:1 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main bash-completion all 1:2.0-1 [193 kB]
Get:2 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libmagic1 armhf 5.11-2 [199 kB]
Get:3 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libxml2 armhf 2.8.0+dfsg1-7+nmu1 [822 kB]
Get:4 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libexpat1 armhf 2.1.0-1 [117 kB]
Get:5 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libffi5 armhf 3.0.10-3+b3 [22.9 kB]
Get:6 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libglib2.0-0 armhf 2.33.12+really2.32.4-5 [1689 kB]
Get:7 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libgmp10 armhf 2:5.0.5+dfsg-2 [208 kB]
Get:8 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libgomp1 armhf 4.7.2-5+rpi1 [28.3 kB]
Get:9 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libmpfr4 armhf 3.1.0-5 [524 kB]
Get:10 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libswitch-perl all 2.16-2 [20.9 kB]
Get:11 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libclass-isa-perl all 0.36-3 [12.3 kB]
Get:12 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main perl-modules all 5.14.2-21+rpi1 [3435 kB]
Get:13 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main perl armhf 5.14.2-21+rpi1 [3659 kB]
Get:14 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main sgml-base all 1.26+nmu4 [14.6 kB]
Get:15 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libmpc2 armhf 0.9-4 [32.0 kB]
Get:16 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main file armhf 5.11-2 [51.4 kB]
Get:17 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main make armhf 3.81-8.2 [393 kB]
Get:18 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main mime-support all 3.52-1 [35.5 kB]
Get:19 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main patch armhf 2.6.1-3 [123 kB]
Get:20 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main python2.7-minimal armhf 2.7.3-6 [1664 kB]
Get:21 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main python2.7 armhf 2.7.3-6 [2706 kB]
Get:22 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main python-minimal all 2.7.3-4 [42.6 kB]
Get:23 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main python all 2.7.3-4 [180 kB]
Get:24 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main binutils armhf 2.22-8 [4521 kB]
Get:25 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main cpp-4.6 armhf 4.6.3-14+rpi1 [4252 kB]
Get:26 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main cpp armhf 4:4.6.3-8 [16.6 kB]
Get:27 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main gcc-4.6 armhf 4.6.3-14+rpi1 [4471 kB]
Get:28 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main gcc armhf 4:4.6.3-8 [5010 B]
Get:29 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libstdc++6-4.6-dev armhf 4.6.3-14+rpi1 [1695 kB]
Get:30 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main g++-4.6 armhf 4.6.3-14+rpi1 [5171 kB]
Get:31 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main g++ armhf 4:4.6.3-8 [1362 B]
Get:32 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libtimedate-perl all 1.2000-1 [41.2 kB]
Get:33 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libdpkg-perl all 1.16.10 [949 kB]
Get:34 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main dpkg-dev all 1.16.10 [1288 kB]
Get:35 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main build-essential armhf 11.5+b1 [7140 B]
Get:36 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main fakeroot armhf 1.18.4-2 [104 kB]
Get:37 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libpython2.7 armhf 2.7.3-6 [1069 kB]
Get:38 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main gdbserver armhf 7.4.1+dfsg-0.1 [117 kB]
Get:39 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main gdb armhf 7.4.1+dfsg-0.1 [2478 kB]
Get:40 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libalgorithm-diff-perl all 1.19.02-2 [51.7 kB]
Get:41 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libalgorithm-diff-xs-perl armhf 0.04-2 [12.5 kB]
Get:42 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libalgorithm-merge-perl all 0.08-2 [13.5 kB]
Get:43 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libfile-fcntllock-perl armhf 0.14-2 [16.8 kB]
Get:44 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libglib2.0-data all 2.33.12+really2.32.4-5 [1607 kB]
Get:45 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main manpages-dev all 3.44-1 [1737 kB]
Get:46 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main pkg-config armhf 0.26-1 [56.9 kB]
Get:47 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main shared-mime-info armhf 1.0-1 [1065 kB]
Get:48 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main xml-core all 0.13+nmu2 [24.2 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 48.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 46.9 MB in 13min 9s (59.5 kB/s)
Selecting previously unselected package bash-completion.
(Reading database ... 19777 files and directories currently installed.)
Unpacking bash-completion (from .../bash-completion_1%3a2.0-1_all.deb) ...
Selecting previously unselected package libmagic1:armhf.
Unpacking libmagic1:armhf (from .../libmagic1_5.11-2_armhf.deb) ...
Selecting previously unselected package libxml2:armhf.
Unpacking libxml2:armhf (from .../libxml2_2.8.0+dfsg1-7+nmu1_armhf.deb) ...
Selecting previously unselected package libexpat1:armhf.
Unpacking libexpat1:armhf (from .../libexpat1_2.1.0-1_armhf.deb) ...
Selecting previously unselected package libffi5:armhf.
Unpacking libffi5:armhf (from .../libffi5_3.0.10-3+b3_armhf.deb) ...
Selecting previously unselected package libglib2.0-0:armhf.
Unpacking libglib2.0-0:armhf (from .../libglib2.0-0_2.33.12+really2.32.4-5_armhf.deb) ...
Selecting previously unselected package libgmp10:armhf.
Unpacking libgmp10:armhf (from .../libgmp10_2%3a5.0.5+dfsg-2_armhf.deb) ...
Selecting previously unselected package libgomp1:armhf.
Unpacking libgomp1:armhf (from .../libgomp1_4.7.2-5+rpi1_armhf.deb) ...
Selecting previously unselected package libmpfr4:armhf.
Unpacking libmpfr4:armhf (from .../libmpfr4_3.1.0-5_armhf.deb) ...
Selecting previously unselected package libswitch-perl.
Unpacking libswitch-perl (from .../libswitch-perl_2.16-2_all.deb) ...
Selecting previously unselected package libclass-isa-perl.
Unpacking libclass-isa-perl (from .../libclass-isa-perl_0.36-3_all.deb) ...
Selecting previously unselected package perl-modules.
Unpacking perl-modules (from .../perl-modules_5.14.2-21+rpi1_all.deb) ...
Selecting previously unselected package perl.
Unpacking perl (from .../perl_5.14.2-21+rpi1_armhf.deb) ...
Selecting previously unselected package sgml-base.
Unpacking sgml-base (from .../sgml-base_1.26+nmu4_all.deb) ...
Selecting previously unselected package libmpc2:armhf.
Unpacking libmpc2:armhf (from .../libmpc2_0.9-4_armhf.deb) ...
Selecting previously unselected package file.
Unpacking file (from .../archives/file_5.11-2_armhf.deb) ...
Selecting previously unselected package make.
Unpacking make (from .../make_3.81-8.2_armhf.deb) ...
Selecting previously unselected package mime-support.
Unpacking mime-support (from .../mime-support_3.52-1_all.deb) ...
Selecting previously unselected package patch.
Unpacking patch (from .../patch_2.6.1-3_armhf.deb) ...
Selecting previously unselected package python2.7-minimal.
Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.3-6_armhf.deb) ...
Selecting previously unselected package python2.7.
Unpacking python2.7 (from .../python2.7_2.7.3-6_armhf.deb) ...
Selecting previously unselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.7.3-4_all.deb) ...
Selecting previously unselected package python.
Unpacking python (from .../python_2.7.3-4_all.deb) ...
Selecting previously unselected package binutils.
Unpacking binutils (from .../binutils_2.22-8_armhf.deb) ...
Selecting previously unselected package cpp-4.6.
Unpacking cpp-4.6 (from .../cpp-4.6_4.6.3-14+rpi1_armhf.deb) ...
Selecting previously unselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.6.3-8_armhf.deb) ...
Selecting previously unselected package gcc-4.6.
Unpacking gcc-4.6 (from .../gcc-4.6_4.6.3-14+rpi1_armhf.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.6.3-8_armhf.deb) ...
Selecting previously unselected package libstdc++6-4.6-dev.
Unpacking libstdc++6-4.6-dev (from .../libstdc++6-4.6-dev_4.6.3-14+rpi1_armhf.deb) ...
Selecting previously unselected package g++-4.6.
Unpacking g++-4.6 (from .../g++-4.6_4.6.3-14+rpi1_armhf.deb) ...
Selecting previously unselected package g++.
Unpacking g++ (from .../g++_4%3a4.6.3-8_armhf.deb) ...
Selecting previously unselected package libtimedate-perl.
Unpacking libtimedate-perl (from .../libtimedate-perl_1.2000-1_all.deb) ...
Selecting previously unselected package libdpkg-perl.
Unpacking libdpkg-perl (from .../libdpkg-perl_1.16.10_all.deb) ...
Selecting previously unselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.16.10_all.deb) ...
Selecting previously unselected package build-essential.
Unpacking build-essential (from .../build-essential_11.5+b1_armhf.deb) ...
Selecting previously unselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.18.4-2_armhf.deb) ...
Selecting previously unselected package libpython2.7.
Unpacking libpython2.7 (from .../libpython2.7_2.7.3-6_armhf.deb) ...
Selecting previously unselected package gdbserver.
Unpacking gdbserver (from .../gdbserver_7.4.1+dfsg-0.1_armhf.deb) ...
Selecting previously unselected package gdb.
Unpacking gdb (from .../gdb_7.4.1+dfsg-0.1_armhf.deb) ...
Selecting previously unselected package libalgorithm-diff-perl.
Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Unpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-2_armhf.deb) ...
Selecting previously unselected package libalgorithm-merge-perl.
Unpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ...
Selecting previously unselected package libfile-fcntllock-perl.
Unpacking libfile-fcntllock-perl (from .../libfile-fcntllock-perl_0.14-2_armhf.deb) ...
Selecting previously unselected package libglib2.0-data.
Unpacking libglib2.0-data (from .../libglib2.0-data_2.33.12+really2.32.4-5_all.deb) ...
Selecting previously unselected package manpages-dev.
Unpacking manpages-dev (from .../manpages-dev_3.44-1_all.deb) ...
Selecting previously unselected package pkg-config.
Unpacking pkg-config (from .../pkg-config_0.26-1_armhf.deb) ...
Selecting previously unselected package shared-mime-info.
Unpacking shared-mime-info (from .../shared-mime-info_1.0-1_armhf.deb) ...
Selecting previously unselected package xml-core.
Unpacking xml-core (from .../xml-core_0.13+nmu2_all.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Setting up bash-completion (1:2.0-1) ...
Setting up libmagic1:armhf (5.11-2) ...
Setting up libxml2:armhf (2.8.0+dfsg1-7+nmu1) ...
Setting up libexpat1:armhf (2.1.0-1) ...
Setting up libffi5:armhf (3.0.10-3+b3) ...
Setting up libglib2.0-0:armhf (2.33.12+really2.32.4-5) ...
No schema files found: doing nothing.
Setting up libgmp10:armhf (2:5.0.5+dfsg-2) ...
Setting up libgomp1:armhf (4.7.2-5+rpi1) ...
Setting up libmpfr4:armhf (3.1.0-5) ...
Setting up libclass-isa-perl (0.36-3) ...
Setting up libmpc2:armhf (0.9-4) ...
Setting up file (5.11-2) ...
Setting up make (3.81-8.2) ...
Setting up mime-support (3.52-1) ...
Setting up patch (2.6.1-3) ...
Setting up python2.7-minimal (2.7.3-6) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up python2.7 (2.7.3-6) ...
Setting up python-minimal (2.7.3-4) ...
Setting up python (2.7.3-4) ...
Setting up binutils (2.22-8) ...
Setting up cpp-4.6 (4.6.3-14+rpi1) ...
Setting up cpp (4:4.6.3-8) ...
Setting up gcc-4.6 (4.6.3-14+rpi1) ...
Setting up gcc (4:4.6.3-8) ...
Setting up fakeroot (1.18.4-2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libpython2.7 (2.7.3-6) ...
Setting up gdbserver (7.4.1+dfsg-0.1) ...
Setting up gdb (7.4.1+dfsg-0.1) ...
Setting up libglib2.0-data (2.33.12+really2.32.4-5) ...
Setting up manpages-dev (3.44-1) ...
Setting up pkg-config (0.26-1) ...
Setting up shared-mime-info (1.0-1) ...
Setting up g++-4.6 (4.6.3-14+rpi1) ...
Setting up g++ (4:4.6.3-8) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
continued next post

Re: trouble building the distro in VirtualBox

Posted: Wed Jun 26, 2013 3:39 am
by chronodekar

Code: Select all

Setting up libswitch-perl (2.16-2) ...
Setting up perl-modules (5.14.2-21+rpi1) ...
Setting up libstdc++6-4.6-dev (4.6.3-14+rpi1) ...
Setting up perl (5.14.2-21+rpi1) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode
Setting up sgml-base (1.26+nmu4) ...
Setting up libtimedate-perl (1.2000-1) ...
Setting up libdpkg-perl (1.16.10) ...
Setting up dpkg-dev (1.16.10) ...
Setting up build-essential (11.5+b1) ...
Setting up libalgorithm-diff-perl (1.19.02-2) ...
Setting up libalgorithm-diff-xs-perl (0.04-2) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libfile-fcntllock-perl (0.14-2) ...
Setting up xml-core (0.13+nmu2) ...
Processing triggers for sgml-base ...
+ apt-get install -y python-rpi.gpio
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  python-rpi.gpio
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 37.1 kB of archives.
After this operation, 160 kB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian/ wheezy/main python-rpi.gpio armhf 0.5.3a-1 [37.1 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 37.1 kB in 1s (24.9 kB/s)
Selecting previously unselected package python-rpi.gpio.
(Reading database ... 26444 files and directories currently installed.)
Unpacking python-rpi.gpio (from .../python-rpi.gpio_0.5.3a-1_armhf.deb) ...
Setting up python-rpi.gpio (0.5.3a-1) ...
+ apt-get install -y lua5.1
Reading package lists...
Building dependency tree...
Reading state information...
lua5.1 is already the newest version.
lua5.1 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ dpkg --print-architecture
+ [ armhf = armhf ]
+ apt-get install -y luajit
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libluajit-5.1-common
The following NEW packages will be installed:
  libluajit-5.1-common luajit
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 254 kB of archives.
After this operation, 582 kB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian/ wheezy/main libluajit-5.1-common all 2.0.0~beta11+git20121024-1 [42.9 kB]
Get:2 http://archive.raspberrypi.org/debian/ wheezy/main luajit armhf 2.0.0~beta11+git20121024-1 [211 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 254 kB in 3s (80.5 kB/s)
Selecting previously unselected package libluajit-5.1-common.
(Reading database ... 26466 files and directories currently installed.)
Unpacking libluajit-5.1-common (from .../libluajit-5.1-common_2.0.0~beta11+git20121024-1_all.deb) ...
Selecting previously unselected package luajit.
Unpacking luajit (from .../luajit_2.0.0~beta11+git20121024-1_armhf.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Setting up libluajit-5.1-common (2.0.0~beta11+git20121024-1) ...
Setting up luajit (2.0.0~beta11+git20121024-1) ...
+ apt-get install -y hardlink ca-certificates curl
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libcurl3 libldap-2.4-2 librtmp0 libsasl2-2 libsasl2-modules libssh2-1
  openssl
Suggested packages:
  libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql
  libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal
The following NEW packages will be installed:
  ca-certificates curl hardlink libcurl3 libldap-2.4-2 librtmp0 libsasl2-2
  libsasl2-modules libssh2-1 openssl
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 2093 kB of archives.
After this operation, 3629 kB of additional disk space will be used.
Get:1 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libsasl2-2 armhf 2.1.25.dfsg1-6+deb7u1 [110 kB]
Get:2 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libldap-2.4-2 armhf 2.4.31-1+nmu2 [217 kB]
Get:3 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main librtmp0 armhf 2.4+20111222.git4e06e21-1 [58.0 kB]
Get:4 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libssh2-1 armhf 1.4.2-1.1 [125 kB]
Get:5 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libcurl3 armhf 7.26.0-1+wheezy2 [314 kB]
Get:6 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main openssl armhf 1.0.1e-2+rpi1 [699 kB]
Get:7 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main ca-certificates all 20130119 [185 kB]
Get:8 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main curl armhf 7.26.0-1+wheezy2 [267 kB]
Get:9 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main hardlink armhf 0.2.0 [12.4 kB]
Get:10 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libsasl2-modules armhf 2.1.25.dfsg1-6+deb7u1 [105 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 2093 kB in 31s (66.2 kB/s)
Selecting previously unselected package libsasl2-2:armhf.
(Reading database ... 26488 files and directories currently installed.)
Unpacking libsasl2-2:armhf (from .../libsasl2-2_2.1.25.dfsg1-6+deb7u1_armhf.deb) ...
Selecting previously unselected package libldap-2.4-2:armhf.
Unpacking libldap-2.4-2:armhf (from .../libldap-2.4-2_2.4.31-1+nmu2_armhf.deb) ...
Selecting previously unselected package librtmp0:armhf.
Unpacking librtmp0:armhf (from .../librtmp0_2.4+20111222.git4e06e21-1_armhf.deb) ...
Selecting previously unselected package libssh2-1:armhf.
Unpacking libssh2-1:armhf (from .../libssh2-1_1.4.2-1.1_armhf.deb) ...
Selecting previously unselected package libcurl3:armhf.
Unpacking libcurl3:armhf (from .../libcurl3_7.26.0-1+wheezy2_armhf.deb) ...
Selecting previously unselected package openssl.
Unpacking openssl (from .../openssl_1.0.1e-2+rpi1_armhf.deb) ...
Selecting previously unselected package ca-certificates.
Unpacking ca-certificates (from .../ca-certificates_20130119_all.deb) ...
Selecting previously unselected package curl.
Unpacking curl (from .../curl_7.26.0-1+wheezy2_armhf.deb) ...
Selecting previously unselected package hardlink.
Unpacking hardlink (from .../hardlink_0.2.0_armhf.deb) ...
Selecting previously unselected package libsasl2-modules:armhf.
Unpacking libsasl2-modules:armhf (from .../libsasl2-modules_2.1.25.dfsg1-6+deb7u1_armhf.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Setting up libsasl2-2:armhf (2.1.25.dfsg1-6+deb7u1) ...
Setting up libldap-2.4-2:armhf (2.4.31-1+nmu2) ...
Setting up librtmp0:armhf (2.4+20111222.git4e06e21-1) ...
Setting up libssh2-1:armhf (1.4.2-1.1) ...
Setting up libcurl3:armhf (7.26.0-1+wheezy2) ...
Setting up openssl (1.0.1e-2+rpi1) ...
Setting up ca-certificates (20130119) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Setting up curl (7.26.0-1+wheezy2) ...
Setting up hardlink (0.2.0) ...
Setting up libsasl2-modules:armhf (2.1.25.dfsg1-6+deb7u1) ...
Processing triggers for ca-certificates ...
Updating certificates in /etc/ssl/certs... 158 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
+ apt-get install -y fake-hwclock ntp nfs-common usbutils
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libcap2 libevent-2.0-5 libgssglue1 libnfsidmap2 libopts25 libtirpc1
  libusb-1.0-0 rpcbind ucf
Suggested packages:
  open-iscsi watchdog ntp-doc
The following NEW packages will be installed:
  fake-hwclock libcap2 libevent-2.0-5 libgssglue1 libnfsidmap2 libopts25
  libtirpc1 libusb-1.0-0 nfs-common ntp rpcbind ucf usbutils
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Need to get 1538 kB of archives.
After this operation, 3869 kB of additional disk space will be used.
Get:1 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libcap2 armhf 1:2.22-1.2 [12.5 kB]
Get:2 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libevent-2.0-5 armhf 2.0.19-stable-3 [156 kB]
Get:3 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libgssglue1 armhf 0.4-2 [22.9 kB]
Get:4 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libnfsidmap2 armhf 0.25-4 [35.3 kB]
Get:5 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libtirpc1 armhf 0.2.2-5 [75.6 kB]
Get:6 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libusb-1.0-0 armhf 2:1.0.11-1 [36.7 kB]
Get:7 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libopts25 armhf 1:5.12-0.1 [70.6 kB]
Get:8 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main ntp armhf 1:4.2.6.p5+dfsg-2 [523 kB]
Get:9 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main rpcbind armhf 0.2.0-8 [42.7 kB]
Get:10 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main ucf all 3.0025+nmu3 [70.8 kB]
Get:11 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main nfs-common armhf 1:1.2.6-4 [264 kB]
Get:12 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main usbutils armhf 1:005-3 [223 kB]
Get:13 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main fake-hwclock all 0.5 [5326 B]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 1538 kB in 25s (60.5 kB/s)
Selecting previously unselected package libcap2:armhf.
(Reading database ... 26857 files and directories currently installed.)
Unpacking libcap2:armhf (from .../libcap2_1%3a2.22-1.2_armhf.deb) ...
Selecting previously unselected package libevent-2.0-5:armhf.
Unpacking libevent-2.0-5:armhf (from .../libevent-2.0-5_2.0.19-stable-3_armhf.deb) ...
Selecting previously unselected package libgssglue1:armhf.
Unpacking libgssglue1:armhf (from .../libgssglue1_0.4-2_armhf.deb) ...
Selecting previously unselected package libnfsidmap2:armhf.
Unpacking libnfsidmap2:armhf (from .../libnfsidmap2_0.25-4_armhf.deb) ...
Selecting previously unselected package libtirpc1:armhf.
Unpacking libtirpc1:armhf (from .../libtirpc1_0.2.2-5_armhf.deb) ...
Selecting previously unselected package libusb-1.0-0:armhf.
Unpacking libusb-1.0-0:armhf (from .../libusb-1.0-0_2%3a1.0.11-1_armhf.deb) ...
Selecting previously unselected package libopts25.
Unpacking libopts25 (from .../libopts25_1%3a5.12-0.1_armhf.deb) ...
Selecting previously unselected package ntp.
Unpacking ntp (from .../ntp_1%3a4.2.6.p5+dfsg-2_armhf.deb) ...
Selecting previously unselected package rpcbind.
Unpacking rpcbind (from .../rpcbind_0.2.0-8_armhf.deb) ...
Selecting previously unselected package ucf.
Unpacking ucf (from .../ucf_3.0025+nmu3_all.deb) ...
Moving old data out of the way
Selecting previously unselected package nfs-common.
Unpacking nfs-common (from .../nfs-common_1%3a1.2.6-4_armhf.deb) ...
Selecting previously unselected package usbutils.
Unpacking usbutils (from .../usbutils_1%3a005-3_armhf.deb) ...
Selecting previously unselected package fake-hwclock.
Unpacking fake-hwclock (from .../fake-hwclock_0.5_all.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Setting up libcap2:armhf (1:2.22-1.2) ...
Setting up libevent-2.0-5:armhf (2.0.19-stable-3) ...
Setting up libgssglue1:armhf (0.4-2) ...
Setting up libnfsidmap2:armhf (0.25-4) ...
Setting up libtirpc1:armhf (0.2.2-5) ...
Setting up libusb-1.0-0:armhf (2:1.0.11-1) ...
Setting up libopts25 (1:5.12-0.1) ...
Setting up ntp (1:4.2.6.p5+dfsg-2) ...
invoke-rc.d: policy-rc.d denied execution of start.
Setting up rpcbind (0.2.0-8) ...
invoke-rc.d: policy-rc.d denied execution of start.
Setting up ucf (3.0025+nmu3) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Setting up nfs-common (1:1.2.6-4) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype

Creating config file /etc/idmapd.conf with new version
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype

Creating config file /etc/default/nfs-common with new version
Adding system user `statd' (UID 103) ...
Adding new user `statd' (UID 103) with group `nogroup' ...
Not creating home directory `/var/lib/nfs'.
invoke-rc.d: policy-rc.d denied execution of start.
Setting up usbutils (1:005-3) ...
Setting up fake-hwclock (0.5) ...
+ apt-get install -y --no-install-recommends cifs-utils
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libtalloc2 libwbclient0 samba-common
Suggested packages:
  smbclient
Recommended packages:
  keyutils winbind samba-common-bin
The following NEW packages will be installed:
  cifs-utils libtalloc2 libwbclient0 samba-common
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 425 kB of archives.
After this operation, 1123 kB of additional disk space will be used.
Get:1 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libtalloc2 armhf 2.0.7+git20120207-1 [22.4 kB]
Get:2 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libwbclient0 armhf 2:3.6.6-6 [91.6 kB]
Get:3 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main samba-common all 2:3.6.6-6 [241 kB]
Get:4 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main cifs-utils armhf 2:5.5-1 [70.1 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 425 kB in 5s (79.1 kB/s)
Selecting previously unselected package libtalloc2:armhf.
(Reading database ... 27055 files and directories currently installed.)
Unpacking libtalloc2:armhf (from .../libtalloc2_2.0.7+git20120207-1_armhf.deb) ...
Selecting previously unselected package libwbclient0:armhf.
Unpacking libwbclient0:armhf (from .../libwbclient0_2%3a3.6.6-6_armhf.deb) ...
Selecting previously unselected package samba-common.
Unpacking samba-common (from .../samba-common_2%3a3.6.6-6_all.deb) ...
Selecting previously unselected package cifs-utils.
Unpacking cifs-utils (from .../cifs-utils_2%3a5.5-1_armhf.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Setting up libtalloc2:armhf (2.0.7+git20120207-1) ...
Setting up libwbclient0:armhf (2:3.6.6-6) ...
Setting up samba-common (2:3.6.6-6) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype

Creating config file /etc/samba/smb.conf with new version
Setting up cifs-utils (2:5.5-1) ...
+ echo deb http://archive.raspberrypi.org/debian/ wheezy main untested
+ apt-get update
Hit http://mirror.ox.ac.uk wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release
Hit http://mirror.ox.ac.uk wheezy Release
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://mirror.ox.ac.uk wheezy/main armhf Packages
Get:1 http://archive.raspberrypi.org wheezy/untested armhf Packages [1363 B]
Hit http://mirror.ox.ac.uk wheezy/contrib armhf Packages
Hit http://mirror.ox.ac.uk wheezy/non-free armhf Packages
Hit http://mirror.ox.ac.uk wheezy/rpi armhf Packages
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Ign http://archive.raspberrypi.org wheezy/untested Translation-en
Ign http://mirror.ox.ac.uk wheezy/contrib Translation-en
Ign http://mirror.ox.ac.uk wheezy/main Translation-en
Ign http://mirror.ox.ac.uk wheezy/non-free Translation-en
Ign http://mirror.ox.ac.uk wheezy/rpi Translation-en
Fetched 1363 B in 9s (140 B/s)
Reading package lists...
+ apt-get install -y libraspberrypi-dev libraspberrypi-doc libfreetype6-dev
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libfreetype6
The following NEW packages will be installed:
  libfreetype6 libfreetype6-dev libraspberrypi-dev libraspberrypi-doc
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 33.3 MB of archives.
After this operation, 39.7 MB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian/ wheezy/main libraspberrypi-dev armhf 1.20130617-1 [677 kB]
Get:2 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libfreetype6 armhf 2.4.9-1.1 [401 kB]
Get:3 http://archive.raspberrypi.org/debian/ wheezy/main libraspberrypi-doc armhf 1.20130617-1 [31.5 MB]
Get:4 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libfreetype6-dev armhf 2.4.9-1.1 [748 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 33.3 MB in 9min 14s (60.0 kB/s)
Selecting previously unselected package libfreetype6:armhf.
(Reading database ... 27110 files and directories currently installed.)
Unpacking libfreetype6:armhf (from .../libfreetype6_2.4.9-1.1_armhf.deb) ...
Selecting previously unselected package libfreetype6-dev.
Unpacking libfreetype6-dev (from .../libfreetype6-dev_2.4.9-1.1_armhf.deb) ...
Selecting previously unselected package libraspberrypi-dev.
Unpacking libraspberrypi-dev (from .../libraspberrypi-dev_1.20130617-1_armhf.deb) ...
Selecting previously unselected package libraspberrypi-doc.
Unpacking libraspberrypi-doc (from .../libraspberrypi-doc_1.20130617-1_armhf.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Setting up libfreetype6:armhf (2.4.9-1.1) ...
Setting up libfreetype6-dev (2.4.9-1.1) ...
Setting up libraspberrypi-dev (1.20130617-1) ...
Setting up libraspberrypi-doc (1.20130617-1) ...
+ echo deb http://archive.raspberrypi.org/debian/ wheezy main
+ apt-get update
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://mirror.ox.ac.uk wheezy Release.gpg
Hit http://mirror.ox.ac.uk wheezy Release
Hit http://archive.raspberrypi.org wheezy Release
Hit http://mirror.ox.ac.uk wheezy/main armhf Packages
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://mirror.ox.ac.uk wheezy/contrib armhf Packages
Hit http://mirror.ox.ac.uk wheezy/non-free armhf Packages
Hit http://mirror.ox.ac.uk wheezy/rpi armhf Packages
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Ign http://mirror.ox.ac.uk wheezy/contrib Translation-en
Ign http://mirror.ox.ac.uk wheezy/main Translation-en
Ign http://mirror.ox.ac.uk wheezy/non-free Translation-en
Ign http://mirror.ox.ac.uk wheezy/rpi Translation-en
Reading package lists...
+ apt-get install -y wpasupplicant wireless-tools firmware-atheros firmware-brcm80211 firmware-libertas firmware-ralink firmware-realtek
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libiw30 libnl-3-200 libnl-genl-3-200 libpcsclite1 libreadline5
Suggested packages:
  linux-image pcscd wpagui libengine-pkcs11-openssl
The following NEW packages will be installed:
  firmware-atheros firmware-brcm80211 firmware-libertas firmware-ralink
  firmware-realtek libiw30 libnl-3-200 libnl-genl-3-200 libpcsclite1
  libreadline5 wireless-tools wpasupplicant
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 3262 kB of archives.
After this operation, 5937 kB of additional disk space will be used.
Get:1 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libnl-3-200 armhf 3.2.7-4 [50.6 kB]
Get:2 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libnl-genl-3-200 armhf 3.2.7-4 [18.3 kB]
Get:3 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libpcsclite1 armhf 1.8.4-1+deb7u1 [53.7 kB]
Get:4 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libiw30 armhf 30~pre9-8 [34.8 kB]
Get:5 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main libreadline5 armhf 5.2+dfsg-2~deb7u1 [132 kB]
Get:6 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/non-free firmware-atheros all 0.36+wheezy.1 [495 kB]
Get:7 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/non-free firmware-brcm80211 all 0.36+wheezy.1 [55.6 kB]
Get:8 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/non-free firmware-libertas all 0.36+wheezy.1 [1512 kB]
Get:9 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/non-free firmware-ralink all 0.36+wheezy.1 [21.4 kB]
Get:10 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/non-free firmware-realtek all 0.36+wheezy.1 [215 kB]
Get:11 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main wpasupplicant armhf 1.0-3 [541 kB]
Get:12 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/main wireless-tools armhf 30~pre9-8 [133 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 3262 kB in 51s (63.4 kB/s)
Selecting previously unselected package libnl-3-200:armhf.
(Reading database ... 27588 files and directories currently installed.)
Unpacking libnl-3-200:armhf (from .../libnl-3-200_3.2.7-4_armhf.deb) ...
Selecting previously unselected package libnl-genl-3-200:armhf.
Unpacking libnl-genl-3-200:armhf (from .../libnl-genl-3-200_3.2.7-4_armhf.deb) ...
Selecting previously unselected package libpcsclite1:armhf.
Unpacking libpcsclite1:armhf (from .../libpcsclite1_1.8.4-1+deb7u1_armhf.deb) ...
Selecting previously unselected package libiw30:armhf.
Unpacking libiw30:armhf (from .../libiw30_30~pre9-8_armhf.deb) ...
Selecting previously unselected package libreadline5:armhf.
Unpacking libreadline5:armhf (from .../libreadline5_5.2+dfsg-2~deb7u1_armhf.deb) ...
Selecting previously unselected package firmware-atheros.
Unpacking firmware-atheros (from .../firmware-atheros_0.36+wheezy.1_all.deb) ...
Selecting previously unselected package firmware-brcm80211.
Unpacking firmware-brcm80211 (from .../firmware-brcm80211_0.36+wheezy.1_all.deb) ...
Selecting previously unselected package firmware-libertas.
Unpacking firmware-libertas (from .../firmware-libertas_0.36+wheezy.1_all.deb) ...
Selecting previously unselected package firmware-ralink.
Unpacking firmware-ralink (from .../firmware-ralink_0.36+wheezy.1_all.deb) ...
Selecting previously unselected package firmware-realtek.
Unpacking firmware-realtek (from .../firmware-realtek_0.36+wheezy.1_all.deb) ...
Selecting previously unselected package wpasupplicant.
Unpacking wpasupplicant (from .../wpasupplicant_1.0-3_armhf.deb) ...
Selecting previously unselected package wireless-tools.
Unpacking wireless-tools (from .../wireless-tools_30~pre9-8_armhf.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Setting up libnl-3-200:armhf (3.2.7-4) ...
Setting up libnl-genl-3-200:armhf (3.2.7-4) ...
Setting up libpcsclite1:armhf (1.8.4-1+deb7u1) ...
Setting up libiw30:armhf (30~pre9-8) ...
Setting up libreadline5:armhf (5.2+dfsg-2~deb7u1) ...
Setting up firmware-atheros (0.36+wheezy.1) ...
Setting up firmware-brcm80211 (0.36+wheezy.1) ...
Setting up firmware-libertas (0.36+wheezy.1) ...
Setting up firmware-ralink (0.36+wheezy.1) ...
Setting up firmware-realtek (0.36+wheezy.1) ...
update-initramfs: deferring update (trigger activated)
Setting up wpasupplicant (1.0-3) ...
Setting up wireless-tools (30~pre9-8) ...
Processing triggers for initramfs-tools ...
+ /etc/init.d/fake-hwclock stop
Stopping fake hwclock: saving system time.
+ update-rc.d hwclock.sh disable
update-rc.d: using dependency based boot sequencing
insserv: warning: current start runlevel(s) (empty) of script `hwclock.sh' overrides LSB defaults (S).
insserv: warning: current stop runlevel(s) (0 6 S) of script `hwclock.sh' overrides LSB defaults (0 6).
+ update-rc.d nfs-common disable
update-rc.d: using dependency based boot sequencing
insserv: warning: current start runlevel(s) (empty) of script `nfs-common' overrides LSB defaults (2 3 4 5 S).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6 S) of script `nfs-common' overrides LSB defaults (0 1 6).
+ update-rc.d rpcbind disable
update-rc.d: using dependency based boot sequencing
insserv: warning: current start runlevel(s) (empty) of script `rpcbind' overrides LSB defaults (2 3 4 5 S).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6 S) of script `rpcbind' overrides LSB defaults (0 1 6).
+ dotask configure_ifplugd
+ false
+ configure_ifplugd
+ onvm_chroot sh -l -ex -
+ ssh_in_to_qemu chroot /mnt sh -l -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -ex -
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=#
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/bash_completion.sh ]
+ . /etc/profile.d/bash_completion.sh
+ [ -z  -o -z #  -o -n  ]
+ return
+ unset i
+ sed /etc/default/ifplugd -i -e s/^INTERFACES.*/INTERFACES="auto"/
+ sed /etc/default/ifplugd -i -e s/^HOTPLUG_INTERFACES.*/HOTPLUG_INTERFACES="all"/
+ dotask add_pi_user_to_groups
+ false
+ add_pi_user_to_groups
+ onvm_chroot sh -l -ex -
+ ssh_in_to_qemu chroot /mnt sh -l -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -ex -
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=#
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/bash_completion.sh ]
+ . /etc/profile.d/bash_completion.sh
+ [ -z  -o -z #  -o -n  ]
+ return
+ unset i
+ groupadd -f -r input
+ adduser pi adm
Adding user `pi' to group `adm' ...
Adding user pi to group adm
Done.
+ adduser pi dialout
Adding user `pi' to group `dialout' ...
Adding user pi to group dialout
Done.
+ adduser pi cdrom
Adding user `pi' to group `cdrom' ...
Adding user pi to group cdrom
Done.
+ adduser pi audio
Adding user `pi' to group `audio' ...
Adding user pi to group audio
Done.
+ adduser pi users
Adding user `pi' to group `users' ...
Adding user pi to group users
Done.
+ adduser pi sudo
Adding user `pi' to group `sudo' ...
Adding user pi to group sudo
Done.
+ adduser pi video
Adding user `pi' to group `video' ...
Adding user pi to group video
Done.
+ adduser pi games
Adding user `pi' to group `games' ...
Adding user pi to group games
Done.
+ adduser pi plugdev
Adding user `pi' to group `plugdev' ...
Adding user pi to group plugdev
Done.
+ adduser pi input
Adding user `pi' to group `input' ...
Adding user pi to group input
Done.
+ dotask configure_useradd
+ false
+ configure_useradd
+ onvm_chroot sh -l -ex -
+ ssh_in_to_qemu chroot /mnt sh -l -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -ex -
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=#
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/bash_completion.sh ]
+ . /etc/profile.d/bash_completion.sh
+ [ -z  -o -z #  -o -n  ]
+ return
+ unset i
+ sed -i /etc/default/useradd -e s/^# SKEL=/SKEL=/
+ sed -i /etc/default/useradd -e s|^SHELL=.*$|SHELL=/bin/bash|
+ dotask make_udev_input_rule
+ false
+ make_udev_input_rule
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
+ dotask configure_wifi
+ false
+ configure_wifi
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
Adding user `pi' to group `netdev' ...
Adding user pi to group netdev
Done.
+ dotask setup_sudoers
+ false
+ setup_sudoers
+ onvm_chroot sh -l -ex -
+ ssh_in_to_qemu chroot /mnt sh -l -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -ex -
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=#
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/bash_completion.sh ]
+ . /etc/profile.d/bash_completion.sh
+ [ -z  -o -z #  -o -n  ]
+ return
+ unset i
+ chmod +w /etc/sudoers
+ echo pi ALL=(ALL) NOPASSWD: ALL
+ chmod -w /etc/sudoers
+ usermod --pass=* root
+ dotask setup_swap
+ false
+ setup_swap
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  dphys-swapfile
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.9 kB of archives.
After this operation, 69.6 kB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian/ wheezy/main dphys-swapfile all 20061020-4raspi.1 [10.9 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 10.9 kB in 1s (9791 B/s)
Selecting previously unselected package dphys-swapfile.
(Reading database ... 27849 files and directories currently installed.)
Unpacking dphys-swapfile (from .../dphys-swapfile_20061020-4raspi.1_all.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Setting up dphys-swapfile (20061020-4raspi.1) ...
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match dphys-swapfile Default-Stop values (none)
invoke-rc.d: policy-rc.d denied execution of start.
+ dotask setup_console_setup
+ false
+ setup_console_setup
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
+ dotask cache_keymap
+ false
+ cache_keymap
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
Configuring /dev/tty1 /dev/tty2 /dev/tty3 /dev/tty4 /dev/tty5 /dev/tty6
The charmap is UTF-8
BackSpace is ^?
Stopping fake hwclock: saving system time.
+ dotask tweak_inputrc
+ false
+ tweak_inputrc
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
+ dotask fiddle_default_PATH
+ false
+ fiddle_default_PATH
+ onvm_chroot sh -l -ex -
+ ssh_in_to_qemu chroot /mnt sh -l -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -ex -
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=#
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/bash_completion.sh ]
+ . /etc/profile.d/bash_completion.sh
+ [ -z  -o -z #  -o -n  ]
+ return
+ unset i
+ sed /etc/profile -i -e s|PATH="/usr/.*games.*$|PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"|
+ sed -i /etc/login.defs -e s|^ENV_PATH.*|ENV_PATH        PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games|
+ [ -n 1 ]
+ dotask install_memcpy_replacement
+ false
+ install_memcpy_replacement
+ onvm_chroot sh -l -e
+ ssh_in_to_qemu chroot /mnt sh -l -e
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  raspi-copies-and-fills
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 4926 B of archives.
After this operation, 10.2 kB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian/ wheezy/main raspi-copies-and-fills armhf 0.4-1 [4926 B]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 4926 B in 1s (4086 B/s)
Selecting previously unselected package raspi-copies-and-fills.
(Reading database ... 27861 files and directories currently installed.)
Unpacking raspi-copies-and-fills (from .../raspi-copies-and-fills_0.4-1_armhf.deb) ...
Setting up raspi-copies-and-fills (0.4-1) ...
+ dotask save_space_using_hardlink
+ false
+ save_space_using_hardlink
+ onvm_chroot sh -l -e -
+ ssh_in_to_qemu chroot /mnt sh -l -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e -
Mode:     real
Files:    3923
Linked:   362 files
Compared: 139300 files
Saved:    6.60 MiB
Duration: 71.70 seconds
+ dotask adjust_sysctl
+ false
+ adjust_sysctl
+ onvm_chroot sh -l -e
+ ssh_in_to_qemu chroot /mnt sh -l -e
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e
+ dotask allow_starting_services
+ false
+ allow_starting_services
+ ssh_in_to_qemu chroot /mnt sh -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -ex -
+ rm /usr/sbin/policy-rc.d
+ dotask remove_ssh_host_keys
+ false
+ remove_ssh_host_keys
+ onvm_chroot sh -l -ex -
+ ssh_in_to_qemu chroot /mnt sh -l -ex -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -ex -
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=#
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/bash_completion.sh ]
+ . /etc/profile.d/bash_completion.sh
+ [ -z  -o -z #  -o -n  ]
+ return
+ unset i
+ rm -f /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_dsa_key.pub /etc/ssh/ssh_host_ecdsa_key /etc/ssh/ssh_host_ecdsa_key.pub /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key.pub
+ + cat
tee /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi

exit 0
+ update-rc.d ssh disable
update-rc.d: using dependency based boot sequencing
insserv: warning: current start runlevel(s) (empty) of script `ssh' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (2 3 4 5) of script `ssh' overrides LSB defaults (empty).
+ cat
+ chmod +x /etc/init.d/regenerate_ssh_host_keys
+ update-rc.d regenerate_ssh_host_keys start 2
update-rc.d: warning:  start runlevel arguments (none) do not match regenerate_ssh_host_keys Default-Start values (2)
update-rc.d: using dependency based boot sequencing
+ dotask set_default_kernel_modules
+ false
+ set_default_kernel_modules
+ onvm_chroot sh -e -
+ ssh_in_to_qemu chroot /mnt sh -e -
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -e -
+ dotask update_issue
+ false
+ update_issue
+ get_git_hash
+ git log --pretty=format:%h -n 1
fatal: Not a git repository (or any of the parent directories): .git
+ GIT_HASH=
+ onvm_chroot sh -l -e
+ ssh_in_to_qemu chroot /mnt sh -l -e
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e
+ dotask fingerprint_debian
+ false
+ fingerprint_debian
+ FNGPRNT_DIR=stage3.qed.fingerprint
+ onvm_chroot sh -l -e
+ ssh_in_to_qemu chroot /mnt sh -l -e
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -e
+ scp_r_from_qemu /mnt/tmp/stage3.qed.fingerprint .
+ scp -r -i qemu_arm_key -P 22000 [email protected]:/mnt/tmp/stage3.qed.fingerprint .
debconf_selections                                                                                  100%   43KB  43.0KB/s   00:00
apt-mark_showauto                                                                                   100% 1158     1.1KB/s   00:00
dpkg_l                                                                                              100%   36KB  35.9KB/s   00:00
dpkg_selections                                                                                     100% 7876     7.7KB/s   00:00
+ cd stage3.qed.fingerprint
+ grep [[:space:]]install$ dpkg_selections
+ cut -f1
+ sort apt-mark_showauto -
+ uniq -u
+ cd /home/chronodekar/projects/RaspberryPi/spindle-master/work
+ dotask shutdown_qemu
+ false
+ shutdown_qemu
+ ssh_in_to_qemu sync && umount -a
+ ssh -i qemu_arm_key -p 22000 -lroot localhost sync && umount -a
umount: can't umount /home: Device or resource busy
umount: can't umount /dev: Device or resource busy
+ true
+ echo exit
+ sleep 5
+ [ -e qemu.pid ]
+ cat qemu.pid
+ QEMU_PID=20966
+ [ -n 20966 ]
+ set +e
+ kill -0 20966
+ [ 1 -eq 0 ]
+ QEMU_PID=
+ set -e
+ [ -n  ]
+ rm fifo.in
+ rm fifo.out
+ dotask finish_image
+ false
+ finish_image
+ chmod -w stage3.qed
+ mkdir -p ../out
+ mv -f stage3.qed ../out
+ [ -d stage3.qed.fingerprint ]
+ rm -rf ../out/stage3.qed.fingerprint
+ mv stage3.qed.fingerprint ../out
+ FINISHED_SUCCESSFULLY=1
+ printf Completed script successfully\n
Completed script successfully
+ WAS_TRAPPED=1
+ universal_cleanup
+ set +e
+ [ 0 -ne 1 ]
+ printf Initiating cleanup\n
Initiating cleanup
+ trap - INT
+ trap - EXIT
+ [ -p fifo.in ]
+ [ -b /dev/nbd0p1 ]
+ [ -b /dev/nbd0p2 ]
+ [ -b /dev/nbd0 ]
+ sudo umount /dev/nbd0
[sudo] password for chronodekar:
umount: /dev/nbd0: not mounted
+ [ -b /dev/nbd0 ]
+ detach_image_from_nbd /dev/nbd0
+ sudo qemu-nbd -d /dev/nbd0
/dev/nbd0 disconnected
+ [ 1 -eq 1 ]
+ [ 1 -eq 0 ]
+ set -e
>

I'm not interested in seeing a desktop ATM, so I'll just try modifying the last command to generate the IMG file. At least, if its' what I think it is. Here is what I'm doing,

Code: Select all

> ./helper export_image_for_release out/stage3.qed stage3.img
+ export_image_for_release out/stage3.qed stage3.img
+ cd work
+ qemu-img create -f qed -b ../out/stage3.qed temp.qed
Formatting 'temp.qed', fmt=qed size=1939865600 backing_file='../out/stage3.qed' cluster_size=65536 table_size=0
+ run_qemu temp.qed
+ rm fifo.out fifo.in
rm: cannot remove `fifo.out': No such file or directory
rm: cannot remove `fifo.in': No such file or directory
+ true
+ mkfifo fifo.out fifo.in
+ qemu-system-arm -M versatilepb -cpu arm1136-r2 -m 256 -nographic -no-reboot -kernel zImage -hda qemu_rootfs.sqf -drive file=temp.qed,index=1,media=disk,cache=unsafe -drive file=wheezy_apt_cache.qed,index=2,media=disk,cache=unsafe -append root=/dev/sda rw init=/sbin/init.sh panic=1 PATH=/bin:/sbin console=ttyAMA0 HOST=armv6l -net nic,model=rtl8139 -net user -redir tcp:22000::22 -daemonize -serial pipe:fifo -pidfile qemu.pid
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
audio: Failed to create voice `lm4549.out'
+ sleep 10
+ onvm_chroot sh -l -ex
+ ssh_in_to_qemu chroot /mnt sh -l -ex
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -ex
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=#
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/bash_completion.sh ]
+ . /etc/profile.d/bash_completion.sh
+ [ -z  -o -z #  -o -n  ]
+ return
+ unset i
+ grep armhf /etc/rpi-issue
Raspberry Pi reference  (armhf)
+ sed -i /etc/apt/sources.list -e s|^deb [^ ]*|deb http://mirrordirector.raspbian.org/raspbian/|
+ cp /usr/share/doc/raspi-config/sample_profile_d.sh /etc/profile.d/raspi-config.sh
+ apt-get update
Hit http://archive.raspberrypi.org wheezy Release.gpg
Get:1 http://mirrordirector.raspbian.org wheezy Release.gpg [490 B]
Hit http://archive.raspberrypi.org wheezy Release
Get:2 http://mirrordirector.raspbian.org wheezy Release [14.4 kB]
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Get:3 http://mirrordirector.raspbian.org wheezy/main armhf Packages [7413 kB]
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Get:4 http://mirrordirector.raspbian.org wheezy/contrib armhf Packages [23.2 kB]
Get:5 http://mirrordirector.raspbian.org wheezy/non-free armhf Packages [48.0 kB]
Get:6 http://mirrordirector.raspbian.org wheezy/rpi armhf Packages [569 B]
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Fetched 7500 kB in 2min 45s (45.3 kB/s)
Reading package lists...
+ /etc/init.d/fake-hwclock stop
Stopping fake hwclock: saving system time.
+ shutdown_qemu
+ ssh_in_to_qemu sync && umount -a
+ ssh -i qemu_arm_key -p 22000 -lroot localhost sync && umount -a
umount: can't umount /home: Device or resource busy
umount: can't umount /dev: Device or resource busy
+ true
+ echo exit
+ sleep 5
+ [ -e qemu.pid ]
+ cat qemu.pid
+ QEMU_PID=21102
+ [ -n 21102 ]
+ set +e
+ kill -0 21102
+ [ 1 -eq 0 ]
+ QEMU_PID=
+ set -e
+ [ -n  ]
+ rm fifo.in
+ rm fifo.out
+ attach_image_to_nbd temp.qed /dev/nbd0
+ sleep 5
+ sudo qemu-nbd --nocache -v -c /dev/nbd0 temp.qed
NBD device /dev/nbd0 is now connected to temp.qed
+ sudo zerofree -v /dev/nbd0p2
25088/302190/458240
+ mkdir -p rootfs boot
+ sudo mount /dev/nbd0p1 boot
+ sudo mount /dev/nbd0p2 rootfs
+ sudo cp rootfs/etc/rpi-issue boot/issue.txt
+ [ -n 1 ]
+ sudo mv rootfs/etc/ld.so.preload.disable rootfs/etc/ld.so.preload
+ sudo umount /dev/nbd0p1
+ sudo umount /dev/nbd0p2
+ detach_image_from_nbd /dev/nbd0
+ sudo qemu-nbd -d /dev/nbd0
/dev/nbd0 disconnected
/build/qemu-4PL7po/qemu-1.0.1+dfsg/nbd.c:nbd_trip():L613: From: 18446744073709551104, Len: 0, Size: 1939865600, Offset: 0

/build/qemu-4PL7po/qemu-1.0.1+dfsg/nbd.c:nbd_trip():L614: requested operation past EOF--bad client?
+ convert_image temp.qed ../stage3.img
+ qemu-img convert -f qed -O raw temp.qed ../stage3.img
+ WAS_TRAPPED=1
+ universal_cleanup
+ set +e
+ [ 0 -ne 1 ]
+ printf Initiating cleanup\n
Initiating cleanup
+ trap - INT
+ trap - EXIT
+ [ -p fifo.in ]
+ [ -b /dev/nbd0p1 ]
+ [ -b /dev/nbd0p2 ]
+ [ -b /dev/nbd0 ]
+ sudo umount /dev/nbd0
umount: /dev/nbd0: not mounted
+ [ -b /dev/nbd0 ]
+ detach_image_from_nbd /dev/nbd0
+ sudo qemu-nbd -d /dev/nbd0
/dev/nbd0 disconnected
+ [ 1 -eq 1 ]
+ [ 0 -eq 0 ]
+ printf Did not complete script successfully\n
Did not complete script successfully
+ set -e
>
... Well.

That was disappointing. :(

Back to debugging then!

-chronodekar

Re: trouble building the distro in VirtualBox

Posted: Wed Jun 26, 2013 8:49 am
by asb
You're identifying things are errors which really aren't e.g. `umount: /dev/nbd0: not mounted` is fine, it just got unmounted earlier in the process. As for the export script, check whether you have a stage3.img. I think that particular script just doesn't set the success flag properly (sorry, these scripts are a little rough and ready - for the most part it's just been me using them).

Re: trouble building the distro in VirtualBox

Posted: Thu Jun 27, 2013 9:58 am
by chronodekar
asb wrote: As for the export script, check whether you have a stage3.img.
I now feel like an idiot for not checking the obvious. Yes, that file is getting created and I successfully loaded it to a microSD card (used an adapter) and booted my r-pi off it. Something came up on the display; but I'm more interested in the network connection and I was able to ssh into the board. Thanks! :)

If I make any modifications to the scripts (like commenting them or changing them for offline use) would you accept patches?

-chronodekar

Re: trouble building the distro in VirtualBox

Posted: Thu Jun 27, 2013 10:04 am
by asb
Sure, just make a pull request via github and I'll review them.

Re: trouble building the distro in VirtualBox

Posted: Fri May 08, 2015 2:34 pm
by Alexander Uhlmann
Hi,
I stumbled upon spindle on Github while I was looking for a way to be able to configure Raspberry Pi images (e.g. install certain packages, copy files on it, modify config files, set up daemons etc.) without having to actually boot up a RPi or even do any manual input.

I tried this using Ubuntu 14.04 (64bit) and Debian 8 (64-bit), running in VMware Player 6.0 on a Windows 7 Enterprise (64-bit) host.
All steps completed successfully but the "export_image_for_release" command is giving me a hard time. Here is the output I get:

Code: Select all

(spindle)[email protected]:~/Dokumente/spindle$ sudo ./helper export_image_for_release out/stage4-lxde.qed stage4-lxde.img
+ export_image_for_release out/stage4-lxde.qed stage4-lxde.img
+ cd work
+ qemu-img create -f qed -b ../out/stage4-lxde.qed temp.qed
Formatting 'temp.qed', fmt=qed size=3276800000 backing_file='../out/stage4-lxde.qed' cluster_size=65536 table_size=0 
+ :
+ run_qemu temp.qed
+ rm fifo.out fifo.in
rm: cannot remove `fifo.out': No such file or directory
rm: cannot remove `fifo.in': No such file or directory
+ :
+ true
+ mkfifo fifo.out fifo.in
+ :
+ qemu-system-arm -M versatilepb -cpu arm1136-r2 -m 256 -nographic -no-reboot -kernel zImage -hda qemu_rootfs.sqf -drive file=temp.qed,index=1,media=disk,cache=unsafe -drive file=wheezy_apt_cache.qed,index=2,media=disk,cache=unsafe -append root=/dev/sda rw init=/sbin/init.sh panic=1 PATH=/bin:/sbin console=ttyAMA0 HOST=armv6l -net nic,model=rtl8139 -net user -redir tcp:22000::22 -daemonize -serial pipe:fifo -pidfile qemu.pid
+ :
+ sleep 10
+ :
+ onvm_chroot sh -l -ex
+ ssh_in_to_qemu chroot /mnt sh -l -ex
+ ssh -i qemu_arm_key -p 22000 -lroot localhost chroot /mnt sh -l -ex
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=# 
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/bash_completion.sh ]
+ . /etc/profile.d/bash_completion.sh
+ [ -z  -o -z #  -o -n  ]
+ return
+ unset i
+ grep armhf /etc/rpi-issue
Raspberry Pi reference 2015-05-08 (armhf)
+ sed -i /etc/apt/sources.list -e s|^deb [^ ]*|deb http://mirrordirector.raspbian.org/raspbian/|
+ cp /usr/share/doc/raspi-config/sample_profile_d.sh /etc/profile.d/raspi-config.sh
+ apt-get update
Hit http://raspberrypi.collabora.com wheezy Release.gpg
Get:1 http://mirrordirector.raspbian.org wheezy Release.gpg [490 B]
Hit http://raspberrypi.collabora.com wheezy Release
Get:2 http://mirrordirector.raspbian.org wheezy Release [14.4 kB]
Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
Hit http://archive.raspberrypi.org wheezy Release.gpg
Get:3 http://mirrordirector.raspbian.org wheezy/main armhf Packages [6903 kB]
Hit http://archive.raspberrypi.org wheezy Release
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Get:4 http://mirrordirector.raspbian.org wheezy/contrib armhf Packages [23.6 kB]
Get:5 http://mirrordirector.raspbian.org wheezy/non-free armhf Packages [49.3 kB]
Get:6 http://mirrordirector.raspbian.org wheezy/rpi armhf Packages [592 B]
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Fetched 6992 kB in 30s (226 kB/s)
Reading package lists...
+ printf nameserver 8.8.8.8\n
+ /etc/init.d/fake-hwclock stop
Stopping fake hwclock: saving system time.
+ cat
+ apt-get update
Err http://mirrordirector.raspbian.org wheezy Release.gpg
  Temporary failure resolving 'mirrordirector.raspbian.org'
Err http://raspberrypi.collabora.com wheezy Release.gpg
  Temporary failure resolving 'raspberrypi.collabora.com'
Err http://archive.raspberrypi.org wheezy Release.gpg
  Temporary failure resolving 'archive.raspberrypi.org'
Reading package lists...
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/Release.gpg  Temporary failure resolving 'mirrordirector.raspbian.org'

W: Failed to fetch http://raspberrypi.collabora.com/dists/wheezy/Release.gpg  Temporary failure resolving 'raspberrypi.collabora.com'

W: Failed to fetch http://archive.raspberrypi.org/debian/dists/wheezy/Release.gpg  Temporary failure resolving 'archive.raspberrypi.org'

W: Some index files failed to download. They have been ignored, or old ones used instead.
+ :
+ shutdown_qemu
+ ssh_in_to_qemu sync && umount -a
+ ssh -i qemu_arm_key -p 22000 -lroot localhost sync && umount -a
umount: can't umount /home: Device or resource busy
umount: can't umount /dev: Device or resource busy
+ :
+ true
+ echo exit
+ sleep 5
+ :
+ [ -e qemu.pid ]
+ cat qemu.pid
+ QEMU_PID=51100
+ :
+ [ -n 51100 ]
+ set +e
+ kill -0 51100
+ [ 1 -eq 0 ]
+ QEMU_PID=
+ set -e
+ [ -n  ]
+ rm fifo.in
+ :
+ rm fifo.out
+ :
+ attach_image_to_nbd temp.qed /dev/nbd0
+ sleep 5
+ sudo qemu-nbd --nocache -v -c /dev/nbd0 temp.qed
NBD device /dev/nbd0 is now connected to temp.qed
+ :
+ sudo zerofree -v /dev/nbd0p2
44333/422444/784640
+ :
+ mkdir -p rootfs boot
+ :
+ sudo mount /dev/nbd0p1 boot
+ :
+ sudo mount /dev/nbd0p2 rootfs
+ :
+ sudo cp rootfs/etc/rpi-issue boot/issue.txt
+ :
+ sudo wget http://asbradbury.org/tmp/raspi/oracle_license.txt -O boot/LICENSE.oracle
--2015-05-08 13:35:14--  http://asbradbury.org/tmp/raspi/oracle_license.txt
Resolving asbradbury.org (asbradbury.org)... 97.107.130.24
Connecting to asbradbury.org (asbradbury.org)|97.107.130.24|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18974 (19K) [text/plain]
Saving to: `boot/LICENSE.oracle'

100%[==========================================================================================================================================>] 18,974      --.-K/s   in 0.1s    

2015-05-08 13:35:14 (164 KB/s) - `boot/LICENSE.oracle' saved [18974/18974]

+ :
+ [ -n 1 ]
+ sudo mv rootfs/etc/ld.so.preload.disable rootfs/etc/ld.so.preload
+ :
+ [ -n  ]
+ sleep 10
+ :
+ sudo umount /dev/nbd0p1
+ :
+ sudo umount /dev/nbd0p2
+ :
+ detach_image_from_nbd /dev/nbd0
+ sudo qemu-nbd -d /dev/nbd0
/dev/nbd0 disconnected
+ :
+ convert_image temp.qed ../stage4-lxde.img
+ qemu-img convert -f qed -O raw temp.qed ../stage4-lxde.img
+ :
+ WAS_TRAPPED=1
+ universal_cleanup
+ set +e
+ [ 0 -ne 1 ]
+ printf Initiating cleanup\n
Initiating cleanup
+ trap - INT
+ trap - EXIT
+ [ -p fifo.in ]
+ [ -b /dev/nbd0p1 ]
+ [ -b /dev/nbd0p2 ]
+ [ -b /dev/nbd0 ]
+ sudo umount /dev/nbd0
umount: /dev/nbd0: not mounted
+ :
+ [ -b /dev/nbd0 ]
+ detach_image_from_nbd /dev/nbd0
+ sudo qemu-nbd -d /dev/nbd0
/dev/nbd0 disconnected
+ :
+ [ 1 -eq 1 ]
+ [ 0 -eq 0 ]
+ printf Did not complete script successfully\n
Did not complete script successfully
+ set -e
After having a look at the "common" file I found following line in the code:

Code: Select all

# Sigh http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390433
So I decided to have a look at it and changed the problematic part of the "trap.c" file in the source of dash 0.5.8 according to the suggested patch. As stated in the patch, before the changes I also ended up with (the german equivalent of) "Hangup" but after building the modified dash the message I get is "EXIT trap executed", what seems to be the way it is meant to be. Sadly, I still get the log as shown above.

I then went on and executed the command

Code: Select all

qemu-img convert -f qed -O raw temp.qed ../stage4-lxde.img
by hand. After putting the resulting image on a SD-Card the RPi boots into the raspi-config and everything seems to work really well.

Could you give me a hint on what I have to change in order to get the script to complete successfully? What am I missing on the image I now have after manual creation? This is the first time I am trying to make my own RPi image and I really don't know what the problem is.

Thanks in advance!