Closed al-sabr closed 7 years ago
The bug was at the following lines :
t4 -O ^has_journal -b 4096 -L rootfs -U deadbeef-dead-beef-dead-beefdeadbeef /dev/${dev}p1
sudo mount /dev/${dev}p1 ./rootfs
I removed the p and left the rest for :
sudo mkfs.ext4 -O ^has_journal -b 4096 -L rootfs -U deadbeef-dead-beef-dead-beefdeadbeef /dev/${dev}1
sudo mount /dev/${dev}1 ./rootfs
Now it is going well I will keep you updated when it is finished or not.
It went through the debian-01.sh with some errors :
Shortened log
Adding 'local diversion of /sbin/initctl to /sbin/initctl.distrib'
W: There is no public key available for the following key IDs:
EF0F382A1A7B6500
Preconfiguring packages ...
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
Preconfiguring packages ...
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
Selecting previously unselected package libbsd0:arm64.
Setting up fuse (2.9.3-15+deb8u2) ...
libkmod: ERROR ../libkmod/libkmod-module.c:1638 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Setting up dbus (1.8.22-0+deb8u1) ...
Failed to read /proc/cmdline. Ignoring: No such file or directory
[FAIL] Can't start system message bus - /proc is not mounted ... failed!
Setting up libpam-systemd:arm64 (215-17+deb8u7) ...
Setting up ntp (1:4.2.6.p5+dfsg-7+deb8u2) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Failed to read /proc/cmdline. Ignoring: No such file or directory
Creating SSH2 ED25519 key; this may take some time ...
256 e9:2a:6e:a9:a7:38:68:52:e7:ca:81:98:03:76:58:d7 /etc/ssh/ssh_host_ed25519_key.pub (ED25519)
Failed to read /proc/cmdline. Ignoring: No such file or directory
Setting up sysfsutils (2.1.0+repack-4) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Failed to read /proc/cmdline. Ignoring: No such file or directory
Running hooks in /etc/ca-certificates/update.d....done.
Preconfiguring packages ...
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
Selecting previously unselected package libcwidget3:arm64.
Setting up cpufrequtils (008-1) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Failed to read /proc/cmdline. Ignoring: No such file or directory
[ ok ] Loading cpufreq kernel modules...done (none).
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Failed to read /proc/cmdline. Ignoring: No such file or directory
cat: /proc/stat: No such file or directory
[ ok ] CPUFreq Utilities: Setting ondemand CPUFreq governor...disabled, governor not available...done.
Processing triggers for systemd (215-17+deb8u7) ...
W: There is no public key available for the following key IDs:
EF0F382A1A7B6500
E: Package 'gcc-5' has no installation candidate
E: Package 'g++-5' has no installation candidate
update-alternatives: error: alternative path /usr/bin/gcc-5 doesn't exist
update-alternatives: error: alternative path /usr/bin/g++-5 doesn't exist
Full Logs
I: Extracting bsdutils...
I: Extracting libblkid1...
I: Extracting libmount1...
I: Extracting libsmartcols1...
I: Extracting libuuid1...
I: Extracting mount...
I: Extracting util-linux...
I: Extracting liblzma5...
I: Extracting zlib1g...
+ sudo mount -o bind /dev ./rootfs/dev
+ sudo mount -o bind /dev/pts ./rootfs/dev/pts
+ sudo mount -o bind /sys ./rootfs/sys
+ sudo mount -o bind /proc ./rootfs/proc
+ sudo cp /proc/mounts ./rootfs/etc/mtab
+ sudo cp debian-02.sh ./rootfs
+ sudo cp common-functions.sh ./rootfs
+ sudo cp debian-docker-00.sh ./rootfs
+ sudo LC_ALL=C LANGUAGE=C LANG=C chroot ./rootfs bash /debian-02.sh
I: Keyring file not available at /usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror https://mirrors.kernel.org/debian
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking acl...
I: Unpacking libacl1:arm64...
I: Unpacking adduser...
I: Unpacking libattr1:arm64...
I: Unpacking libaudit-common...
I: Unpacking libaudit1:arm64...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking libbz2-1.0:arm64...
I: Unpacking libdebconfclient0:arm64...
I: Unpacking coreutils...
I: Unpacking libcryptsetup4:arm64...
I: Unpacking dash...
I: Unpacking libdb5.3:arm64...
I: Unpacking debconf...
I: Unpacking debconf-i18n...
I: Unpacking debianutils...
I: Unpacking diffutils...
I: Unpacking dpkg...
I: Unpacking e2fslibs:arm64...
I: Unpacking e2fsprogs...
I: Unpacking libcomerr2:arm64...
I: Unpacking libss2:arm64...
I: Unpacking findutils...
I: Unpacking gcc-4.8-base:arm64...
I: Unpacking gcc-4.9-base:arm64...
I: Unpacking libgcc1:arm64...
I: Unpacking libc-bin...
I: Unpacking libc6:arm64...
I: Unpacking multiarch-support...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
I: Unpacking init...
I: Unpacking insserv...
I: Unpacking libkmod2:arm64...
I: Unpacking libcap2:arm64...
I: Unpacking libcap2-bin...
I: Unpacking libgcrypt20:arm64...
I: Unpacking libgpg-error0:arm64...
I: Unpacking liblocale-gettext-perl...
I: Unpacking libselinux1:arm64...
I: Unpacking libsemanage-common...
I: Unpacking libsemanage1:arm64...
I: Unpacking libsepol1:arm64...
I: Unpacking libtext-charwidth-perl...
I: Unpacking libtext-iconv-perl...
I: Unpacking libtext-wrapi18n-perl...
I: Unpacking lsb-base...
I: Unpacking dmsetup...
I: Unpacking libdevmapper1.02.1:arm64...
I: Unpacking mawk...
I: Unpacking libncurses5:arm64...
I: Unpacking libncursesw5:arm64...
I: Unpacking libtinfo5:arm64...
I: Unpacking ncurses-base...
I: Unpacking ncurses-bin...
I: Unpacking libpam-modules:arm64...
I: Unpacking libpam-modules-bin...
I: Unpacking libpam-runtime...
I: Unpacking libpam0g:arm64...
I: Unpacking libpcre3:arm64...
I: Unpacking perl-base...
I: Unpacking libprocps3:arm64...
I: Unpacking procps...
I: Unpacking sed...
I: Unpacking sensible-utils...
I: Unpacking login...
I: Unpacking passwd...
I: Unpacking libslang2:arm64...
I: Unpacking startpar...
I: Unpacking libsystemd0:arm64...
I: Unpacking libudev1:arm64...
I: Unpacking systemd...
I: Unpacking systemd-sysv...
I: Unpacking udev...
I: Unpacking initscripts...
I: Unpacking sysv-rc...
I: Unpacking sysvinit-utils...
I: Unpacking tar...
I: Unpacking tzdata...
I: Unpacking libustr-1.0-1:arm64...
I: Unpacking bsdutils...
I: Unpacking libblkid1:arm64...
I: Unpacking libmount1:arm64...
I: Unpacking libsmartcols1:arm64...
I: Unpacking libuuid1:arm64...
I: Unpacking mount...
I: Unpacking util-linux...
I: Unpacking liblzma5:arm64...
I: Unpacking zlib1g:arm64...
I: Configuring required packages...
I: Configuring gcc-4.8-base:arm64...
I: Configuring lsb-base...
I: Configuring sensible-utils...
I: Configuring ncurses-base...
I: Configuring libsemanage-common...
I: Configuring gcc-4.9-base:arm64...
I: Configuring libaudit-common...
I: Configuring libc6:arm64...
I: Configuring startpar...
I: Configuring libc-bin...
I: Configuring diffutils...
I: Configuring insserv...
I: Configuring findutils...
I: Configuring debianutils...
I: Configuring hostname...
I: Configuring multiarch-support...
I: Configuring mawk...
I: Configuring libprocps3:arm64...
I: Configuring libpcre3:arm64...
I: Configuring libbz2-1.0:arm64...
I: Configuring libkmod2:arm64...
I: Configuring libgpg-error0:arm64...
I: Configuring base-files...
I: Configuring libdebconfclient0:arm64...
I: Configuring libselinux1:arm64...
I: Configuring libcomerr2:arm64...
I: Configuring libslang2:arm64...
I: Configuring libsepol1:arm64...
I: Configuring libgcc1:arm64...
I: Configuring libustr-1.0-1:arm64...
I: Configuring libsmartcols1:arm64...
I: Configuring libaudit1:arm64...
I: Configuring libtinfo5:arm64...
I: Configuring libudev1:arm64...
I: Configuring libattr1:arm64...
I: Configuring libss2:arm64...
I: Configuring liblzma5:arm64...
I: Configuring base-passwd...
I: Configuring e2fslibs:arm64...
I: Configuring libgcrypt20:arm64...
I: Configuring libncursesw5:arm64...
I: Configuring libdb5.3:arm64...
I: Configuring zlib1g:arm64...
I: Configuring libcap2:arm64...
I: Configuring libsystemd0:arm64...
I: Configuring libdevmapper1.02.1:arm64...
I: Configuring libsemanage1:arm64...
I: Configuring sysvinit-utils...
I: Configuring libacl1:arm64...
I: Configuring ncurses-bin...
I: Configuring acl...
I: Configuring libncurses5:arm64...
I: Configuring libcap2-bin...
I: Configuring bsdutils...
I: Configuring coreutils...
I: Configuring tar...
I: Configuring dpkg...
I: Configuring sed...
I: Configuring perl-base...
I: Configuring grep...
I: Configuring debconf...
I: Configuring tzdata...
I: Configuring gzip...
I: Configuring dash...
I: Configuring libtext-iconv-perl...
I: Configuring sysv-rc...
I: Configuring liblocale-gettext-perl...
I: Configuring libtext-charwidth-perl...
I: Configuring libpam0g:arm64...
I: Configuring libpam-modules-bin...
I: Configuring bash...
I: Configuring libtext-wrapi18n-perl...
I: Configuring libpam-modules:arm64...
I: Configuring libpam-runtime...
I: Configuring debconf-i18n...
I: Configuring passwd...
I: Configuring login...
I: Configuring adduser...
I: Configuring libuuid1:arm64...
I: Configuring libblkid1:arm64...
I: Configuring libmount1:arm64...
I: Configuring libcryptsetup4:arm64...
I: Configuring mount...
I: Configuring initscripts...
I: Configuring util-linux...
I: Configuring e2fsprogs...
I: Configuring procps...
I: Configuring udev...
I: Configuring systemd...
I: Configuring dmsetup...
I: Configuring systemd-sysv...
I: Configuring init...
I: Configuring libc-bin...
I: Unpacking the base system...
I: Unpacking apt...
I: Unpacking apt-utils...
I: Unpacking libapt-inst1.5:arm64...
I: Unpacking libapt-pkg4.12:arm64...
I: Unpacking libdns-export100...
I: Unpacking libirs-export91...
I: Unpacking libisc-export95...
I: Unpacking libisccfg-export90...
I: Unpacking libboost-iostreams1.55.0:arm64...
I: Unpacking bsdmainutils...
I: Unpacking cpio...
I: Unpacking cron...
I: Unpacking debian-archive-keyring...
I: Unpacking dialog...
I: Unpacking libstdc++6:arm64...
I: Unpacking libgdbm3:arm64...
I: Unpacking locales...
I: Unpacking libgmp10:arm64...
I: Unpacking gnupg...
I: Unpacking gpgv...
I: Unpacking libgnutls-deb0-28:arm64...
I: Unpacking libgnutls-openssl27:arm64...
I: Unpacking libgpm2:arm64...
I: Unpacking groff-base...
I: Unpacking libicu52:arm64...
I: Unpacking ifupdown...
I: Unpacking init-system-helpers...
I: Unpacking iproute2...
I: Unpacking iptables...
I: Unpacking libxtables10...
I: Unpacking iputils-ping...
I: Unpacking isc-dhcp-client...
I: Unpacking isc-dhcp-common...
I: Unpacking libjson-c2:arm64...
I: Unpacking kmod...
I: Unpacking less...
I: Unpacking libestr0...
I: Unpacking libffi6:arm64...
I: Unpacking libidn11:arm64...
I: Unpacking liblogging-stdlog0:arm64...
I: Unpacking liblognorm1:arm64...
I: Unpacking libmnl0:arm64...
I: Unpacking libnetfilter-acct1:arm64...
I: Unpacking libnfnetlink0:arm64...
I: Unpacking libpipeline1:arm64...
I: Unpacking libpsl0:arm64...
I: Unpacking libsigc++-2.0-0c2a:arm64...
I: Unpacking libtasn1-6:arm64...
I: Unpacking libusb-0.1-4:arm64...
I: Unpacking logrotate...
I: Unpacking man-db...
I: Unpacking manpages...
I: Unpacking nano...
I: Unpacking net-tools...
I: Unpacking netbase...
I: Unpacking netcat-traditional...
I: Unpacking libhogweed2:arm64...
I: Unpacking libnettle4:arm64...
I: Unpacking libnewt0.52:arm64...
I: Unpacking whiptail...
I: Unpacking nfacct...
I: Unpacking libssl1.0.0:arm64...
I: Unpacking libp11-kit0:arm64...
I: Unpacking libpopt0:arm64...
I: Unpacking libreadline6:arm64...
I: Unpacking readline-common...
I: Unpacking rsyslog...
I: Unpacking tasksel...
I: Unpacking tasksel-data...
I: Unpacking traceroute...
I: Unpacking vim...
I: Unpacking vim-common...
I: Unpacking vim-runtime...
I: Unpacking vim-tiny...
I: Unpacking wget...
I: Configuring the base system...
I: Configuring readline-common...
I: Configuring libgdbm3:arm64...
I: Configuring manpages...
I: Configuring libxtables10...
I: Configuring cpio...
I: Configuring libpopt0:arm64...
I: Configuring kmod...
I: Configuring libestr0...
I: Configuring less...
I: Configuring libssl1.0.0:arm64...
I: Configuring dialog...
I: Configuring libgpm2:arm64...
I: Configuring gpgv...
I: Configuring liblogging-stdlog0:arm64...
I: Configuring netcat-traditional...
I: Configuring libpipeline1:arm64...
I: Configuring iproute2...
I: Configuring libtasn1-6:arm64...
I: Configuring nano...
I: Configuring libgmp10:arm64...
I: Configuring libisc-export95...
I: Configuring init-system-helpers...
I: Configuring libnettle4:arm64...
I: Configuring debian-archive-keyring...
I: Configuring vim-common...
I: Configuring libnfnetlink0:arm64...
I: Configuring vim-runtime...
I: Configuring libstdc++6:arm64...
I: Configuring libffi6:arm64...
I: Configuring libnewt0.52:arm64...
I: Configuring bsdmainutils...
I: Configuring net-tools...
I: Configuring cron...
I: Configuring libmnl0:arm64...
I: Configuring libapt-pkg4.12:arm64...
I: Configuring libusb-0.1-4:arm64...
I: Configuring locales...
I: Configuring traceroute...
I: Configuring logrotate...
I: Configuring libidn11:arm64...
I: Configuring libreadline6:arm64...
I: Configuring libjson-c2:arm64...
I: Configuring libicu52:arm64...
I: Configuring netbase...
I: Configuring vim-tiny...
I: Configuring libhogweed2:arm64...
I: Configuring ifupdown...
I: Configuring libisccfg-export90...
I: Configuring libsigc++-2.0-0c2a:arm64...
I: Configuring vim...
I: Configuring groff-base...
I: Configuring liblognorm1:arm64...
I: Configuring whiptail...
I: Configuring gnupg...
I: Configuring libpsl0:arm64...
I: Configuring libboost-iostreams1.55.0:arm64...
I: Configuring libdns-export100...
I: Configuring iptables...
I: Configuring libapt-inst1.5:arm64...
I: Configuring libp11-kit0:arm64...
I: Configuring libgnutls-deb0-28:arm64...
I: Configuring wget...
I: Configuring apt...
I: Configuring man-db...
I: Configuring libnetfilter-acct1:arm64...
I: Configuring rsyslog...
I: Configuring nfacct...
I: Configuring apt-utils...
I: Configuring libirs-export91...
I: Configuring libgnutls-openssl27:arm64...
I: Configuring iputils-ping...
I: Configuring isc-dhcp-common...
I: Configuring isc-dhcp-client...
I: Configuring tasksel...
I: Configuring tasksel-data...
I: Configuring libc-bin...
I: Configuring systemd...
I: Base system installed successfully.
Generating locales (this might take a while)...
en_GB.UTF-8... done
de_DE.UTF-8... done
Generation complete.
Generating locales (this might take a while)...
en_GB.UTF-8... done
de_DE.UTF-8... done
Generation complete.
Current default time zone: 'Europe/Berlin'
Local time is now: Tue Jun 20 21:02:59 CEST 2017.
Universal Time is now: Tue Jun 20 19:02:59 UTC 2017.
Adding 'local diversion of /sbin/initctl to /sbin/initctl.distrib'
W: There is no public key available for the following key IDs:
EF0F382A1A7B6500
Preconfiguring packages ...
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
(Reading database ... 12199 files and directories currently installed.)
Preparing to unpack .../login_1%3a4.2-3+deb8u4_arm64.deb ...
Unpacking login (1:4.2-3+deb8u4) over (1:4.2-3+deb8u3) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up login (1:4.2-3+deb8u4) ...
(Reading database ... 12199 files and directories currently installed.)
Preparing to unpack .../perl-base_5.20.2-3+deb8u7_arm64.deb ...
Unpacking perl-base (5.20.2-3+deb8u7) over (5.20.2-3+deb8u6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up perl-base (5.20.2-3+deb8u7) ...
(Reading database ... 12199 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.19-18+deb8u10_arm64.deb ...
Unpacking libc-bin (2.19-18+deb8u10) over (2.19-18+deb8u9) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libc-bin (2.19-18+deb8u10) ...
(Reading database ... 12199 files and directories currently installed.)
Preparing to unpack .../libc6_2.19-18+deb8u10_arm64.deb ...
Unpacking libc6:arm64 (2.19-18+deb8u10) over (2.19-18+deb8u9) ...
Setting up libc6:arm64 (2.19-18+deb8u10) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
(Reading database ... 12199 files and directories currently installed.)
Preparing to unpack .../libgcrypt20_1.6.3-2+deb8u3_arm64.deb ...
Unpacking libgcrypt20:arm64 (1.6.3-2+deb8u3) over (1.6.3-2+deb8u2) ...
Setting up libgcrypt20:arm64 (1.6.3-2+deb8u3) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
(Reading database ... 12199 files and directories currently installed.)
Preparing to unpack .../libgnutls-openssl27_3.3.8-6+deb8u6_arm64.deb ...
Unpacking libgnutls-openssl27:arm64 (3.3.8-6+deb8u6) over (3.3.8-6+deb8u5) ...
Preparing to unpack .../libtasn1-6_4.2-3+deb8u3_arm64.deb ...
Unpacking libtasn1-6:arm64 (4.2-3+deb8u3) over (4.2-3+deb8u2) ...
Preparing to unpack .../libgnutls-deb0-28_3.3.8-6+deb8u6_arm64.deb ...
Unpacking libgnutls-deb0-28:arm64 (3.3.8-6+deb8u6) over (3.3.8-6+deb8u5) ...
Preparing to unpack .../libisc-export95_1%3a9.9.5.dfsg-9+deb8u11_arm64.deb ...
Unpacking libisc-export95 (1:9.9.5.dfsg-9+deb8u11) over (1:9.9.5.dfsg-9+deb8u10) ...
Preparing to unpack .../libdns-export100_1%3a9.9.5.dfsg-9+deb8u11_arm64.deb ...
Unpacking libdns-export100 (1:9.9.5.dfsg-9+deb8u11) over (1:9.9.5.dfsg-9+deb8u10) ...
Preparing to unpack .../libffi6_3.1-2+deb8u1_arm64.deb ...
Unpacking libffi6:arm64 (3.1-2+deb8u1) over (3.1-2+b2) ...
Preparing to unpack .../libisccfg-export90_1%3a9.9.5.dfsg-9+deb8u11_arm64.deb ...
Unpacking libisccfg-export90 (1:9.9.5.dfsg-9+deb8u11) over (1:9.9.5.dfsg-9+deb8u10) ...
Preparing to unpack .../libirs-export91_1%3a9.9.5.dfsg-9+deb8u11_arm64.deb ...
Unpacking libirs-export91 (1:9.9.5.dfsg-9+deb8u11) over (1:9.9.5.dfsg-9+deb8u10) ...
Preparing to unpack .../multiarch-support_2.19-18+deb8u10_arm64.deb ...
Unpacking multiarch-support (2.19-18+deb8u10) over (2.19-18+deb8u9) ...
Setting up multiarch-support (2.19-18+deb8u10) ...
(Reading database ... 12198 files and directories currently installed.)
Preparing to unpack .../passwd_1%3a4.2-3+deb8u4_arm64.deb ...
Unpacking passwd (1:4.2-3+deb8u4) over (1:4.2-3+deb8u3) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up passwd (1:4.2-3+deb8u4) ...
(Reading database ... 12198 files and directories currently installed.)
Preparing to unpack .../locales_2.19-18+deb8u10_all.deb ...
Unpacking locales (2.19-18+deb8u10) over (2.19-18+deb8u9) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libtasn1-6:arm64 (4.2-3+deb8u3) ...
Setting up libgnutls-deb0-28:arm64 (3.3.8-6+deb8u6) ...
Setting up libgnutls-openssl27:arm64 (3.3.8-6+deb8u6) ...
Setting up libisc-export95 (1:9.9.5.dfsg-9+deb8u11) ...
Setting up libdns-export100 (1:9.9.5.dfsg-9+deb8u11) ...
Setting up libffi6:arm64 (3.1-2+deb8u1) ...
Setting up libisccfg-export90 (1:9.9.5.dfsg-9+deb8u11) ...
Setting up libirs-export91 (1:9.9.5.dfsg-9+deb8u11) ...
Setting up locales (2.19-18+deb8u10) ...
Generating locales (this might take a while)...
en_GB.UTF-8... done
de_DE.UTF-8... done
Generation complete.
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Extracting templates from packages: 100%
Preconfiguring packages ...
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
Selecting previously unselected package libbsd0:arm64.
(Reading database ... 12198 files and directories currently installed.)
Preparing to unpack .../libbsd0_0.7.0-2_arm64.deb ...
Unpacking libbsd0:arm64 (0.7.0-2) ...
Selecting previously unselected package libedit2:arm64.
Preparing to unpack .../libedit2_3.1-20140620-2_arm64.deb ...
Unpacking libedit2:arm64 (3.1-20140620-2) ...
Selecting previously unselected package libkeyutils1:arm64.
Preparing to unpack .../libkeyutils1_1.5.9-5+b1_arm64.deb ...
Unpacking libkeyutils1:arm64 (1.5.9-5+b1) ...
Selecting previously unselected package libkrb5support0:arm64.
Preparing to unpack .../libkrb5support0_1.12.1+dfsg-19+deb8u2_arm64.deb ...
Unpacking libkrb5support0:arm64 (1.12.1+dfsg-19+deb8u2) ...
Selecting previously unselected package libk5crypto3:arm64.
Preparing to unpack .../libk5crypto3_1.12.1+dfsg-19+deb8u2_arm64.deb ...
Unpacking libk5crypto3:arm64 (1.12.1+dfsg-19+deb8u2) ...
Selecting previously unselected package libkrb5-3:arm64.
Preparing to unpack .../libkrb5-3_1.12.1+dfsg-19+deb8u2_arm64.deb ...
Unpacking libkrb5-3:arm64 (1.12.1+dfsg-19+deb8u2) ...
Selecting previously unselected package libgssapi-krb5-2:arm64.
Preparing to unpack .../libgssapi-krb5-2_1.12.1+dfsg-19+deb8u2_arm64.deb ...
Unpacking libgssapi-krb5-2:arm64 (1.12.1+dfsg-19+deb8u2) ...
Selecting previously unselected package libsasl2-modules-db:arm64.
Preparing to unpack .../libsasl2-modules-db_2.1.26.dfsg1-13+deb8u1_arm64.deb ...
Unpacking libsasl2-modules-db:arm64 (2.1.26.dfsg1-13+deb8u1) ...
Selecting previously unselected package libsasl2-2:arm64.
Preparing to unpack .../libsasl2-2_2.1.26.dfsg1-13+deb8u1_arm64.deb ...
Unpacking libsasl2-2:arm64 (2.1.26.dfsg1-13+deb8u1) ...
Selecting previously unselected package libldap-2.4-2:arm64.
Preparing to unpack .../libldap-2.4-2_2.4.40+dfsg-1+deb8u3_arm64.deb ...
Unpacking libldap-2.4-2:arm64 (2.4.40+dfsg-1+deb8u3) ...
Selecting previously unselected package liblockfile-bin.
Preparing to unpack .../liblockfile-bin_1.09-6_arm64.deb ...
Unpacking liblockfile-bin (1.09-6) ...
Selecting previously unselected package liblockfile1:arm64.
Preparing to unpack .../liblockfile1_1.09-6_arm64.deb ...
Unpacking liblockfile1:arm64 (1.09-6) ...
Selecting previously unselected package libpci3:arm64.
Preparing to unpack .../libpci3_1%3a3.2.1-3_arm64.deb ...
Unpacking libpci3:arm64 (1:3.2.1-3) ...
Selecting previously unselected package libwrap0:arm64.
Preparing to unpack .../libwrap0_7.6.q-25_arm64.deb ...
Unpacking libwrap0:arm64 (7.6.q-25) ...
Selecting previously unselected package perl-modules.
Preparing to unpack .../perl-modules_5.20.2-3+deb8u7_all.deb ...
Unpacking perl-modules (5.20.2-3+deb8u7) ...
Selecting previously unselected package perl.
Preparing to unpack .../perl_5.20.2-3+deb8u7_arm64.deb ...
Unpacking perl (5.20.2-3+deb8u7) ...
Selecting previously unselected package libcap-ng0:arm64.
Preparing to unpack .../libcap-ng0_0.7.4-2_arm64.deb ...
Unpacking libcap-ng0:arm64 (0.7.4-2) ...
Selecting previously unselected package librtmp1:arm64.
Preparing to unpack .../librtmp1_2.4+20150115.gita107cef-1+deb8u1_arm64.deb ...
Unpacking librtmp1:arm64 (2.4+20150115.gita107cef-1+deb8u1) ...
Selecting previously unselected package libssh2-1:arm64.
Preparing to unpack .../libssh2-1_1.4.3-4.1+deb8u1_arm64.deb ...
Unpacking libssh2-1:arm64 (1.4.3-4.1+deb8u1) ...
Selecting previously unselected package libcurl3:arm64.
Preparing to unpack .../libcurl3_7.38.0-4+deb8u5_arm64.deb ...
Unpacking libcurl3:arm64 (7.38.0-4+deb8u5) ...
Selecting previously unselected package libdbus-1-3:arm64.
Preparing to unpack .../libdbus-1-3_1.8.22-0+deb8u1_arm64.deb ...
Unpacking libdbus-1-3:arm64 (1.8.22-0+deb8u1) ...
Selecting previously unselected package libexpat1:arm64.
Preparing to unpack .../libexpat1_2.1.0-6+deb8u3_arm64.deb ...
Unpacking libexpat1:arm64 (2.1.0-6+deb8u3) ...
Selecting previously unselected package libfuse2:arm64.
Preparing to unpack .../libfuse2_2.9.3-15+deb8u2_arm64.deb ...
Unpacking libfuse2:arm64 (2.9.3-15+deb8u2) ...
Selecting previously unselected package libopts25:arm64.
Preparing to unpack .../libopts25_1%3a5.18.4-3_arm64.deb ...
Unpacking libopts25:arm64 (1:5.18.4-3) ...
Selecting previously unselected package dbus.
Preparing to unpack .../dbus_1.8.22-0+deb8u1_arm64.deb ...
Unpacking dbus (1.8.22-0+deb8u1) ...
Selecting previously unselected package libpam-systemd:arm64.
Preparing to unpack .../libpam-systemd_215-17+deb8u7_arm64.deb ...
Unpacking libpam-systemd:arm64 (215-17+deb8u7) ...
Selecting previously unselected package libsysfs2:arm64.
Preparing to unpack .../libsysfs2_2.1.0+repack-4_arm64.deb ...
Unpacking libsysfs2:arm64 (2.1.0+repack-4) ...
Selecting previously unselected package libusb-1.0-0:arm64.
Preparing to unpack .../libusb-1.0-0_2%3a1.0.19-1_arm64.deb ...
Unpacking libusb-1.0-0:arm64 (2:1.0.19-1) ...
Selecting previously unselected package libxau6:arm64.
Preparing to unpack .../libxau6_1%3a1.0.8-1_arm64.deb ...
Unpacking libxau6:arm64 (1:1.0.8-1) ...
Selecting previously unselected package libxdmcp6:arm64.
Preparing to unpack .../libxdmcp6_1%3a1.1.1-1+b1_arm64.deb ...
Unpacking libxdmcp6:arm64 (1:1.1.1-1+b1) ...
Selecting previously unselected package libxcb1:arm64.
Preparing to unpack .../libxcb1_1.10-3+b1_arm64.deb ...
Unpacking libxcb1:arm64 (1.10-3+b1) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../libx11-data_2%3a1.6.2-3_all.deb ...
Unpacking libx11-data (2:1.6.2-3) ...
Selecting previously unselected package libx11-6:arm64.
Preparing to unpack .../libx11-6_2%3a1.6.2-3_arm64.deb ...
Unpacking libx11-6:arm64 (2:1.6.2-3) ...
Selecting previously unselected package libxext6:arm64.
Preparing to unpack .../libxext6_2%3a1.3.3-1_arm64.deb ...
Unpacking libxext6:arm64 (2:1.3.3-1) ...
Selecting previously unselected package libxmuu1:arm64.
Preparing to unpack .../libxmuu1_2%3a1.1.2-1_arm64.deb ...
Unpacking libxmuu1:arm64 (2:1.1.2-1) ...
Selecting previously unselected package fuse.
Preparing to unpack .../fuse_2.9.3-15+deb8u2_arm64.deb ...
Unpacking fuse (2.9.3-15+deb8u2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up libfuse2:arm64 (2.9.3-15+deb8u2) ...
Setting up fuse (2.9.3-15+deb8u2) ...
libkmod: ERROR ../libkmod/libkmod-module.c:1638 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Selecting previously unselected package ntfs-3g.
(Reading database ... 13949 files and directories currently installed.)
Preparing to unpack .../ntfs-3g_1%3a2014.2.15AR.2-1+deb8u3_arm64.deb ...
Unpacking ntfs-3g (1:2014.2.15AR.2-1+deb8u3) ...
Selecting previously unselected package ntp.
Preparing to unpack .../ntp_1%3a4.2.6.p5+dfsg-7+deb8u2_arm64.deb ...
Unpacking ntp (1:4.2.6.p5+dfsg-7+deb8u2) ...
Selecting previously unselected package ntpdate.
Preparing to unpack .../ntpdate_1%3a4.2.6.p5+dfsg-7+deb8u2_arm64.deb ...
Unpacking ntpdate (1:4.2.6.p5+dfsg-7+deb8u2) ...
Selecting previously unselected package krb5-locales.
Preparing to unpack .../krb5-locales_1.12.1+dfsg-19+deb8u2_all.deb ...
Unpacking krb5-locales (1.12.1+dfsg-19+deb8u2) ...
Selecting previously unselected package libperl4-corelibs-perl.
Preparing to unpack .../libperl4-corelibs-perl_0.003-1_all.deb ...
Unpacking libperl4-corelibs-perl (0.003-1) ...
Selecting previously unselected package lsof.
Preparing to unpack .../lsof_4.86+dfsg-1_arm64.deb ...
Unpacking lsof (4.86+dfsg-1) ...
Selecting previously unselected package ncurses-term.
Preparing to unpack .../ncurses-term_5.9+20140913-1_all.deb ...
Unpacking ncurses-term (5.9+20140913-1) ...
Selecting previously unselected package openssh-client.
Preparing to unpack .../openssh-client_1%3a6.7p1-5+deb8u3_arm64.deb ...
Unpacking openssh-client (1:6.7p1-5+deb8u3) ...
Selecting previously unselected package pciutils.
Preparing to unpack .../pciutils_1%3a3.2.1-3_arm64.deb ...
Unpacking pciutils (1:3.2.1-3) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../xz-utils_5.1.1alpha+20120614-2+b3_arm64.deb ...
Unpacking xz-utils (5.1.1alpha+20120614-2+b3) ...
Selecting previously unselected package openssl.
Preparing to unpack .../openssl_1.0.1t-1+deb8u6_arm64.deb ...
Unpacking openssl (1.0.1t-1+deb8u6) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../ca-certificates_20141019+deb8u3_all.deb ...
Unpacking ca-certificates (20141019+deb8u3) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.38.0-4+deb8u5_arm64.deb ...
Unpacking curl (7.38.0-4+deb8u5) ...
Selecting previously unselected package exfat-fuse.
Preparing to unpack .../exfat-fuse_1.1.0-2+deb8u1_arm64.deb ...
Unpacking exfat-fuse (1.1.0-2+deb8u1) ...
Selecting previously unselected package exfat-utils.
Preparing to unpack .../exfat-utils_1.1.0-2+deb8u1_arm64.deb ...
Unpacking exfat-utils (1.1.0-2+deb8u1) ...
Selecting previously unselected package firmware-linux-free.
Preparing to unpack .../firmware-linux-free_3.3_all.deb ...
Unpacking firmware-linux-free (3.3) ...
Selecting previously unselected package firmware-linux-nonfree.
Preparing to unpack .../firmware-linux-nonfree_0.43_all.deb ...
Unpacking firmware-linux-nonfree (0.43) ...
Selecting previously unselected package firmware-linux.
Preparing to unpack .../firmware-linux_0.43_all.deb ...
Unpacking firmware-linux (0.43) ...
Selecting previously unselected package libalgorithm-c3-perl.
Preparing to unpack .../libalgorithm-c3-perl_0.09-1_all.deb ...
Unpacking libalgorithm-c3-perl (0.09-1) ...
Selecting previously unselected package libarchive-extract-perl.
Preparing to unpack .../libarchive-extract-perl_0.72-1_all.deb ...
Unpacking libarchive-extract-perl (0.72-1) ...
Selecting previously unselected package libcgi-pm-perl.
Preparing to unpack .../libcgi-pm-perl_4.09-1_all.deb ...
Unpacking libcgi-pm-perl (4.09-1) ...
Selecting previously unselected package libfcgi-perl.
Preparing to unpack .../libfcgi-perl_0.77-1+deb8u1_arm64.deb ...
Unpacking libfcgi-perl (0.77-1+deb8u1) ...
Selecting previously unselected package libcgi-fast-perl.
Preparing to unpack .../libcgi-fast-perl_1%3a2.04-1_all.deb ...
Unpacking libcgi-fast-perl (1:2.04-1) ...
Selecting previously unselected package libclass-c3-perl.
Preparing to unpack .../libclass-c3-perl_0.26-1_all.deb ...
Unpacking libclass-c3-perl (0.26-1) ...
Selecting previously unselected package libclass-c3-xs-perl.
Preparing to unpack .../libclass-c3-xs-perl_0.13-2_arm64.deb ...
Unpacking libclass-c3-xs-perl (0.13-2) ...
Selecting previously unselected package libcpan-meta-perl.
Preparing to unpack .../libcpan-meta-perl_2.142690-1_all.deb ...
Unpacking libcpan-meta-perl (2.142690-1) ...
Selecting previously unselected package libparams-util-perl.
Preparing to unpack .../libparams-util-perl_1.07-2+b1_arm64.deb ...
Unpacking libparams-util-perl (1.07-2+b1) ...
Selecting previously unselected package libsub-install-perl.
Preparing to unpack .../libsub-install-perl_0.928-1_all.deb ...
Unpacking libsub-install-perl (0.928-1) ...
Selecting previously unselected package libdata-optlist-perl.
Preparing to unpack .../libdata-optlist-perl_0.109-1_all.deb ...
Unpacking libdata-optlist-perl (0.109-1) ...
Selecting previously unselected package libmro-compat-perl.
Preparing to unpack .../libmro-compat-perl_0.12-1_all.deb ...
Unpacking libmro-compat-perl (0.12-1) ...
Selecting previously unselected package libsub-exporter-perl.
Preparing to unpack .../libsub-exporter-perl_0.986-1_all.deb ...
Unpacking libsub-exporter-perl (0.986-1) ...
Selecting previously unselected package libdata-section-perl.
Preparing to unpack .../libdata-section-perl_0.200006-1_all.deb ...
Unpacking libdata-section-perl (0.200006-1) ...
Selecting previously unselected package liblog-message-perl.
Preparing to unpack .../liblog-message-perl_0.8-1_all.deb ...
Unpacking liblog-message-perl (0.8-1) ...
Selecting previously unselected package liblog-message-simple-perl.
Preparing to unpack .../liblog-message-simple-perl_0.10-2_all.deb ...
Unpacking liblog-message-simple-perl (0.10-2) ...
Selecting previously unselected package libmodule-build-perl.
Preparing to unpack .../libmodule-build-perl_0.421000-2+deb8u1_all.deb ...
Adding 'diversion of /usr/bin/config_data to /usr/bin/config_data.diverted by libmodule-build-perl'
Adding 'diversion of /usr/share/man/man1/config_data.1.gz to /usr/share/man/man1/config_data.diverted.1.gz by libmodule-build-perl'
Unpacking libmodule-build-perl (0.421000-2+deb8u1) ...
Selecting previously unselected package libmodule-pluggable-perl.
Preparing to unpack .../libmodule-pluggable-perl_5.1-1_all.deb ...
Unpacking libmodule-pluggable-perl (5.1-1) ...
Selecting previously unselected package libmodule-signature-perl.
Preparing to unpack .../libmodule-signature-perl_0.73-1+deb8u2_all.deb ...
Unpacking libmodule-signature-perl (0.73-1+deb8u2) ...
Selecting previously unselected package libpackage-constants-perl.
Preparing to unpack .../libpackage-constants-perl_0.04-1_all.deb ...
Unpacking libpackage-constants-perl (0.04-1) ...
Selecting previously unselected package libpod-latex-perl.
Preparing to unpack .../libpod-latex-perl_0.61-1_all.deb ...
Adding 'diversion of /usr/bin/pod2latex to /usr/bin/pod2latex.bundled by libpod-latex-perl'
Adding 'diversion of /usr/share/man/man1/pod2latex.1.gz to /usr/share/man/man1/pod2latex.bundled.1.gz by libpod-latex-perl'
Unpacking libpod-latex-perl (0.61-1) ...
Selecting previously unselected package libregexp-common-perl.
Preparing to unpack .../libregexp-common-perl_2013031301-1_all.deb ...
Unpacking libregexp-common-perl (2013031301-1) ...
Selecting previously unselected package libpod-readme-perl.
Preparing to unpack .../libpod-readme-perl_0.11-1_all.deb ...
Unpacking libpod-readme-perl (0.11-1) ...
Selecting previously unselected package libsasl2-modules:arm64.
Preparing to unpack .../libsasl2-modules_2.1.26.dfsg1-13+deb8u1_arm64.deb ...
Unpacking libsasl2-modules:arm64 (2.1.26.dfsg1-13+deb8u1) ...
Selecting previously unselected package libtext-template-perl.
Preparing to unpack .../libtext-template-perl_1.46-1_all.deb ...
Unpacking libtext-template-perl (1.46-1) ...
Selecting previously unselected package libsoftware-license-perl.
Preparing to unpack .../libsoftware-license-perl_0.103010-3_all.deb ...
Unpacking libsoftware-license-perl (0.103010-3) ...
Selecting previously unselected package libterm-ui-perl.
Preparing to unpack .../libterm-ui-perl_0.42-1_all.deb ...
Unpacking libterm-ui-perl (0.42-1) ...
Selecting previously unselected package libtext-soundex-perl.
Preparing to unpack .../libtext-soundex-perl_3.4-1+b1_arm64.deb ...
Unpacking libtext-soundex-perl (3.4-1+b1) ...
Selecting previously unselected package lockfile-progs.
Preparing to unpack .../lockfile-progs_0.1.17_arm64.deb ...
Unpacking lockfile-progs (0.1.17) ...
Selecting previously unselected package most.
Preparing to unpack .../most_5.0.0a-2.3+deb8u1_arm64.deb ...
Unpacking most (5.0.0a-2.3+deb8u1) ...
Selecting previously unselected package openssh-sftp-server.
Preparing to unpack .../openssh-sftp-server_1%3a6.7p1-5+deb8u3_arm64.deb ...
Unpacking openssh-sftp-server (1:6.7p1-5+deb8u3) ...
Selecting previously unselected package openssh-server.
Preparing to unpack .../openssh-server_1%3a6.7p1-5+deb8u3_arm64.deb ...
Unpacking openssh-server (1:6.7p1-5+deb8u3) ...
Selecting previously unselected package rename.
Preparing to unpack .../archives/rename_0.20-3_all.deb ...
Unpacking rename (0.20-3) ...
Selecting previously unselected package sudo.
Preparing to unpack .../sudo_1.8.10p3-1+deb8u4_arm64.deb ...
Unpacking sudo (1.8.10p3-1+deb8u4) ...
Selecting previously unselected package tcpd.
Preparing to unpack .../tcpd_7.6.q-25_arm64.deb ...
Unpacking tcpd (7.6.q-25) ...
Selecting previously unselected package u-boot-tools.
Preparing to unpack .../u-boot-tools_2014.10+dfsg1-5_arm64.deb ...
Unpacking u-boot-tools (2014.10+dfsg1-5) ...
Selecting previously unselected package usbutils.
Preparing to unpack .../usbutils_1%3a007-2_arm64.deb ...
Unpacking usbutils (1:007-2) ...
Selecting previously unselected package xauth.
Preparing to unpack .../xauth_1%3a1.0.9-1_arm64.deb ...
Unpacking xauth (1:1.0.9-1) ...
Selecting previously unselected package sysfsutils.
Preparing to unpack .../sysfsutils_2.1.0+repack-4_arm64.deb ...
Unpacking sysfsutils (2.1.0+repack-4) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up libbsd0:arm64 (0.7.0-2) ...
Setting up libedit2:arm64 (3.1-20140620-2) ...
Setting up libkeyutils1:arm64 (1.5.9-5+b1) ...
Setting up libkrb5support0:arm64 (1.12.1+dfsg-19+deb8u2) ...
Setting up libk5crypto3:arm64 (1.12.1+dfsg-19+deb8u2) ...
Setting up libkrb5-3:arm64 (1.12.1+dfsg-19+deb8u2) ...
Setting up libgssapi-krb5-2:arm64 (1.12.1+dfsg-19+deb8u2) ...
Setting up libsasl2-modules-db:arm64 (2.1.26.dfsg1-13+deb8u1) ...
Setting up libsasl2-2:arm64 (2.1.26.dfsg1-13+deb8u1) ...
Setting up libldap-2.4-2:arm64 (2.4.40+dfsg-1+deb8u3) ...
Setting up liblockfile-bin (1.09-6) ...
Setting up liblockfile1:arm64 (1.09-6) ...
Setting up libpci3:arm64 (1:3.2.1-3) ...
Setting up libwrap0:arm64 (7.6.q-25) ...
Setting up perl-modules (5.20.2-3+deb8u7) ...
Setting up perl (5.20.2-3+deb8u7) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode
Setting up libcap-ng0:arm64 (0.7.4-2) ...
Setting up librtmp1:arm64 (2.4+20150115.gita107cef-1+deb8u1) ...
Setting up libssh2-1:arm64 (1.4.3-4.1+deb8u1) ...
Setting up libcurl3:arm64 (7.38.0-4+deb8u5) ...
Setting up libdbus-1-3:arm64 (1.8.22-0+deb8u1) ...
Setting up libexpat1:arm64 (2.1.0-6+deb8u3) ...
Setting up libopts25:arm64 (1:5.18.4-3) ...
Setting up dbus (1.8.22-0+deb8u1) ...
Failed to read /proc/cmdline. Ignoring: No such file or directory
[FAIL] Can't start system message bus - /proc is not mounted ... failed!
Setting up libpam-systemd:arm64 (215-17+deb8u7) ...
Setting up libsysfs2:arm64 (2.1.0+repack-4) ...
Setting up libusb-1.0-0:arm64 (2:1.0.19-1) ...
Setting up libxau6:arm64 (1:1.0.8-1) ...
Setting up libxdmcp6:arm64 (1:1.1.1-1+b1) ...
Setting up libxcb1:arm64 (1.10-3+b1) ...
Setting up libx11-data (2:1.6.2-3) ...
Setting up libx11-6:arm64 (2:1.6.2-3) ...
Setting up libxext6:arm64 (2:1.3.3-1) ...
Setting up libxmuu1:arm64 (2:1.1.2-1) ...
Setting up ntfs-3g (1:2014.2.15AR.2-1+deb8u3) ...
Setting up ntp (1:4.2.6.p5+dfsg-7+deb8u2) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Failed to read /proc/cmdline. Ignoring: No such file or directory
[ ok ] Starting NTP server: ntpd.
Setting up ntpdate (1:4.2.6.p5+dfsg-7+deb8u2) ...
Setting up krb5-locales (1.12.1+dfsg-19+deb8u2) ...
Setting up libperl4-corelibs-perl (0.003-1) ...
Setting up lsof (4.86+dfsg-1) ...
Setting up ncurses-term (5.9+20140913-1) ...
Setting up openssh-client (1:6.7p1-5+deb8u3) ...
Setting up pciutils (1:3.2.1-3) ...
Setting up xz-utils (5.1.1alpha+20120614-2+b3) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
Setting up openssl (1.0.1t-1+deb8u6) ...
Setting up ca-certificates (20141019+deb8u3) ...
Updating certificates in /etc/ssl/certs... 174 added, 0 removed; done.
Setting up curl (7.38.0-4+deb8u5) ...
Setting up exfat-fuse (1.1.0-2+deb8u1) ...
Setting up exfat-utils (1.1.0-2+deb8u1) ...
Setting up firmware-linux-free (3.3) ...
Setting up firmware-linux-nonfree (0.43) ...
Setting up firmware-linux (0.43) ...
Setting up libalgorithm-c3-perl (0.09-1) ...
Setting up libarchive-extract-perl (0.72-1) ...
Setting up libcgi-pm-perl (4.09-1) ...
Setting up libfcgi-perl (0.77-1+deb8u1) ...
Setting up libcgi-fast-perl (1:2.04-1) ...
Setting up libclass-c3-perl (0.26-1) ...
Setting up libclass-c3-xs-perl (0.13-2) ...
Setting up libcpan-meta-perl (2.142690-1) ...
Setting up libparams-util-perl (1.07-2+b1) ...
Setting up libsub-install-perl (0.928-1) ...
Setting up libdata-optlist-perl (0.109-1) ...
Setting up libmro-compat-perl (0.12-1) ...
Setting up libsub-exporter-perl (0.986-1) ...
Setting up libdata-section-perl (0.200006-1) ...
Setting up liblog-message-perl (0.8-1) ...
Setting up liblog-message-simple-perl (0.10-2) ...
Setting up libmodule-build-perl (0.421000-2+deb8u1) ...
Setting up libmodule-pluggable-perl (5.1-1) ...
Setting up libmodule-signature-perl (0.73-1+deb8u2) ...
Setting up libpackage-constants-perl (0.04-1) ...
Setting up libpod-latex-perl (0.61-1) ...
Setting up libregexp-common-perl (2013031301-1) ...
Setting up libpod-readme-perl (0.11-1) ...
Setting up libsasl2-modules:arm64 (2.1.26.dfsg1-13+deb8u1) ...
Setting up libtext-template-perl (1.46-1) ...
Setting up libsoftware-license-perl (0.103010-3) ...
Setting up libterm-ui-perl (0.42-1) ...
Setting up libtext-soundex-perl (3.4-1+b1) ...
Setting up lockfile-progs (0.1.17) ...
Setting up most (5.0.0a-2.3+deb8u1) ...
Setting up openssh-sftp-server (1:6.7p1-5+deb8u3) ...
Setting up openssh-server (1:6.7p1-5+deb8u3) ...
Creating SSH2 RSA key; this may take some time ...
2048 16:29:f8:55:d2:95:56:27:ef:82:72:c8:4c:47:70:de /etc/ssh/ssh_host_rsa_key.pub (RSA)
Creating SSH2 DSA key; this may take some time ...
1024 4f:f7:68:75:b6:cf:68:d6:54:3a:27:cd:a8:79:21:27 /etc/ssh/ssh_host_dsa_key.pub (DSA)
Creating SSH2 ECDSA key; this may take some time ...
256 12:25:bb:53:ee:74:06:31:55:d8:13:b3:3c:d0:5a:99 /etc/ssh/ssh_host_ecdsa_key.pub (ECDSA)
Creating SSH2 ED25519 key; this may take some time ...
256 e9:2a:6e:a9:a7:38:68:52:e7:ca:81:98:03:76:58:d7 /etc/ssh/ssh_host_ed25519_key.pub (ED25519)
Failed to read /proc/cmdline. Ignoring: No such file or directory
[ ok ] Starting OpenBSD Secure Shell server: sshd.
Setting up rename (0.20-3) ...
update-alternatives: using /usr/bin/file-rename to provide /usr/bin/rename (rename) in auto mode
Setting up sudo (1.8.10p3-1+deb8u4) ...
Setting up tcpd (7.6.q-25) ...
Setting up u-boot-tools (2014.10+dfsg1-5) ...
Setting up usbutils (1:007-2) ...
Setting up xauth (1:1.0.9-1) ...
Setting up sysfsutils (2.1.0+repack-4) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Failed to read /proc/cmdline. Ignoring: No such file or directory
[ ok ] Setting sysfs variables....
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Processing triggers for systemd (215-17+deb8u7) ...
Processing triggers for ca-certificates (20141019+deb8u3) ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Preconfiguring packages ...
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
Selecting previously unselected package libcwidget3:arm64.
(Reading database ... 18281 files and directories currently installed.)
Preparing to unpack .../libcwidget3_0.5.17-2_arm64.deb ...
Unpacking libcwidget3:arm64 (0.5.17-2) ...
Selecting previously unselected package libsqlite3-0:arm64.
Preparing to unpack .../libsqlite3-0_3.8.7.1-1+deb8u2_arm64.deb ...
Unpacking libsqlite3-0:arm64 (3.8.7.1-1+deb8u2) ...
Selecting previously unselected package libiw30:arm64.
Preparing to unpack .../libiw30_30~pre9-8_arm64.deb ...
Unpacking libiw30:arm64 (30~pre9-8) ...
Selecting previously unselected package libnl-3-200:arm64.
Preparing to unpack .../libnl-3-200_3.2.24-2_arm64.deb ...
Unpacking libnl-3-200:arm64 (3.2.24-2) ...
Selecting previously unselected package libnl-genl-3-200:arm64.
Preparing to unpack .../libnl-genl-3-200_3.2.24-2_arm64.deb ...
Unpacking libnl-genl-3-200:arm64 (3.2.24-2) ...
Selecting previously unselected package aptitude-common.
Preparing to unpack .../aptitude-common_0.6.11-1_all.deb ...
Unpacking aptitude-common (0.6.11-1) ...
Selecting previously unselected package libxapian22.
Preparing to unpack .../libxapian22_1.2.19-1+deb8u1_arm64.deb ...
Unpacking libxapian22 (1.2.19-1+deb8u1) ...
Selecting previously unselected package aptitude.
Preparing to unpack .../aptitude_0.6.11-1+b1_arm64.deb ...
Unpacking aptitude (0.6.11-1+b1) ...
Selecting previously unselected package bc.
Preparing to unpack .../bc_1.06.95-9_arm64.deb ...
Unpacking bc (1.06.95-9) ...
Selecting previously unselected package aptitude-doc-en.
Preparing to unpack .../aptitude-doc-en_0.6.11-1_all.deb ...
Unpacking aptitude-doc-en (0.6.11-1) ...
Selecting previously unselected package libcpufreq0.
Preparing to unpack .../libcpufreq0_008-1_arm64.deb ...
Unpacking libcpufreq0 (008-1) ...
Selecting previously unselected package cpufrequtils.
Preparing to unpack .../cpufrequtils_008-1_arm64.deb ...
Unpacking cpufrequtils (008-1) ...
Selecting previously unselected package wireless-regdb.
Preparing to unpack .../wireless-regdb_2016.06.10-1~deb8u1_all.deb ...
Unpacking wireless-regdb (2016.06.10-1~deb8u1) ...
Selecting previously unselected package iw.
Preparing to unpack .../archives/iw_3.17-1_arm64.deb ...
Unpacking iw (3.17-1) ...
Selecting previously unselected package crda.
Preparing to unpack .../archives/crda_3.13-1_arm64.deb ...
Unpacking crda (3.13-1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.19-18+deb8u10_arm64.deb ...
Unpacking libc-dev-bin (2.19-18+deb8u10) ...
Selecting previously unselected package linux-libc-dev:arm64.
Preparing to unpack .../linux-libc-dev_3.16.43-2+deb8u1_arm64.deb ...
Unpacking linux-libc-dev:arm64 (3.16.43-2+deb8u1) ...
Selecting previously unselected package libc6-dev:arm64.
Preparing to unpack .../libc6-dev_2.19-18+deb8u10_arm64.deb ...
Unpacking libc6-dev:arm64 (2.19-18+deb8u10) ...
Selecting previously unselected package libsub-name-perl.
Preparing to unpack .../libsub-name-perl_0.12-1_arm64.deb ...
Unpacking libsub-name-perl (0.12-1) ...
Selecting previously unselected package libclass-accessor-perl.
Preparing to unpack .../libclass-accessor-perl_0.34-1_all.deb ...
Unpacking libclass-accessor-perl (0.34-1) ...
Selecting previously unselected package libio-string-perl.
Preparing to unpack .../libio-string-perl_1.08-3_all.deb ...
Unpacking libio-string-perl (1.08-3) ...
Selecting previously unselected package libtinfo-dev:arm64.
Preparing to unpack .../libtinfo-dev_5.9+20140913-1+b1_arm64.deb ...
Unpacking libtinfo-dev:arm64 (5.9+20140913-1+b1) ...
Selecting previously unselected package libncurses5-dev:arm64.
Preparing to unpack .../libncurses5-dev_5.9+20140913-1+b1_arm64.deb ...
Unpacking libncurses5-dev:arm64 (5.9+20140913-1+b1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package libparse-debianchangelog-perl.
Preparing to unpack .../libparse-debianchangelog-perl_1.2.0-1.1_all.deb ...
Unpacking libparse-debianchangelog-perl (1.2.0-1.1) ...
Selecting previously unselected package make.
Preparing to unpack .../make_4.0-8.1_arm64.deb ...
Unpacking make (4.0-8.1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../manpages-dev_3.74-1_all.deb ...
Unpacking manpages-dev (3.74-1) ...
Selecting previously unselected package rcs.
Preparing to unpack .../archives/rcs_5.9.3-1_arm64.deb ...
Unpacking rcs (5.9.3-1) ...
Selecting previously unselected package screen.
Preparing to unpack .../screen_4.2.1-3+deb8u1_arm64.deb ...
Unpacking screen (4.2.1-3+deb8u1) ...
Selecting previously unselected package wireless-tools.
Preparing to unpack .../wireless-tools_30~pre9-8_arm64.deb ...
Unpacking wireless-tools (30~pre9-8) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up libcwidget3:arm64 (0.5.17-2) ...
Setting up libsqlite3-0:arm64 (3.8.7.1-1+deb8u2) ...
Setting up libiw30:arm64 (30~pre9-8) ...
Setting up libnl-3-200:arm64 (3.2.24-2) ...
Setting up libnl-genl-3-200:arm64 (3.2.24-2) ...
Setting up aptitude-common (0.6.11-1) ...
Setting up libxapian22 (1.2.19-1+deb8u1) ...
Setting up aptitude (0.6.11-1+b1) ...
update-alternatives: using /usr/bin/aptitude-curses to provide /usr/bin/aptitude (aptitude) in auto mode
Setting up bc (1.06.95-9) ...
Setting up aptitude-doc-en (0.6.11-1) ...
Setting up libcpufreq0 (008-1) ...
Setting up cpufrequtils (008-1) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Failed to read /proc/cmdline. Ignoring: No such file or directory
[ ok ] Loading cpufreq kernel modules...done (none).
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Failed to read /proc/cmdline. Ignoring: No such file or directory
cat: /proc/stat: No such file or directory
[ ok ] CPUFreq Utilities: Setting ondemand CPUFreq governor...disabled, governor not available...done.
Setting up wireless-regdb (2016.06.10-1~deb8u1) ...
Setting up iw (3.17-1) ...
Setting up crda (3.13-1) ...
Setting up libc-dev-bin (2.19-18+deb8u10) ...
Setting up linux-libc-dev:arm64 (3.16.43-2+deb8u1) ...
Setting up libc6-dev:arm64 (2.19-18+deb8u10) ...
Setting up libsub-name-perl (0.12-1) ...
Setting up libclass-accessor-perl (0.34-1) ...
Setting up libio-string-perl (1.08-3) ...
Setting up libtinfo-dev:arm64 (5.9+20140913-1+b1) ...
Setting up libncurses5-dev:arm64 (5.9+20140913-1+b1) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libparse-debianchangelog-perl (1.2.0-1.1) ...
Setting up make (4.0-8.1) ...
Setting up manpages-dev (3.74-1) ...
Setting up rcs (5.9.3-1) ...
Setting up screen (4.2.1-3+deb8u1) ...
Setting up wireless-tools (30~pre9-8) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Processing triggers for systemd (215-17+deb8u7) ...
W: There is no public key available for the following key IDs:
EF0F382A1A7B6500
E: Package 'gcc-5' has no installation candidate
E: Package 'g++-5' has no installation candidate
update-alternatives: error: alternative path /usr/bin/gcc-5 doesn't exist
update-alternatives: error: alternative path /usr/bin/g++-5 doesn't exist
Adding user `debian' ...
Adding new group `debian' (1000) ...
Adding new user `debian' (1000) with group `debian' ...
Creating home directory `/home/debian' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Removing 'local diversion of /sbin/initctl to /sbin/initctl.distrib'
+ sudo rm ./rootfs/debian-02.sh
+ sudo rm ./rootfs/common-functions.sh
+ set +e
+ sudo umount -lf ./rootfs/dev/pts
umount: ./rootfs/dev/pts: not mounted
+ sudo umount -lf ./rootfs/sys
umount: ./rootfs/sys: not mounted
+ sudo umount -lf ./rootfs/dev
+ sudo umount -lf ./rootfs/proc
umount: ./rootfs/proc: not mounted
+ sudo umount ./rootfs
umount: /home/pirate/z2d/odroid-c2/rootfs: target is busy
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)
For debian-02.sh I get this error :
$ ./debian-02.sh
./debian-02.sh: 126: ./common-functions.sh: Syntax error: Bad for loop variable
Filed another ticket : https://github.com/umiddelb/z2d/issues/17
In z2d/odroid-c2/ubuntu-core-00.sh dev=mmcblk1 should be a variable we pass to the script and not static.
I will update the debian scripts to Debian Stretch in a couple days and remove the glitches (hopefully).
You don't need to run debian-02.sh directly, it's called from debian-01.sh after jumping into the chroot environment.
Sometimes the bind mounts are still active although umount has returned.
Ok I get it! Does it mean that it went through without any problem until now ?
I will now try debian-docker-00.sh
./debian-docker-00.sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
apparmor is already the newest version.
aufs-tools is already the newest version.
cgroupfs-mount is already the newest version.
cgroup-bin is already the newest version.
lxc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
docker.io:armhf : Depends: perl:armhf but it is not going to be installed
Depends: libdevmapper1.02.1:armhf (>= 2:1.02.90) but it is not going to be installed
Recommends: cgroupfs-mount:armhf but it is not installable or
cgroup-lite:armhf but it is not installable
Recommends: git:armhf
E: Unable to correct problems, you have held broken packages.
usermod: user 'debian' does not exist
debian-docker-00.sh should be started after having booted into the new environment
yes, you should try to boot from the sd card now
So it means that I take the microSD card that was created by debian-00.sh and run it in another C2 board and then do a wget from debian-docker-00.sh am I correct ?
debian-00.sh initializes the install media and mounts it to ./rootfs debian-01.sh installs Debian into the directory ./rootfs debian-docker-00.sh is copied to ./rootfs during install
It is running now It's installing docker!
May I suggest something ?
You should change the docker installation for this one https://github.com/docbobo/docker/releases/latest
I don't know if you are using the latest Docker version.
This is the log:
debian@c2:~/z2d-master/odroid-c2$ ./debian-docker-00.sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
busybox cgroup-tools debootstrap dh-python file initramfs-tools klibc-utils libapparmor-perl
libapparmor1 libcgroup1 libdrm2 libklibc libmagic1 libmpdec2 libnih-dbus1 libnih1 libpng12-0
libpython3-stdlib libpython3.4-minimal libpython3.4-stdlib makedev mime-support mountall
plymouth python3 python3-minimal python3.4 python3.4-minimal rsync
Suggested packages:
apparmor-profiles apparmor-profiles-extra apparmor-docs apparmor-utils bash-completion lua5.2
desktop-base plymouth-themes python3-doc python3-tk python3-venv python3.4-venv python3.4-doc
binutils binfmt-support
The following NEW packages will be installed:
apparmor aufs-tools busybox cgroup-bin cgroup-tools cgroupfs-mount debootstrap dh-python file
initramfs-tools klibc-utils libapparmor-perl libapparmor1 libcgroup1 libdrm2 libklibc libmagic1
libmpdec2 libnih-dbus1 libnih1 libpng12-0 libpython3-stdlib libpython3.4-minimal
libpython3.4-stdlib lxc makedev mime-support mountall plymouth python3 python3-minimal python3.4
python3.4-minimal rsync
0 upgraded, 34 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,356 kB of archives.
After this operation, 30.0 MB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ jessie/main libmagic1 arm64 1:5.22+15-2+deb8u3 [242 kB]
Get:2 http://ftp.debian.org/debian/ jessie/main libdrm2 arm64 2.4.58-2 [27.2 kB]
Get:3 http://ftp.debian.org/debian/ jessie/main libmpdec2 arm64 2.4.1-1 [75.7 kB]
Get:4 http://ftp.debian.org/debian/ jessie/main libpng12-0 arm64 1.2.50-2+deb8u3 [161 kB]
Get:5 http://ftp.debian.org/debian/ jessie/main libpython3.4-minimal arm64 3.4.2-1 [482 kB]
Get:6 http://ftp.debian.org/debian/ jessie/main mime-support all 3.58 [36.0 kB]
Get:7 http://ftp.debian.org/debian/ jessie/main libpython3.4-stdlib arm64 3.4.2-1 [1,959 kB]
Get:8 http://ftp.debian.org/debian/ jessie/main libapparmor1 arm64 2.9.0-3 [57.8 kB]
Get:9 http://ftp.debian.org/debian/ jessie/main python3.4-minimal arm64 3.4.2-1 [1,142 kB]
Get:10 http://ftp.debian.org/debian/ jessie/main python3.4 arm64 3.4.2-1 [204 kB]
Get:11 http://ftp.debian.org/debian/ jessie/main python3-minimal arm64 3.4.2-2 [34.6 kB]
Get:12 http://ftp.debian.org/debian/ jessie/main libpython3-stdlib arm64 3.4.2-2 [18.1 kB]
Get:13 http://ftp.debian.org/debian/ jessie/main dh-python all 1.20141111-2 [66.4 kB]
Get:14 http://ftp.debian.org/debian/ jessie/main python3 arm64 3.4.2-2 [21.2 kB]
Get:15 http://ftp.debian.org/debian/ jessie/main lxc arm64 1:1.0.6-6+deb8u6 [592 kB]
Get:16 http://ftp.debian.org/debian/ jessie/main makedev all 2.3.1-93 [42.6 kB]
Get:17 http://ftp.debian.org/debian/ jessie/main libklibc arm64 2.0.4-2 [51.1 kB]
Get:18 http://ftp.debian.org/debian/ jessie/main klibc-utils arm64 2.0.4-2 [104 kB]
Get:19 http://ftp.debian.org/debian/ jessie/main busybox arm64 1:1.22.0-9+deb8u1 [372 kB]
Get:20 http://ftp.debian.org/debian/ jessie/main initramfs-tools all 0.120+deb8u3 [96.7 kB]
Get:21 http://ftp.debian.org/debian/ jessie/main plymouth arm64 0.9.0-9 [161 kB]
Get:22 http://ftp.debian.org/debian/ jessie/main libnih1 arm64 1.0.3-4.3 [121 kB]
Get:23 http://ftp.debian.org/debian/ jessie/main libnih-dbus1 arm64 1.0.3-4.3 [95.1 kB]
Get:24 http://ftp.debian.org/debian/ jessie/main mountall arm64 2.54 [63.5 kB]
Get:25 http://ftp.debian.org/debian/ jessie/main libcgroup1 arm64 0.41-6 [38.0 kB]
Get:26 http://ftp.debian.org/debian/ jessie/main file arm64 1:5.22+15-2+deb8u3 [60.5 kB]
Get:27 http://ftp.debian.org/debian/ jessie/main aufs-tools arm64 1:3.2+20130722-1.1 [92.3 kB]
Get:28 http://ftp.debian.org/debian/ jessie/main cgroup-tools arm64 0.41-6 [67.0 kB]
Get:29 http://ftp.debian.org/debian/ jessie/main cgroupfs-mount all 1.1 [4,572 B]
Get:30 http://ftp.debian.org/debian/ jessie/main rsync arm64 3.1.1-3 [364 kB]
Get:31 http://ftp.debian.org/debian/ jessie/main libapparmor-perl arm64 2.9.0-3 [63.4 kB]
Get:32 http://ftp.debian.org/debian/ jessie/main apparmor arm64 2.9.0-3 [370 kB]
Get:33 http://ftp.debian.org/debian/ jessie/main cgroup-bin all 0.41-6 [6,318 B]
Get:34 http://ftp.debian.org/debian/ jessie/main debootstrap all 1.0.67 [62.7 kB]
Fetched 7,356 kB in 3s (2,294 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package libmagic1:arm64.
(Reading database ... 22285 files and directories currently installed.)
Preparing to unpack .../libmagic1_1%3a5.22+15-2+deb8u3_arm64.deb ...
Unpacking libmagic1:arm64 (1:5.22+15-2+deb8u3) ...
Selecting previously unselected package libdrm2:arm64.
Preparing to unpack .../libdrm2_2.4.58-2_arm64.deb ...
Unpacking libdrm2:arm64 (2.4.58-2) ...
Selecting previously unselected package libmpdec2:arm64.
Preparing to unpack .../libmpdec2_2.4.1-1_arm64.deb ...
Unpacking libmpdec2:arm64 (2.4.1-1) ...
Selecting previously unselected package libpng12-0:arm64.
Preparing to unpack .../libpng12-0_1.2.50-2+deb8u3_arm64.deb ...
Unpacking libpng12-0:arm64 (1.2.50-2+deb8u3) ...
Selecting previously unselected package libpython3.4-minimal:arm64.
Preparing to unpack .../libpython3.4-minimal_3.4.2-1_arm64.deb ...
Unpacking libpython3.4-minimal:arm64 (3.4.2-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.58_all.deb ...
Unpacking mime-support (3.58) ...
Selecting previously unselected package libpython3.4-stdlib:arm64.
Preparing to unpack .../libpython3.4-stdlib_3.4.2-1_arm64.deb ...
Unpacking libpython3.4-stdlib:arm64 (3.4.2-1) ...
Selecting previously unselected package libapparmor1:arm64.
Preparing to unpack .../libapparmor1_2.9.0-3_arm64.deb ...
Unpacking libapparmor1:arm64 (2.9.0-3) ...
Selecting previously unselected package python3.4-minimal.
Preparing to unpack .../python3.4-minimal_3.4.2-1_arm64.deb ...
Unpacking python3.4-minimal (3.4.2-1) ...
Selecting previously unselected package python3.4.
Preparing to unpack .../python3.4_3.4.2-1_arm64.deb ...
Unpacking python3.4 (3.4.2-1) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.4.2-2_arm64.deb ...
Unpacking python3-minimal (3.4.2-2) ...
Selecting previously unselected package libpython3-stdlib:arm64.
Preparing to unpack .../libpython3-stdlib_3.4.2-2_arm64.deb ...
Unpacking libpython3-stdlib:arm64 (3.4.2-2) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_1.20141111-2_all.deb ...
Unpacking dh-python (1.20141111-2) ...
Selecting previously unselected package python3.
Preparing to unpack .../python3_3.4.2-2_arm64.deb ...
Unpacking python3 (3.4.2-2) ...
Selecting previously unselected package lxc.
Preparing to unpack .../lxc_1%3a1.0.6-6+deb8u6_arm64.deb ...
Unpacking lxc (1:1.0.6-6+deb8u6) ...
Selecting previously unselected package makedev.
Preparing to unpack .../makedev_2.3.1-93_all.deb ...
Unpacking makedev (2.3.1-93) ...
Selecting previously unselected package libklibc.
Preparing to unpack .../libklibc_2.0.4-2_arm64.deb ...
Unpacking libklibc (2.0.4-2) ...
Selecting previously unselected package klibc-utils.
Preparing to unpack .../klibc-utils_2.0.4-2_arm64.deb ...
Unpacking klibc-utils (2.0.4-2) ...
Selecting previously unselected package busybox.
Preparing to unpack .../busybox_1%3a1.22.0-9+deb8u1_arm64.deb ...
Unpacking busybox (1:1.22.0-9+deb8u1) ...
Selecting previously unselected package initramfs-tools.
Preparing to unpack .../initramfs-tools_0.120+deb8u3_all.deb ...
Unpacking initramfs-tools (0.120+deb8u3) ...
Selecting previously unselected package plymouth.
Preparing to unpack .../plymouth_0.9.0-9_arm64.deb ...
Unpacking plymouth (0.9.0-9) ...
Selecting previously unselected package libnih1.
Preparing to unpack .../libnih1_1.0.3-4.3_arm64.deb ...
Unpacking libnih1 (1.0.3-4.3) ...
Selecting previously unselected package libnih-dbus1.
Preparing to unpack .../libnih-dbus1_1.0.3-4.3_arm64.deb ...
Unpacking libnih-dbus1 (1.0.3-4.3) ...
Selecting previously unselected package mountall.
Preparing to unpack .../mountall_2.54_arm64.deb ...
Unpacking mountall (2.54) ...
Selecting previously unselected package libcgroup1:arm64.
Preparing to unpack .../libcgroup1_0.41-6_arm64.deb ...
Unpacking libcgroup1:arm64 (0.41-6) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.22+15-2+deb8u3_arm64.deb ...
Unpacking file (1:5.22+15-2+deb8u3) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../aufs-tools_1%3a3.2+20130722-1.1_arm64.deb ...
Unpacking aufs-tools (1:3.2+20130722-1.1) ...
Selecting previously unselected package cgroup-tools.
Preparing to unpack .../cgroup-tools_0.41-6_arm64.deb ...
Unpacking cgroup-tools (0.41-6) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../cgroupfs-mount_1.1_all.deb ...
Unpacking cgroupfs-mount (1.1) ...
Selecting previously unselected package rsync.
Preparing to unpack .../rsync_3.1.1-3_arm64.deb ...
Unpacking rsync (3.1.1-3) ...
Selecting previously unselected package libapparmor-perl.
Preparing to unpack .../libapparmor-perl_2.9.0-3_arm64.deb ...
Unpacking libapparmor-perl (2.9.0-3) ...
Selecting previously unselected package apparmor.
Preparing to unpack .../apparmor_2.9.0-3_arm64.deb ...
Unpacking apparmor (2.9.0-3) ...
Selecting previously unselected package cgroup-bin.
Preparing to unpack .../cgroup-bin_0.41-6_all.deb ...
Unpacking cgroup-bin (0.41-6) ...
Selecting previously unselected package debootstrap.
Preparing to unpack .../debootstrap_1.0.67_all.deb ...
Unpacking debootstrap (1.0.67) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u7) ...
Processing triggers for dbus (1.8.22-0+deb8u1) ...
Setting up libmagic1:arm64 (1:5.22+15-2+deb8u3) ...
Setting up libdrm2:arm64 (2.4.58-2) ...
Setting up libmpdec2:arm64 (2.4.1-1) ...
Setting up libpng12-0:arm64 (1.2.50-2+deb8u3) ...
Setting up libpython3.4-minimal:arm64 (3.4.2-1) ...
Setting up mime-support (3.58) ...
Setting up libpython3.4-stdlib:arm64 (3.4.2-1) ...
Setting up libapparmor1:arm64 (2.9.0-3) ...
Setting up python3.4-minimal (3.4.2-1) ...
Setting up python3.4 (3.4.2-1) ...
Setting up python3-minimal (3.4.2-2) ...
Setting up libpython3-stdlib:arm64 (3.4.2-2) ...
Setting up makedev (2.3.1-93) ...
/run/udev or .udevdb or .udev presence implies active udev. Aborting MAKEDEV invocation.
/run/udev or .udevdb or .udev presence implies active udev. Aborting MAKEDEV invocation.
/run/udev or .udevdb or .udev presence implies active udev. Aborting MAKEDEV invocation.
Setting up libklibc (2.0.4-2) ...
Setting up klibc-utils (2.0.4-2) ...
Setting up busybox (1:1.22.0-9+deb8u1) ...
Setting up initramfs-tools (0.120+deb8u3) ...
update-initramfs: deferring update (trigger activated)
Setting up plymouth (0.9.0-9) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up libnih1 (1.0.3-4.3) ...
Setting up libnih-dbus1 (1.0.3-4.3) ...
Setting up mountall (2.54) ...
Setting up libcgroup1:arm64 (0.41-6) ...
Setting up file (1:5.22+15-2+deb8u3) ...
Setting up aufs-tools (1:3.2+20130722-1.1) ...
Setting up cgroup-tools (0.41-6) ...
Setting up cgroupfs-mount (1.1) ...
Setting up rsync (3.1.1-3) ...
Setting up libapparmor-perl (2.9.0-3) ...
Setting up cgroup-bin (0.41-6) ...
Setting up debootstrap (1.0.67) ...
Setting up python3 (3.4.2-2) ...
running python rtupdate hooks for python3.4...
running python post-rtupdate hooks for python3.4...
Setting up lxc (1:1.0.6-6+deb8u6) ...
Setting up apparmor (2.9.0-3) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up dh-python (1.20141111-2) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Processing triggers for initramfs-tools (0.120+deb8u3) ...
Processing triggers for systemd (215-17+deb8u7) ...
Processing triggers for dbus (1.8.22-0+deb8u1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package docker.io is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'docker.io' has no installation candidate
usermod: group 'docker' does not exist
This is a trade off decision. Once Docker is up and running you can always build the latest Docker version from source. Installing latest Docker version by default may bread other things (e.g. k8s) and there is no automatic update mechanism (in contrast to the distro variant) which will fix security issues for you.
Is there a way to make an IMG file of this because your release will get rid of all my Docker Swarm problem I encountered because the kernel was too old 3.14.
All the requirements are available it's amazing!
I was trying to make your tutorial within HypriotOS C2 that you gave me : https://github.com/umiddelb/armhf/wiki/How-To-compile-a-custom-Linux-kernel-for-your-ARM-device#odroid-c2--khadas-vim-mainline-experimental
It doesn't work at all because the HypriotOS for C2 has 1 vfat partition and 1 ext4 partition.
those 2 commands don't work at all :
sudo ln -s ${dest} /boot/kernel.d/test
sudo ln -s ${dest}/config-${kver} .
Also I think that there is not way of loading from the ext4load with HypriotOS for C2 because of the u-boot.
I tried and it didn't worked also I've found this https://github.com/hypriot/image-builder-odroid-c2/issues/5
No, it's the same u-boot version. HK prefers to use cfgload (which itself requires a vfat partiton).
extract it to / via
sudo tar --numeric-owner -C / -xhpPJf ...
Is it so simple ? I was the whole week loosing so much time trying to figure out oh man! thanx
Will it work out of the box or do I need to modify some settings on each board ?
and let boot.ini load the kernel image from the ext4 partition, see here
Browsing through the forum I've stumbled upon this file : linux-4.12.0-rc1-gx-g32c9d83.tar.xz which is 28 MB can I use this version with your command or is it not related with it?
I push all new kernel images to my dropbox account, the latest kernel for the C2 can be found here
Can we browse your dropbox via the Browser... I will in the future look at it instead of bugging you down all the time?
If you have a link please share it!
you need to alter the paths in boot.ini because I put each kernel image in a separate directory containing the version information
This is not complicated I can do that but more complex things I can't.
The directory is browsable as well, but only the -gx- kernel images will run on the C2
Thanx a lot ! I will try to update my C2 cluster with your file and give you a feedback!
If you have more than one C2, you can save some compilation time using distcc. This is how I build the C2/KVim kernel image:
#!/bin/sh
set -ex
img="Image"
arch="arm64"
dtbs="dtbs"
make gx_defconfig
make clean
DISTCC_HOSTS="c2 p64 p65 p66 kvim" make -j 32 modules Image ${dtbs} CC="distcc gcc-6"
# make -j 4 ${img} modules ${dtbs}
kver=`make kernelrelease`
dest="/boot/kernel.d/linux-${kver}"
sudo rm -rf ${dest}
sudo mkdir -p ${dest}
sudo rm -rf /boot/kernel.d/test
sudo ln -s ${dest} /boot/kernel.d/test
sudo cp System.map arch/${arch}/boot/${img} arch/${arch}/boot/dts/amlogic/*.dtb ${dest}
sudo mkimage -A ${arch} -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 -n ${kver} -d arch/${arch}/boot/${img} ${dest}/uImage
sudo cp .config ${dest}/config-${kver}
find . -type f -name '*.ko' | sudo xargs -n 1 objcopy --strip-unneeded
sudo make modules_install
sudo make firmware_install
sudo make headers_install INSTALL_HDR_PATH=/usr
cd /boot
sudo rm -f config-${kver}
sudo rm -f initrd.img-${kver}
sudo ln -s ${dest}/config-${kver} .
sudo update-initramfs -c -k ${kver}
sudo mkimage -A ${arch} -O linux -T ramdisk -a 0x0 -e 0x0 -n initrd-${kver}.img -d initrd.img-${kver} uInitrd-${kver}
sudo mv initrd.img-${kver} ${dest}
sudo mv uInitrd-${kver} ${dest}/uInitrd
sudo rm config-${kver}
I already compiled your mainline in one board until :
img="Image"
arch="arm64"
dtbs="dtbs"
make gx_defconfig
make clean
make -j 4 ${img} modules ${dtbs}
so that later I can use the rest later with pssh:
dest="/boot/kernel.d/linux-${kver}"
sudo rm -rf ${dest}
sudo mkdir -p ${dest}
sudo rm -rf /boot/kernel.d/test
sudo ln -s ${dest} /boot/kernel.d/test
sudo cp System.map arch/${arch}/boot/${img} arch/${arch}/boot/dts/amlogic/*.dtb ${dest}
sudo mkimage -A ${arch} -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 -n ${kver} -d arch/${arch}/boot/${img} ${dest}/uImage
sudo cp .config ${dest}/config-${kver}
find . -type f -name '*.ko' | sudo xargs -n 1 objcopy --strip-unneeded
sudo make modules_install
sudo make firmware_install
sudo make headers_install INSTALL_HDR_PATH=/usr
cd /boot
sudo rm -f config-${kver}
sudo rm -f initrd.img-${kver}
sudo ln -s ${dest}/config-${kver} .
sudo update-initramfs -c -k ${kver}
sudo mkimage -A ${arch} -O linux -T ramdisk -a 0x0 -e 0x0 -n initrd-${kver}.img -d initrd.img-${kver} uInitrd-${kver}
sudo mv initrd.img-${kver} ${dest}
sudo mv uInitrd-${kver} ${dest}/uInitrd
sudo rm config-${kver}
and I made a tar that I just copy in one board right now. I never compiled distributed and I don't know how long it takes to setup or how complicated it is.
Thanx I will look into it when I have time I just want to test if the bugs from Docker Swarm will be gone with one node.
OK, instead of pssh, you build a tar archive with:
#!/bin/sh
set -ex
kver=`make kernelrelease`
kdir="kernel.d/linux-${kver}"
dest="../rootfs"
img="Image"
arch="arm64"
sudo rm -rf ${dest}
sudo mkdir -p ${dest}/boot/${kdir}
sudo mkdir -p ${dest}/lib
sudo mkdir -p ${dest}/usr
sudo cp System.map arch/${arch}/boot/${img} arch/${arch}/boot/dts/amlogic/*.dtb ${dest}/boot/${kdir}
sudo mkimage -A ${arch} -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 -n ${kver} -d arch/${arch}/boot/${img} ${dest}/boot/${kdir}/uImage
sudo make modules_install
sudo make modules_install INSTALL_MOD_PATH=${dest}
sudo make firmware_install INSTALL_MOD_PATH=${dest}
sudo make headers_install INSTALL_HDR_PATH=${dest}/usr
sudo find ${dest} -type f -name '*.ko' | sudo sudo xargs -n 1 objcopy --strip-unneeded
sudo cp .config /boot/config-${kver}
( cd /boot; sudo update-initramfs -c -k ${kver})
sudo mv /boot/initrd.img-${kver} ${dest}/boot/${kdir}/Initrd
sudo mkimage -A ${arch} -O linux -T ramdisk -a 0x0 -e 0x0 -n initrd.img-${kver} -d ${dest}/boot/${kdir}/Initrd ${dest}/boot/${kdir}/uInitrd
sudo mv /boot/config-${kver} ${dest}/boot/${kdir}
sudo tar --numeric-owner -C ${dest} -cJpf ../linux-${kver}.tar.xz boot usr lib
sudo apt install distcc
on every node and adjust /etc/default/distcc
You need to have installed the same compiler version on each host.
I just tried to install the release of Docker from @docbobo on your debian setup that I just made
debian@c2:~$ wget https://github.com/docbobo/docker/releases/download/v17.05.0-ce/docker-engine_17.05.0.ce-0.debian-jessie_arm64.deb
--2017-06-20 22:22:28-- https://github.com/docbobo/docker/releases/download/v17.05.0-ce/docker-engine_17.05.0.ce-0.debian-jessie_arm64.deb
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/82180885/60ba10ee-34a0-11e7-9d25-4af9b14498f0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170620%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170620T202229Z&X-Amz-Expires=300&X-Amz-Signature=4f129cbe4b527156c5d927dae10a2cc3977d98c50c507554441cdc1e780467cf&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Ddocker-engine_17.05.0.ce-0.debian-jessie_arm64.deb&response-content-type=application%2Foctet-stream [following]
--2017-06-20 22:22:29-- https://github-production-release-asset-2e65be.s3.amazonaws.com/82180885/60ba10ee-34a0-11e7-9d25-4af9b14498f0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170620%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170620T202229Z&X-Amz-Expires=300&X-Amz-Signature=4f129cbe4b527156c5d927dae10a2cc3977d98c50c507554441cdc1e780467cf&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Ddocker-engine_17.05.0.ce-0.debian-jessie_arm64.deb&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.227.96
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.227.96|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16961024 (16M) [application/octet-stream]
Saving to: ‘docker-engine_17.05.0.ce-0.debian-jessie_arm64.deb’
docker-engine_17.05.0.ce 100%[====================================>] 16.17M 4.22MB/s in 4.8s
2017-06-20 22:22:34 (3.40 MB/s) - ‘docker-engine_17.05.0.ce-0.debian-jessie_arm64.deb’ saved [16961024/16961024]
debian@c2:~$ ls
docker-engine_17.05.0.ce-0.debian-jessie_arm64.deb
debian@c2:~$ sudo dpkg -i docker-engine_17.05.0.ce-0.debian-jessie_arm64.deb
Selecting previously unselected package docker-engine.
(Reading database ... 22441 files and directories currently installed.)
Preparing to unpack docker-engine_17.05.0.ce-0.debian-jessie_arm64.deb ...
Unpacking docker-engine (17.05.0~ce-0~debian-jessie) ...
dpkg: dependency problems prevent configuration of docker-engine:
docker-engine depends on libapparmor1 (>= 2.6~devel); however:
Package libapparmor1 is not installed.
docker-engine depends on libltdl7 (>= 2.4.2); however:
Package libltdl7 is not installed.
docker-engine depends on libseccomp2 (>= 2.1.0); however:
Package libseccomp2 is not installed.
dpkg: error processing package docker-engine (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (215-17+deb8u7) ...
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
docker-engine
When I try to install from the root /debian-docker-00.sh
I get :
debian@c2:/$ ./debian-docker-00.sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
apparmor : Depends: python3 but it is not going to be installed
Depends: libapparmor-perl but it is not going to be installed
cgroup-bin : Depends: cgroup-tools but it is not going to be installed
cgroupfs-mount : Depends: mountall (> 2.48~) but it is not going to be installed
docker-engine : Depends: libapparmor1 (>= 2.6~devel) but it is not going to be installed
Depends: libltdl7 (>= 2.4.2) but it is not going to be installed
Depends: libseccomp2 (>= 2.1.0) but it is not going to be installed
Recommends: git but it is not going to be installed
lxc : Depends: libapparmor1 (>= 2.6~devel) but it is not going to be installed
Depends: python3 (< 3.5) but it is not going to be installed
Depends: python3 (>= 3.4~) but it is not going to be installed
Recommends: debootstrap but it is not going to be installed
Recommends: rsync but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package docker.io is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'docker.io' has no installation candidate
usermod: group 'docker' does not exist
It sounds like the solution is :
sudo apt-get -f install
debian@c2:~$ docker version
Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.7.5
Git commit: 89658bed6
Built: Tue May 9 07:22:23 2017
OS/Arch: linux/arm64
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.29/version: dial unix /var/run/docker.sock: connect: permission denied
debian@c2:~$ docker info
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.29/info: dial unix /var/run/docker.sock: connect: permission denied
It is fixed with this command :
sudo usermod -aG docker debian
debian@c2:~$ docker version
Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.7.5
Git commit: 89658bed6
Built: Tue May 9 07:22:23 2017
OS/Arch: linux/arm64
Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.12)
Go version: go1.7.5
Git commit: 89658bed6
Built: Tue May 9 07:22:23 2017
OS/Arch: linux/arm64
Experimental: false
Ok after some tests I was able to initialize docker swarm init.
I connected an external HD to the Odroid C2 and this is what I get :
debian@bambuserver12:~$ sudo fdisk -l
[sudo] password for debian:
Disk /dev/mmcblk1: 29.7 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x77f50000
Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 3072 62333951 62330880 29.7G 83 Linux
It looks like the 4 USB hubs are not working !
at boot sequence the LED of the HD light up and goes down. There is definitely a bug in the USB drivers.
I tried the USB OTG and the drive is lighting with :
debian@bambuserver12:~$ sudo fdisk -l
[sudo] password for debian:
Disk /dev/mmcblk1: 29.7 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x77f50000
Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 3072 62333951 62330880 29.7G 83 Linux
Disk /dev/sda: 931.5 GiB, 1000204885504 bytes, 1953525167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Can you set up serial access to the C2 console?
How do I do that? Do I need some special software or hardware? I never went that deep in debugging.
You need at least three breadboard cables/wires to connect the console pins to another device. As you have more than one C2, you can use another C2's second UART (PIN 8,9,10 of the 40 pin header) to connect to the C2 console.
Connect RX <-> TX Connect TX <-> RX Connect GND <-> GND
On the other C2, open the the console with
minicom -c on -D /dev/ttyS1
minicom
isn't installed by default, but can be installed with apt
. Please check the correct minicom settings.
I don't have those cable I will try to get them today or tomorrow.
Here are the steps I have done on my C2 device with HypriotOS Note : I'm using a microSD to USB Adapter on my board.
You wrote : Please choose the correct device (e.g. SD card reader) to be taken in ubuntu-core-00.sh / debian-00.sh / centos-00.sh
In debian-00.sh I've changed the variable dev=mmcblk1 to dev=sdb because of :
and then
All of this is happening on the ARM64 board.