Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on first vagrant up #2

Closed
OwenBrotherwood opened this issue Jan 4, 2017 · 2 comments
Closed

error on first vagrant up #2

OwenBrotherwood opened this issue Jan 4, 2017 · 2 comments

Comments

@OwenBrotherwood
Copy link

OwenBrotherwood commented Jan 4, 2017

C:\Users\owen\Source\Repos\carlosperate\microbit-dev-env>vagrant up
Bringing machine 'microbit-vg' up with 'virtualbox' provider...
==> microbit-vg: Checking if box 'bento/ubuntu-16.04' is up to date...
==> microbit-vg: Setting the name of the VM: microbit-vm
==> microbit-vg: Clearing any previously set network interfaces...
==> microbit-vg: Preparing network interfaces based on configuration...
    microbit-vg: Adapter 1: nat
==> microbit-vg: Forwarding ports...
    microbit-vg: 22 (guest) => 2222 (host) (adapter 1)
==> microbit-vg: Running 'pre-boot' VM customizations...
==> microbit-vg: Booting VM...
==> microbit-vg: Waiting for machine to boot. This may take a few minutes...
    microbit-vg: SSH address: 127.0.0.1:2222
    microbit-vg: SSH username: vagrant
    microbit-vg: SSH auth method: private key
    microbit-vg: Warning: Remote connection disconnect. Retrying...
    microbit-vg:
    microbit-vg: Vagrant insecure key detected. Vagrant will automatically replace
    microbit-vg: this with a newly generated keypair for better security.
    microbit-vg:
    microbit-vg: Inserting generated public key within guest...
    microbit-vg: Removing insecure key from the guest if it's present...
    microbit-vg: Key inserted! Disconnecting and reconnecting using new SSH key...
==> microbit-vg: Machine booted and ready!
==> microbit-vg: Checking for guest additions in VM...
==> microbit-vg: Mounting shared folders...
    microbit-vg: /vagrant => C:/Users/owen/Source/Repos/carlosperate/microbit-dev-env
    microbit-vg: /home/vagrant/vagrant_shared => C:/Users/owen/Source/Repos/carlosperate/microbit-dev-env/vagrant_shared
==> microbit-vg: Running provisioner: file...
==> microbit-vg: Running provisioner: shell...
    microbit-vg: Running: C:/Users/owen/AppData/Local/Temp/vagrant-shell20170104-1832-24p49e.sh
==> microbit-vg: #
==> microbit-vg: # Apt update...
==> microbit-vg: #
==> microbit-vg: #
==> microbit-vg: # Installing git...
==> microbit-vg: #
==> microbit-vg: Reading package lists...
==> microbit-vg: Building dependency tree...
==> microbit-vg: Reading state information...
==> microbit-vg: git is already the newest version (1:2.7.4-0ubuntu1).
==> microbit-vg: 0 upgraded, 0 newly installed, 0 to remove and 51 not upgraded.
==> microbit-vg: #
==> microbit-vg: # Installing extra Python dependencies and pip...
==> microbit-vg: #
==> microbit-vg: Reading package lists...
==> microbit-vg: Building dependency tree...
==> microbit-vg: Reading state information...
==> microbit-vg: The following additional packages will be installed:
==> microbit-vg:   build-essential dpkg-dev g++ g++-5 libalgorithm-diff-perl
==> microbit-vg:   libalgorithm-diff-xs-perl libalgorithm-merge-perl libexpat1-dev
==> microbit-vg:   libpython-all-dev libpython-dev libpython2.7 libpython2.7-dev libpython3-dev
==> microbit-vg:   libpython3.5-dev libstdc++-5-dev python-all python-all-dev python-pip-whl
==> microbit-vg:   python-pkg-resources python-wheel python2.7-dev python3-dev
==> microbit-vg:   python3-setuptools python3-wheel python3.5-dev
==> microbit-vg: Suggested packages:
==> microbit-vg:   debian-keyring g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg
==> microbit-vg:   libstdc++-5-doc python-setuptools-doc
==> microbit-vg: The following NEW packages will be installed:
==> microbit-vg:   build-essential dpkg-dev g++ g++-5 libalgorithm-diff-perl
==> microbit-vg:   libalgorithm-diff-xs-perl libalgorithm-merge-perl libexpat1-dev
==> microbit-vg:   libpython-all-dev libpython-dev libpython2.7 libpython2.7-dev libpython3-dev
==> microbit-vg:   libpython3.5-dev libstdc++-5-dev python-all python-all-dev python-dev
==> microbit-vg:   python-pip python-pip-whl python-pkg-resources python-setuptools
==> microbit-vg:   python-wheel python2.7-dev python3-dev python3-pip python3-setuptools
==> microbit-vg:   python3-wheel python3.5-dev
==> microbit-vg: 0 upgraded, 29 newly installed, 0 to remove and 51 not upgraded.
==> microbit-vg: Need to get 79.2 MB of archives.
==> microbit-vg: After this operation, 145 MB of additional disk space will be used.
==> microbit-vg: Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.4 [1,426 kB]
==> microbit-vg: Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.4 [8,300 kB]
==> microbit-vg: Get:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1,504 B]
==> microbit-vg: Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg-dev all 1.18.4ubuntu1.1 [584 kB]
==> microbit-vg: Get:5 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4,758 B]
==> microbit-vg: Get:6 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
==> microbit-vg: Get:7 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4build1 [11.0 kB]
==> microbit-vg: Get:8 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
==> microbit-vg: Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libexpat1-dev amd64 2.1.0-7ubuntu0.16.04.2 [115 kB]
==> microbit-vg: Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7 amd64 2.7.12-1ubuntu0~16.04.1 [1,070 kB]
==> microbit-vg: Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-dev amd64 2.7.12-1ubuntu0~16.04.1 [27.8 MB]
==> microbit-vg: Get:12 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libpython-dev amd64 2.7.11-1 [7,728 B]
==> microbit-vg: Get:13 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libpython-all-dev amd64 2.7.11-1 [992 B]
==> microbit-vg: Get:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5-dev amd64 3.5.2-2ubuntu0~16.04.1 [37.3 MB]
==> microbit-vg: Get:15 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libpython3-dev amd64 3.5.1-3 [6,926 B]
==> microbit-vg: Get:16 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-all amd64 2.7.11-1 [978 B]
==> microbit-vg: Get:17 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7-dev amd64 2.7.12-1ubuntu0~16.04.1 [276 kB]
==> microbit-vg: Get:18 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-dev amd64 2.7.11-1 [1,160 B]
==> microbit-vg: Get:19 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-all-dev amd64 2.7.11-1 [1,000 B]
==> microbit-vg: Get:20 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-pip-whl all 8.1.1-2ubuntu0.4 [1,110 kB]
==> microbit-vg: Get:21 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-pip all 8.1.1-2ubuntu0.4 [144 kB]
==> microbit-vg: Get:22 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-pkg-resources all 20.7.0-1 [108 kB]
==> microbit-vg: Get:23 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-setuptools all 20.7.0-1 [169 kB]
==> microbit-vg: Get:24 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python-wheel all 0.29.0-1 [48.0 kB]
==> microbit-vg: Get:25 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3.5-dev amd64 3.5.2-2ubuntu0~16.04.1 [413 kB]
==> microbit-vg: Get:26 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-dev amd64 3.5.1-3 [1,186 B]
==> microbit-vg: Get:27 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python3-pip all 8.1.1-2ubuntu0.4 [109 kB]
==> microbit-vg: Get:28 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python3-setuptools all 20.7.0-1 [88.0 kB]
==> microbit-vg: Get:29 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-wheel all 0.29.0-1 [48.1 kB]
==> microbit-vg: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> microbit-vg: Fetched 79.2 MB in 2min 9s (610 kB/s)
==> microbit-vg: Selecting previously unselected package libstdc++-5-dev:amd64.
==> microbit-vg: (Reading database ...
==> microbit-vg: (Reading database ... 5%
==> microbit-vg: (Reading database ... 10%
==> microbit-vg: (Reading database ... 15%
==> microbit-vg: (Reading database ... 20%
==> microbit-vg: (Reading database ... 25%
==> microbit-vg: (Reading database ... 30%
==> microbit-vg: (Reading database ... 35%
==> microbit-vg: (Reading database ... 40%
==> microbit-vg: (Reading database ... 45%
==> microbit-vg: (Reading database ... 50%
==> microbit-vg: (Reading database ... 55%
==> microbit-vg: (Reading database ... 60%
==> microbit-vg: (Reading database ... 65%
==> microbit-vg: (Reading database ... 70%
==> microbit-vg: (Reading database ... 75%
==> microbit-vg: (Reading database ... 80%
==> microbit-vg: (Reading database ... 85%
==> microbit-vg: (Reading database ... 90%
==> microbit-vg: (Reading database ... 95%
==> microbit-vg: (Reading database ... 100%
==> microbit-vg: (Reading database ...
==> microbit-vg: 37814 files and directories currently installed.)
==> microbit-vg: Preparing to unpack .../libstdc++-5-dev_5.4.0-6ubuntu1~16.04.4_amd64.deb ...
==> microbit-vg: Unpacking libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.4) ...
==> microbit-vg: Selecting previously unselected package g++-5.
==> microbit-vg: Preparing to unpack .../g++-5_5.4.0-6ubuntu1~16.04.4_amd64.deb ...
==> microbit-vg: Unpacking g++-5 (5.4.0-6ubuntu1~16.04.4) ...
==> microbit-vg: Selecting previously unselected package g++.
==> microbit-vg: Preparing to unpack .../g++_4%3a5.3.1-1ubuntu1_amd64.deb ...
==> microbit-vg: Unpacking g++ (4:5.3.1-1ubuntu1) ...
==> microbit-vg: Selecting previously unselected package dpkg-dev.
==> microbit-vg: Preparing to unpack .../dpkg-dev_1.18.4ubuntu1.1_all.deb ...
==> microbit-vg: Unpacking dpkg-dev (1.18.4ubuntu1.1) ...
==> microbit-vg: Selecting previously unselected package build-essential.
==> microbit-vg: Preparing to unpack .../build-essential_12.1ubuntu2_amd64.deb ...
==> microbit-vg: Unpacking build-essential (12.1ubuntu2) ...
==> microbit-vg: Selecting previously unselected package libalgorithm-diff-perl.
==> microbit-vg: Preparing to unpack .../libalgorithm-diff-perl_1.19.03-1_all.deb ...
==> microbit-vg: Unpacking libalgorithm-diff-perl (1.19.03-1) ...
==> microbit-vg: Selecting previously unselected package libalgorithm-diff-xs-perl.
==> microbit-vg: Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-4build1_amd64.deb ...
==> microbit-vg: Unpacking libalgorithm-diff-xs-perl (0.04-4build1) ...
==> microbit-vg: Selecting previously unselected package libalgorithm-merge-perl.
==> microbit-vg: Preparing to unpack .../libalgorithm-merge-perl_0.08-3_all.deb ...
==> microbit-vg: Unpacking libalgorithm-merge-perl (0.08-3) ...
==> microbit-vg: Selecting previously unselected package libexpat1-dev:amd64.
==> microbit-vg: Preparing to unpack .../libexpat1-dev_2.1.0-7ubuntu0.16.04.2_amd64.deb ...
==> microbit-vg: Unpacking libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.2) ...
==> microbit-vg: Selecting previously unselected package libpython2.7:amd64.
==> microbit-vg: Preparing to unpack .../libpython2.7_2.7.12-1ubuntu0~16.04.1_amd64.deb ...
==> microbit-vg: Unpacking libpython2.7:amd64 (2.7.12-1ubuntu0~16.04.1) ...
==> microbit-vg: Selecting previously unselected package libpython2.7-dev:amd64.
==> microbit-vg: Preparing to unpack .../libpython2.7-dev_2.7.12-1ubuntu0~16.04.1_amd64.deb ...
==> microbit-vg: Unpacking libpython2.7-dev:amd64 (2.7.12-1ubuntu0~16.04.1) ...
==> microbit-vg: Selecting previously unselected package libpython-dev:amd64.
==> microbit-vg: Preparing to unpack .../libpython-dev_2.7.11-1_amd64.deb ...
==> microbit-vg: Unpacking libpython-dev:amd64 (2.7.11-1) ...
==> microbit-vg: Selecting previously unselected package libpython-all-dev:amd64.
==> microbit-vg: Preparing to unpack .../libpython-all-dev_2.7.11-1_amd64.deb ...
==> microbit-vg: Unpacking libpython-all-dev:amd64 (2.7.11-1) ...
==> microbit-vg: Selecting previously unselected package libpython3.5-dev:amd64.
==> microbit-vg: Preparing to unpack .../libpython3.5-dev_3.5.2-2ubuntu0~16.04.1_amd64.deb ...
==> microbit-vg: Unpacking libpython3.5-dev:amd64 (3.5.2-2ubuntu0~16.04.1) ...
==> microbit-vg: Selecting previously unselected package libpython3-dev:amd64.
==> microbit-vg: Preparing to unpack .../libpython3-dev_3.5.1-3_amd64.deb ...
==> microbit-vg: Unpacking libpython3-dev:amd64 (3.5.1-3) ...
==> microbit-vg: Selecting previously unselected package python-all.
==> microbit-vg: Preparing to unpack .../python-all_2.7.11-1_amd64.deb ...
==> microbit-vg: Unpacking python-all (2.7.11-1) ...
==> microbit-vg: Selecting previously unselected package python2.7-dev.
==> microbit-vg: Preparing to unpack .../python2.7-dev_2.7.12-1ubuntu0~16.04.1_amd64.deb ...
==> microbit-vg: Unpacking python2.7-dev (2.7.12-1ubuntu0~16.04.1) ...
==> microbit-vg: Selecting previously unselected package python-dev.
==> microbit-vg: Preparing to unpack .../python-dev_2.7.11-1_amd64.deb ...
==> microbit-vg: Unpacking python-dev (2.7.11-1) ...
==> microbit-vg: Selecting previously unselected package python-all-dev.
==> microbit-vg: Preparing to unpack .../python-all-dev_2.7.11-1_amd64.deb ...
==> microbit-vg: Unpacking python-all-dev (2.7.11-1) ...
==> microbit-vg: Selecting previously unselected package python-pip-whl.
==> microbit-vg: Preparing to unpack .../python-pip-whl_8.1.1-2ubuntu0.4_all.deb ...
==> microbit-vg: Unpacking python-pip-whl (8.1.1-2ubuntu0.4) ...
==> microbit-vg: Selecting previously unselected package python-pip.
==> microbit-vg: Preparing to unpack .../python-pip_8.1.1-2ubuntu0.4_all.deb ...
==> microbit-vg: Unpacking python-pip (8.1.1-2ubuntu0.4) ...
==> microbit-vg: Selecting previously unselected package python-pkg-resources.
==> microbit-vg: Preparing to unpack .../python-pkg-resources_20.7.0-1_all.deb ...
==> microbit-vg: Unpacking python-pkg-resources (20.7.0-1) ...
==> microbit-vg: Selecting previously unselected package python-setuptools.
==> microbit-vg: Preparing to unpack .../python-setuptools_20.7.0-1_all.deb ...
==> microbit-vg: Unpacking python-setuptools (20.7.0-1) ...
==> microbit-vg: Selecting previously unselected package python-wheel.
==> microbit-vg: Preparing to unpack .../python-wheel_0.29.0-1_all.deb ...
==> microbit-vg: Unpacking python-wheel (0.29.0-1) ...
==> microbit-vg: Selecting previously unselected package python3.5-dev.
==> microbit-vg: Preparing to unpack .../python3.5-dev_3.5.2-2ubuntu0~16.04.1_amd64.deb ...
==> microbit-vg: Unpacking python3.5-dev (3.5.2-2ubuntu0~16.04.1) ...
==> microbit-vg: Selecting previously unselected package python3-dev.
==> microbit-vg: Preparing to unpack .../python3-dev_3.5.1-3_amd64.deb ...
==> microbit-vg: Unpacking python3-dev (3.5.1-3) ...
==> microbit-vg: Selecting previously unselected package python3-pip.
==> microbit-vg: Preparing to unpack .../python3-pip_8.1.1-2ubuntu0.4_all.deb ...
==> microbit-vg: Unpacking python3-pip (8.1.1-2ubuntu0.4) ...
==> microbit-vg: Selecting previously unselected package python3-setuptools.
==> microbit-vg: Preparing to unpack .../python3-setuptools_20.7.0-1_all.deb ...
==> microbit-vg: Unpacking python3-setuptools (20.7.0-1) ...
==> microbit-vg: Selecting previously unselected package python3-wheel.
==> microbit-vg: Preparing to unpack .../python3-wheel_0.29.0-1_all.deb ...
==> microbit-vg: Unpacking python3-wheel (0.29.0-1) ...
==> microbit-vg: Processing triggers for man-db (2.7.5-1) ...
==> microbit-vg: Processing triggers for libc-bin (2.23-0ubuntu4) ...
==> microbit-vg: Setting up libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.4) ...
==> microbit-vg: Setting up g++-5 (5.4.0-6ubuntu1~16.04.4) ...
==> microbit-vg: Setting up g++ (4:5.3.1-1ubuntu1) ...
==> microbit-vg: update-alternatives:
==> microbit-vg: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
==> microbit-vg: Setting up dpkg-dev (1.18.4ubuntu1.1) ...
==> microbit-vg: Setting up build-essential (12.1ubuntu2) ...
==> microbit-vg: Setting up libalgorithm-diff-perl (1.19.03-1) ...
==> microbit-vg: Setting up libalgorithm-diff-xs-perl (0.04-4build1) ...
==> microbit-vg: Setting up libalgorithm-merge-perl (0.08-3) ...
==> microbit-vg: Setting up libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.2) ...
==> microbit-vg: Setting up libpython2.7:amd64 (2.7.12-1ubuntu0~16.04.1) ...
==> microbit-vg: Setting up libpython2.7-dev:amd64 (2.7.12-1ubuntu0~16.04.1) ...
==> microbit-vg: Setting up libpython-dev:amd64 (2.7.11-1) ...
==> microbit-vg: Setting up libpython-all-dev:amd64 (2.7.11-1) ...
==> microbit-vg: Setting up libpython3.5-dev:amd64 (3.5.2-2ubuntu0~16.04.1) ...
==> microbit-vg: Setting up libpython3-dev:amd64 (3.5.1-3) ...
==> microbit-vg: Setting up python-all (2.7.11-1) ...
==> microbit-vg: Setting up python2.7-dev (2.7.12-1ubuntu0~16.04.1) ...
==> microbit-vg: Setting up python-dev (2.7.11-1) ...
==> microbit-vg: Setting up python-all-dev (2.7.11-1) ...
==> microbit-vg: Setting up python-pip-whl (8.1.1-2ubuntu0.4) ...
==> microbit-vg: Setting up python-pip (8.1.1-2ubuntu0.4) ...
==> microbit-vg: Setting up python-pkg-resources (20.7.0-1) ...
==> microbit-vg: Setting up python-setuptools (20.7.0-1) ...
==> microbit-vg: Setting up python-wheel (0.29.0-1) ...
==> microbit-vg: Setting up python3.5-dev (3.5.2-2ubuntu0~16.04.1) ...
==> microbit-vg: Setting up python3-dev (3.5.1-3) ...
==> microbit-vg: Setting up python3-pip (8.1.1-2ubuntu0.4) ...
==> microbit-vg: Setting up python3-setuptools (20.7.0-1) ...
==> microbit-vg: Setting up python3-wheel (0.29.0-1) ...
==> microbit-vg: Processing triggers for libc-bin (2.23-0ubuntu4) ...
==> microbit-vg: The directory '/home/vagrant/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
==> microbit-vg: The directory '/home/vagrant/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
==> microbit-vg: Collecting pip
==> microbit-vg:   Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
==> microbit-vg: Installing collected packages: pip
==> microbit-vg:   Found existing installation: pip 8.1.1
==> microbit-vg:     Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr
==> microbit-vg: Successfully installed pip-9.0.1
==> microbit-vg: #
==> microbit-vg: # Installing general build tools...
==> microbit-vg: #
==> microbit-vg: Reading package lists...
==> microbit-vg: Building dependency tree...
==> microbit-vg: Reading state information...
==> microbit-vg: build-essential is already the newest version (12.1ubuntu2).
==> microbit-vg: build-essential set to manually installed.
==> microbit-vg: libreadline-dev is already the newest version (6.3-8ubuntu2).
==> microbit-vg: libssl-dev is already the newest version (1.0.2g-1ubuntu4.5).
==> microbit-vg: The following additional packages will be installed:
==> microbit-vg:   libyaml-0-2
==> microbit-vg: Suggested packages:
==> microbit-vg:   libyaml-doc
==> microbit-vg: The following NEW packages will be installed:
==> microbit-vg:   libffi-dev libyaml-0-2 libyaml-dev
==> microbit-vg: 0 upgraded, 3 newly installed, 0 to remove and 51 not upgraded.
==> microbit-vg: Need to get 264 kB of archives.
==> microbit-vg: After this operation, 802 kB of additional disk space will be used.
==> microbit-vg: Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libyaml-0-2 amd64 0.1.6-3 [47.6 kB]
==> microbit-vg: Get:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libffi-dev amd64 3.2.1-4 [161 kB]
==> microbit-vg: Get:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libyaml-dev amd64 0.1.6-3 [55.2 kB]
==> microbit-vg: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> microbit-vg: Fetched 264 kB in 1s (258 kB/s)
==> microbit-vg: Selecting previously unselected package libyaml-0-2:amd64.
==> microbit-vg: (Reading database ...
==> microbit-vg: (Reading database ... 5%
==> microbit-vg: (Reading database ... 10%
==> microbit-vg: (Reading database ... 15%
==> microbit-vg: (Reading database ... 20%
==> microbit-vg: (Reading database ... 25%
==> microbit-vg: (Reading database ... 30%
==> microbit-vg: (Reading database ... 35%
==> microbit-vg: (Reading database ... 40%
==> microbit-vg: (Reading database ... 45%
==> microbit-vg: (Reading database ... 50%
==> microbit-vg: (Reading database ... 55%
==> microbit-vg: (Reading database ... 60%
==> microbit-vg: (Reading database ... 65%
==> microbit-vg: (Reading database ... 70%
==> microbit-vg: (Reading database ... 75%
==> microbit-vg: (Reading database ... 80%
==> microbit-vg: (Reading database ... 85%
==> microbit-vg: (Reading database ... 90%
==> microbit-vg: (Reading database ... 95%
==> microbit-vg: (Reading database ... 100%
==> microbit-vg: (Reading database ...
==> microbit-vg: 39633 files and directories currently installed.)
==> microbit-vg: Preparing to unpack .../libyaml-0-2_0.1.6-3_amd64.deb ...
==> microbit-vg: Unpacking libyaml-0-2:amd64 (0.1.6-3) ...
==> microbit-vg: Selecting previously unselected package libffi-dev:amd64.
==> microbit-vg: Preparing to unpack .../libffi-dev_3.2.1-4_amd64.deb ...
==> microbit-vg: Unpacking libffi-dev:amd64 (3.2.1-4) ...
==> microbit-vg: Selecting previously unselected package libyaml-dev:amd64.
==> microbit-vg: Preparing to unpack .../libyaml-dev_0.1.6-3_amd64.deb ...
==> microbit-vg: Unpacking libyaml-dev:amd64 (0.1.6-3) ...
==> microbit-vg: Processing triggers for install-info (6.1.0.dfsg.1-5) ...
==> microbit-vg: Processing triggers for man-db (2.7.5-1) ...
==> microbit-vg: Setting up libyaml-0-2:amd64 (0.1.6-3) ...
==> microbit-vg: Setting up libffi-dev:amd64 (3.2.1-4) ...
==> microbit-vg: Setting up libyaml-dev:amd64 (0.1.6-3) ...
==> microbit-vg: Processing triggers for libc-bin (2.23-0ubuntu4) ...
==> microbit-vg: #
==> microbit-vg: # Installing the compiler...
==> microbit-vg: #
==> microbit-vg: Reading package lists...
==> microbit-vg: Building dependency tree...
==> microbit-vg: Reading state information...
==> microbit-vg: Package 'binutils-arm-none-eabi' is not installed, so not removed
==> microbit-vg: Package 'gcc-arm-none-eabi' is not installed, so not removed
==> microbit-vg: 0 upgraded, 0 newly installed, 0 to remove and 51 not upgraded.
==> microbit-vg: gpg:
==> microbit-vg: keyring `/tmp/tmptcujcogg/secring.gpg' created
==> microbit-vg: gpg:
==> microbit-vg: keyring `/tmp/tmptcujcogg/pubring.gpg' created
==> microbit-vg: gpg:
==> microbit-vg: requesting key F64D33B0 from hkp server keyserver.ubuntu.com
==> microbit-vg: gpg:
==> microbit-vg: /tmp/tmptcujcogg/trustdb.gpg: trustdb created
==> microbit-vg: gpg: key F64D33B0: public key "Launchpad PPA for GCC ARM Embedded Maintainers" imported
==> microbit-vg: gpg:
==> microbit-vg: no ultimately trusted keys found
==> microbit-vg: gpg:
==> microbit-vg: Total number processed: 1
==> microbit-vg: gpg:
==> microbit-vg:               imported: 1
==> microbit-vg:   (RSA: 1)
==> microbit-vg: OK
==> microbit-vg: gpg:
==> microbit-vg: keyring `/tmp/tmppf47pgru/secring.gpg' created
==> microbit-vg: gpg:
==> microbit-vg: keyring `/tmp/tmppf47pgru/pubring.gpg' created
==> microbit-vg: gpg:
==> microbit-vg: requesting key E89EC0F4 from hkp server keyserver.ubuntu.com
==> microbit-vg: gpg: /tmp/tmppf47pgru/trustdb.gpg: trustdb created
==> microbit-vg: gpg: key E89EC0F4: public key "Launchpad PPA for Peter Miller" imported
==> microbit-vg: gpg: Total number processed: 1
==> microbit-vg: gpg:               imported: 1  (RSA: 1)
==> microbit-vg: OK
==> microbit-vg: W
==> microbit-vg: :
==> microbit-vg: The repository 'http://ppa.launchpad.net/pmiller-opensource/ppa/ubuntu xenial Release' does not have a Release file.
==> microbit-vg: E
==> microbit-vg: :
==> microbit-vg: Failed to fetch http://ppa.launchpad.net/pmiller-opensource/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
==> microbit-vg: E
==> microbit-vg: :
==> microbit-vg: Some index files failed to download. They have been ignored, or old ones used instead.
==> microbit-vg: Reading package lists...
==> microbit-vg: Building dependency tree...
==> microbit-vg: Reading state information...
==> microbit-vg: The following NEW packages will be installed:
==> microbit-vg:   gcc-arm-embedded
==> microbit-vg: 0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
==> microbit-vg: Need to get 49.3 MB of archives.
==> microbit-vg: After this operation, 418 MB of additional disk space will be used.
==> microbit-vg: Get:1 http://ppa.launchpad.net/team-gcc-arm-embedded/ppa/ubuntu xenial/main amd64 gcc-arm-embedded amd64 6-2016q4-1~xenial1 [49.3 MB]
==> microbit-vg: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> microbit-vg: Fetched 49.3 MB in 29s (1,686 kB/s)
==> microbit-vg: Selecting previously unselected package gcc-arm-embedded.
==> microbit-vg: (Reading database ...
==> microbit-vg: (Reading database ... 5%
==> microbit-vg: (Reading database ... 10%
==> microbit-vg: (Reading database ... 15%
==> microbit-vg: (Reading database ... 20%
==> microbit-vg: (Reading database ... 25%
==> microbit-vg: (Reading database ... 30%
==> microbit-vg: (Reading database ... 35%
==> microbit-vg: (Reading database ... 40%
==> microbit-vg: (Reading database ... 45%
(Reading database ... 60% database ... 50%
==> microbit-vg: (Reading database ... 65%
==> microbit-vg: (Reading database ... 70%
==> microbit-vg: (Reading database ... 75%
==> microbit-vg: (Reading database ... 80%
==> microbit-vg: (Reading database ... 85%
==> microbit-vg: (Reading database ... 90%
==> microbit-vg: (Reading database ... 95%
==> microbit-vg: (Reading database ... 100%
==> microbit-vg: (Reading database ...
==> microbit-vg: 39682 files and directories currently installed.)
==> microbit-vg: Preparing to unpack .../gcc-arm-embedded_6-2016q4-1~xenial1_amd64.deb ...
==> microbit-vg: Unpacking gcc-arm-embedded (6-2016q4-1~xenial1) ...
==> microbit-vg: Setting up gcc-arm-embedded (6-2016q4-1~xenial1) ...
==> microbit-vg: Reading package lists...
==> microbit-vg: Building dependency tree...
==> microbit-vg: Reading state information...
==> microbit-vg: The following additional packages will be installed:
==> microbit-vg:   binutils-arm-none-eabi cmake-data libarchive13 libcurl3 libjsoncpp1
==> microbit-vg:   libnewlib-arm-none-eabi libnewlib-dev libsrecord0v5
==> microbit-vg:   libstdc++-arm-none-eabi-newlib
==> microbit-vg: Suggested packages:
==> microbit-vg:   codeblocks eclipse lrzip libnewlib-doc
==> microbit-vg: The following NEW packages will be installed:
==> microbit-vg:   binutils-arm-none-eabi cmake cmake-data gcc-arm-none-eabi libarchive13
==> microbit-vg:   libcurl3 libjsoncpp1 libnewlib-arm-none-eabi libnewlib-dev libsrecord0v5
==> microbit-vg:   libstdc++-arm-none-eabi-newlib ninja-build srecord
==> microbit-vg: 0 upgraded, 13 newly installed, 0 to remove and 51 not upgraded.
==> microbit-vg: Need to get 69.8 MB of archives.
==> microbit-vg: After this operation, 634 MB of additional disk space will be used.
==> microbit-vg: Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 cmake-data all 3.5.1-1ubuntu3 [1,121 kB]
==> microbit-vg: Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libarchive13 amd64 3.1.2-11ubuntu0.16.04.2 [261 kB]
==> microbit-vg: Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcurl3 amd64 7.47.0-1ubuntu2.2 [186 kB]
==> microbit-vg: Get:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libjsoncpp1 amd64 1.7.2-1 [73.0 kB]
==> microbit-vg: Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 cmake amd64 3.5.1-1ubuntu3 [2,623 kB]
==> microbit-vg: Get:6 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 ninja-build amd64 1.5.1-0.1ubuntu1 [84.8 kB]
==> microbit-vg: Get:7 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 binutils-arm-none-eabi amd64 2.26-4ubuntu1+8 [2,083 kB]
==> microbit-vg: Get:8 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 gcc-arm-none-eabi amd64 15:4.9.3+svn231177-1 [17.3 MB]
==> microbit-vg: Get:9 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libnewlib-dev all 2.2.0+git20150830.5a3d536-1 [105 kB]
==> microbit-vg: Get:10 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libnewlib-arm-none-eabi all 2.2.0+git20150830.5a3d536-1 [14.0 MB]
==> microbit-vg: Get:11 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libsrecord0v5 amd64 1.58-1.1ubuntu1 [194 kB]
==> microbit-vg: Get:12 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libstdc++-arm-none-eabi-newlib all 15:4.9.3+svn227297-1+8 [31.6 MB]
==> microbit-vg: Get:13 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 srecord amd64 1.58-1.1ubuntu1 [139 kB]
==> microbit-vg: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> microbit-vg: Fetched 69.8 MB in 1min 56s (597 kB/s)
==> microbit-vg: Selecting previously unselected package cmake-data.
==> microbit-vg: (Reading database ...
==> microbit-vg: (Reading database ... 5%
==> microbit-vg: (Reading database ... 10%
==> microbit-vg: (Reading database ... 15%
==> microbit-vg: (Reading database ... 20%
==> microbit-vg: (Reading database ... 25%
==> microbit-vg: (Reading database ... 30%
==> microbit-vg: (Reading database ... 35%
==> microbit-vg: (Reading database ... 40%
==> microbit-vg: (Reading database ... 45%
==> microbit-vg: (Reading database ... 50%
==> microbit-vg: (Reading database ... 55%
==> microbit-vg: (Reading database ... 60%
==> microbit-vg: (Reading database ... 65%
==> microbit-vg: (Reading database ... 70%
==> microbit-vg: (Reading database ... 75%
==> microbit-vg: (Reading database ... 80%
==> microbit-vg: (Reading database ... 85%
==> microbit-vg: (Reading database ... 90%
==> microbit-vg: (Reading database ... 95%
==> microbit-vg: (Reading database ... 100%
==> microbit-vg: (Reading database ...
==> microbit-vg: 42659 files and directories currently installed.)
==> microbit-vg: Preparing to unpack .../cmake-data_3.5.1-1ubuntu3_all.deb ...
==> microbit-vg: Unpacking cmake-data (3.5.1-1ubuntu3) ...
==> microbit-vg: Selecting previously unselected package libarchive13:amd64.
==> microbit-vg: Preparing to unpack .../libarchive13_3.1.2-11ubuntu0.16.04.2_amd64.deb ...
==> microbit-vg: Unpacking libarchive13:amd64 (3.1.2-11ubuntu0.16.04.2) ...
==> microbit-vg: Selecting previously unselected package libcurl3:amd64.
==> microbit-vg: Preparing to unpack .../libcurl3_7.47.0-1ubuntu2.2_amd64.deb ...
==> microbit-vg: Unpacking libcurl3:amd64 (7.47.0-1ubuntu2.2) ...
==> microbit-vg: Selecting previously unselected package libjsoncpp1:amd64.
==> microbit-vg: Preparing to unpack .../libjsoncpp1_1.7.2-1_amd64.deb ...
==> microbit-vg: Unpacking libjsoncpp1:amd64 (1.7.2-1) ...
==> microbit-vg: Selecting previously unselected package cmake.
==> microbit-vg: Preparing to unpack .../cmake_3.5.1-1ubuntu3_amd64.deb ...
==> microbit-vg: Unpacking cmake (3.5.1-1ubuntu3) ...
==> microbit-vg: Selecting previously unselected package ninja-build.
==> microbit-vg: Preparing to unpack .../ninja-build_1.5.1-0.1ubuntu1_amd64.deb ...
==> microbit-vg: Unpacking ninja-build (1.5.1-0.1ubuntu1) ...
==> microbit-vg: Selecting previously unselected package binutils-arm-none-eabi.
==> microbit-vg: Preparing to unpack .../binutils-arm-none-eabi_2.26-4ubuntu1+8_amd64.deb ...
==> microbit-vg: Unpacking binutils-arm-none-eabi (2.26-4ubuntu1+8) ...
==> microbit-vg: dpkg: error processing archive /var/cache/apt/archives/binutils-arm-none-eabi_2.26-4ubuntu1+8_amd64.deb (--unpack):
==> microbit-vg:  trying to overwrite '/usr/bin/arm-none-eabi-elfedit', which is also in package gcc-arm-embedded 6-2016q4-1~xenial1
==> microbit-vg: dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
==> microbit-vg: Selecting previously unselected package gcc-arm-none-eabi.
==> microbit-vg: Preparing to unpack .../gcc-arm-none-eabi_15%3a4.9.3+svn231177-1_amd64.deb ...
==> microbit-vg: Unpacking gcc-arm-none-eabi (15:4.9.3+svn231177-1) ...
==> microbit-vg: dpkg: error processing archive /var/cache/apt/archives/gcc-arm-none-eabi_15%3a4.9.3+svn231177-1_amd64.deb (--unpack):
==> microbit-vg:
==> microbit-vg:  trying to overwrite '/usr/bin/arm-none-eabi-c++', which is also in package gcc-arm-embedded 6-2016q4-1~xenial1
==> microbit-vg: dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
==> microbit-vg: Selecting previously unselected package libnewlib-dev.
==> microbit-vg: Preparing to unpack .../libnewlib-dev_2.2.0+git20150830.5a3d536-1_all.deb ...
==> microbit-vg: Unpacking libnewlib-dev (2.2.0+git20150830.5a3d536-1) ...
==> microbit-vg: Selecting previously unselected package libnewlib-arm-none-eabi.
==> microbit-vg: Preparing to unpack .../libnewlib-arm-none-eabi_2.2.0+git20150830.5a3d536-1_all.deb ...
==> microbit-vg: Unpacking libnewlib-arm-none-eabi (2.2.0+git20150830.5a3d536-1) ...
==> microbit-vg: Selecting previously unselected package libsrecord0v5.
==> microbit-vg: Preparing to unpack .../libsrecord0v5_1.58-1.1ubuntu1_amd64.deb ...
==> microbit-vg: Unpacking libsrecord0v5 (1.58-1.1ubuntu1) ...
==> microbit-vg: Selecting previously unselected package libstdc++-arm-none-eabi-newlib.
==> microbit-vg: Preparing to unpack .../libstdc++-arm-none-eabi-newlib_15%3a4.9.3+svn227297-1+8_all.deb ...
==> microbit-vg: Unpacking libstdc++-arm-none-eabi-newlib (15:4.9.3+svn227297-1+8) ...
==> microbit-vg: Selecting previously unselected package srecord.
==> microbit-vg: Preparing to unpack .../srecord_1.58-1.1ubuntu1_amd64.deb ...
==> microbit-vg: Unpacking srecord (1.58-1.1ubuntu1) ...
==> microbit-vg: Processing triggers for man-db (2.7.5-1) ...
==> microbit-vg: Processing triggers for libc-bin (2.23-0ubuntu4) ...
==> microbit-vg: Errors were encountered while processing:
==> microbit-vg:  /var/cache/apt/archives/binutils-arm-none-eabi_2.26-4ubuntu1+8_amd64.deb
==> microbit-vg:  /var/cache/apt/archives/gcc-arm-none-eabi_15%3a4.9.3+svn231177-1_amd64.deb
==> microbit-vg: E
==> microbit-vg: :
==> microbit-vg: Sub-process /usr/bin/dpkg returned an error code (1)
==> microbit-vg: arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 6.2.1 20161205 (release) [ARM/embedded-6-branch revision 243739]
==> microbit-vg: Copyright (C) 2016 Free Software Foundation, Inc.
==> microbit-vg: This is free software; see the source for copying conditions.  There is NO
==> microbit-vg: warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
==> microbit-vg: #
==> microbit-vg: # Installing yotta...
==> microbit-vg: #
==> microbit-vg: Collecting yotta
==> microbit-vg:   Downloading yotta-0.16.4.tar.gz (129kB)
==> microbit-vg: Collecting semantic_version<3,>=2.3.1 (from yotta)
==> microbit-vg:   Downloading semantic_version-2.6.0.tar.gz
==> microbit-vg: Collecting requests[security]<3,>=2.4.3 (from yotta)
==> microbit-vg:   Downloading requests-2.12.4-py2.py3-none-any.whl (576kB)
==> microbit-vg: Collecting certifi>=2016.2.28 (from yotta)
==> microbit-vg:   Downloading certifi-2016.9.26-py2.py3-none-any.whl (377kB)
==> microbit-vg: Collecting PyGithub<2,>=1.25 (from yotta)
==> microbit-vg:   Downloading PyGithub-1.29.tar.gz (2.6MB)
==> microbit-vg: Collecting colorama<0.4,>=0.3 (from yotta)
==> microbit-vg:   Downloading colorama-0.3.7-py2.py3-none-any.whl
==> microbit-vg: Collecting hgapi<2,>=1.7 (from yotta)
==> microbit-vg:   Downloading hgapi-1.7.2.tar.gz
==> microbit-vg: Collecting Jinja2<3,>=2.7.0 (from yotta)
==> microbit-vg:   Downloading Jinja2-2.8.1-py2.py3-none-any.whl (264kB)
==> microbit-vg: Collecting cryptography>=0.8 (from yotta)
==> microbit-vg:   Downloading cryptography-1.7.1.tar.gz (420kB)
==> microbit-vg: Collecting PyJWT<2.0,>=1.0 (from yotta)
==> microbit-vg:   Downloading PyJWT-1.4.2-py2.py3-none-any.whl
==> microbit-vg: Collecting pathlib<1.1,>=1.0.1 (from yotta)
==> microbit-vg:   Downloading pathlib-1.0.1.tar.gz (49kB)
==> microbit-vg: Collecting jsonschema<3.0,>=2.4.0 (from yotta)
==> microbit-vg:   Downloading jsonschema-2.5.1-py2.py3-none-any.whl
==> microbit-vg: Collecting argcomplete<2.0,>=0.8.0 (from yotta)
==> microbit-vg:   Downloading argcomplete-1.7.0-py2.py3-none-any.whl
==> microbit-vg: Collecting mbed_test_wrapper<2.0.0,>=0.0.3 (from yotta)
==> microbit-vg:   Downloading mbed_test_wrapper-1.0.0.tar.gz
==> microbit-vg: Collecting valinor<1.0,>=0.0.0 (from yotta)
==> microbit-vg:   Downloading valinor-0.0.15.tar.gz
==> microbit-vg: Collecting intelhex<3.0,>=2.0 (from yotta)
==> microbit-vg:   Downloading intelhex-2.1-py2.py3-none-any.whl (46kB)
==> microbit-vg: Collecting jsonpointer<2.0,>=1.9 (from yotta)
==> microbit-vg:   Downloading jsonpointer-1.10-py2-none-any.whl
==> microbit-vg: Collecting idna>=2.0.0; extra == "security" (from requests[security]<3,>=2.4.3->yotta)
==> microbit-vg:   Downloading idna-2.2-py2.py3-none-any.whl (55kB)
==> microbit-vg: Collecting pyOpenSSL>=0.14; extra == "security" (from requests[security]<3,>=2.4.3->yotta)
==> microbit-vg:   Downloading pyOpenSSL-16.2.0-py2.py3-none-any.whl (43kB)
==> microbit-vg: Collecting MarkupSafe (from Jinja2<3,>=2.7.0->yotta)
==> microbit-vg:   Downloading MarkupSafe-0.23.tar.gz
==> microbit-vg: Collecting pyasn1>=0.1.8 (from cryptography>=0.8->yotta)
==> microbit-vg:   Downloading pyasn1-0.1.9-py2.py3-none-any.whl
==> microbit-vg: Collecting six>=1.4.1 (from cryptography>=0.8->yotta)
==> microbit-vg:   Downloading six-1.10.0-py2.py3-none-any.whl
==> microbit-vg: Requirement already satisfied: setuptools>=11.3 in /usr/lib/python2.7/dist-packages (from cryptography>=0.8->yotta)
==> microbit-vg: Collecting enum34 (from cryptography>=0.8->yotta)
==> microbit-vg:   Downloading enum34-1.1.6-py2-none-any.whl
==> microbit-vg: Collecting ipaddress (from cryptography>=0.8->yotta)
==> microbit-vg:   Downloading ipaddress-1.0.17-py2-none-any.whl
==> microbit-vg: Collecting cffi>=1.4.1 (from cryptography>=0.8->yotta)
==> microbit-vg:   Downloading cffi-1.9.1-cp27-cp27mu-manylinux1_x86_64.whl (387kB)
==> microbit-vg: Collecting functools32; python_version == "2.7" (from jsonschema<3.0,>=2.4.0->yotta)
==> microbit-vg:   Downloading functools32-3.2.3-2.zip
==> microbit-vg: Collecting pyyaml<4,>=3 (from valinor<1.0,>=0.0.0->yotta)
==> microbit-vg:   Downloading PyYAML-3.12.tar.gz (253kB)
==> microbit-vg: Collecting pyOCD<1.0,>=0.3 (from valinor<1.0,>=0.0.0->yotta)
==> microbit-vg:   Downloading pyOCD-0.8.0.tar.gz (439kB)
==> microbit-vg: Collecting project_generator<0.9.0,>=0.8.0 (from valinor<1.0,>=0.0.0->yotta)
==> microbit-vg:   Downloading project_generator-0.8.16.zip (86kB)
==> microbit-vg: Collecting pyelftools==0.23 (from valinor<1.0,>=0.0.0->yotta)
==> microbit-vg:   Downloading pyelftools-0.23.tar.gz (401kB)
==> microbit-vg: Collecting pycparser (from cffi>=1.4.1->cryptography>=0.8->yotta)
==> microbit-vg:   Downloading pycparser-2.17.tar.gz (231kB)
==> microbit-vg: Collecting future (from pyOCD<1.0,>=0.3->valinor<1.0,>=0.0.0->yotta)
==> microbit-vg:   Downloading future-0.16.0.tar.gz (824kB)
==> microbit-vg: Collecting websocket-client (from pyOCD<1.0,>=0.3->valinor<1.0,>=0.0.0->yotta)
==> microbit-vg:   Downloading websocket_client-0.40.0.tar.gz (196kB)
==> microbit-vg: Collecting pyusb>=1.0.0b2 (from pyOCD<1.0,>=0.3->valinor<1.0,>=0.0.0->yotta)
==> microbit-vg:   Downloading PyUSB-1.0.0.tar.gz (52kB)
==> microbit-vg: Requirement already satisfied: argparse in /usr/lib/python2.7 (from project_generator<0.9.0,>=0.8.0->valinor<1.0,>=0.0.0->yotta)
==> microbit-vg: Collecting xmltodict (from project_generator<0.9.0,>=0.8.0->valinor<1.0,>=0.0.0->yotta)
==> microbit-vg:   Downloading xmltodict-0.10.2.tar.gz
==> microbit-vg: Collecting project_generator_definitions<0.3.0,>=0.2.2 (from project_generator<0.9.0,>=0.8.0->valinor<1.0,>=0.0.0->yotta)
==> microbit-vg:   Downloading project_generator_definitions-0.2.33.zip (79kB)
==> microbit-vg: Collecting backports.ssl_match_hostname (from websocket-client->pyOCD<1.0,>=0.3->valinor<1.0,>=0.0.0->yotta)
==> microbit-vg:   Downloading backports.ssl_match_hostname-3.5.0.1.tar.gz
==> microbit-vg: Building wheels for collected packages: yotta, semantic-version, PyGithub, hgapi, cryptography, pathlib, mbed-test-wrapper, valinor, MarkupSafe, functools32, pyyaml, pyOCD, project-generator, pyelftools, pycparser, future, websocket-client, pyusb, xmltodict, project-generator-definitions, backports.ssl-match-hostname
==> microbit-vg:   Running setup.py bdist_wheel for yotta: started
==> microbit-vg:   Running setup.py bdist_wheel for yotta: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/c9/67/c7/91f71a88a278eeff2ceff84818f354215a432c59aed01e6db5
==> microbit-vg:   Running setup.py bdist_wheel for semantic-version: started
==> microbit-vg:   Running setup.py bdist_wheel for semantic-version: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/8e/b7/80/adcc81f7455c6fe108fa530c1dfb5ba037091ff7c633013224
==> microbit-vg:   Running setup.py bdist_wheel for PyGithub: started
==> microbit-vg:   Running setup.py bdist_wheel for PyGithub: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/8d/a4/26/09bc796523253d280168c834db6edf2ba96e74ae7fe17e8b64
==> microbit-vg:   Running setup.py bdist_wheel for hgapi: started
==> microbit-vg:   Running setup.py bdist_wheel for hgapi: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/7e/e6/64/da6a9154eb8d2fab0472c1c55243818ea2fd62ce3de0632b11
==> microbit-vg:   Running setup.py bdist_wheel for cryptography: started
==> microbit-vg:   Running setup.py bdist_wheel for cryptography: still running...
==> microbit-vg:   Running setup.py bdist_wheel for cryptography: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/35/c3/d6/cc2e097314f1a505e80e232cca8818242ec903f7d9fe727d05
==> microbit-vg:   Running setup.py bdist_wheel for pathlib: started
==> microbit-vg:   Running setup.py bdist_wheel for pathlib: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/2a/23/a5/d8803db5d631e9f391fe6defe982a238bf5483062eeb34e841
==> microbit-vg:   Running setup.py bdist_wheel for mbed-test-wrapper: started
==> microbit-vg:   Running setup.py bdist_wheel for mbed-test-wrapper: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/7b/9f/b6/f422cd9e5e3ada64ed4bf5dc01042ae97c80b74fac8f4df1bf
==> microbit-vg:   Running setup.py bdist_wheel for valinor: started
==> microbit-vg:   Running setup.py bdist_wheel for valinor: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/f0/ed/94/24a55a8213dc741432a8b472fc2c9bf7007dc9bcc1b3424921
==> microbit-vg:   Running setup.py bdist_wheel for MarkupSafe: started
==> microbit-vg:   Running setup.py bdist_wheel for MarkupSafe: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/a3/fa/dc/0198eed9ad95489b8a4f45d14dd5d2aee3f8984e46862c5748
==> microbit-vg:   Running setup.py bdist_wheel for functools32: started
==> microbit-vg:   Running setup.py bdist_wheel for functools32: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/3c/d0/09/cd78d0ff4d6cfecfbd730782a7815a4571cd2cd4d2ed6e69d9
==> microbit-vg:   Running setup.py bdist_wheel for pyyaml: started
==> microbit-vg:   Running setup.py bdist_wheel for pyyaml: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/2c/f7/79/13f3a12cd723892437c0cfbde1230ab4d82947ff7b3839a4fc
==> microbit-vg:   Running setup.py bdist_wheel for pyOCD: started
==> microbit-vg:   Running setup.py bdist_wheel for pyOCD: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/bb/00/1e/6c90798e7bf0ebfc9dc6f259a68341d18fdcc08cc6f8fbf863
==> microbit-vg:   Running setup.py bdist_wheel for project-generator: started
==> microbit-vg:   Running setup.py bdist_wheel for project-generator: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/1f/b9/2e/02fdbb1e0c850fb8237b619fed1375313f6a503b9366f902ae
==> microbit-vg:   Running setup.py bdist_wheel for pyelftools: started
==> microbit-vg:   Running setup.py bdist_wheel for pyelftools: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/ac/46/27/461697870f74b7a055c45eba40ce702b3f98b09fd9d7dc45ca
==> microbit-vg:   Running setup.py bdist_wheel for pycparser: started
==> microbit-vg:   Running setup.py bdist_wheel for pycparser: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/a8/0b/41/dc95621f9d3a0da7bc191b8a71f0e8182ffd3cc5f33ac55005
==> microbit-vg:   Running setup.py bdist_wheel for future: started
==> microbit-vg:   Running setup.py bdist_wheel for future: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/c2/50/7c/0d83b4baac4f63ff7a765bd16390d2ab43c93587fac9d6017a
==> microbit-vg:   Running setup.py bdist_wheel for websocket-client: started
==> microbit-vg:   Running setup.py bdist_wheel for websocket-client: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/d1/5e/dd/93da015a0ecc8375278b05ad7f0452eff574a044bcea2a95d2
==> microbit-vg:   Running setup.py bdist_wheel for pyusb: started
==> microbit-vg:   Running setup.py bdist_wheel for pyusb: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/18/b0/b8/83d67cc7a3b50866f908ca1104b553f7807e1e767ddf373427
==> microbit-vg:   Running setup.py bdist_wheel for xmltodict: started
==> microbit-vg:   Running setup.py bdist_wheel for xmltodict: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/2a/dc/70/da8958d7089d994c8614bc38210f64855f09615e85707bf615
==> microbit-vg:   Running setup.py bdist_wheel for project-generator-definitions: started
==> microbit-vg:   Running setup.py bdist_wheel for project-generator-definitions: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/66/18/1e/f24fbb234819f185c917f43a464699a1bdfa7c5655d9110842
==> microbit-vg:   Running setup.py bdist_wheel for backports.ssl-match-hostname: started
==> microbit-vg:   Running setup.py bdist_wheel for backports.ssl-match-hostname: finished with status 'done'
==> microbit-vg:   Stored in directory: /root/.cache/pip/wheels/5d/72/36/b2a31507b613967b728edc33378a5ff2ada0f62855b93c5ae1
==> microbit-vg: Successfully built yotta semantic-version PyGithub hgapi cryptography pathlib mbed-test-wrapper valinor MarkupSafe functools32 pyyaml pyOCD project-generator pyelftools pycparser future websocket-client pyusb xmltodict project-generator-definitions backports.ssl-match-hostname
==> microbit-vg: Installing collected packages: semantic-version, idna, pyasn1, six, enum34, ipaddress, pycparser, cffi, cryptography, pyOpenSSL, requests, certifi, PyGithub, colorama, hgapi, MarkupSafe, Jinja2, PyJWT, pathlib, functools32, jsonschema, argcomplete, mbed-test-wrapper, pyyaml, intelhex, future, backports.ssl-match-hostname, websocket-client, pyusb, pyOCD, xmltodict, project-generator-definitions, project-generator, pyelftools, valinor, jsonpointer, yotta
==> microbit-vg: Successfully installed Jinja2-2.8.1 MarkupSafe-0.23 PyGithub-1.29 PyJWT-1.4.2 argcomplete-1.7.0 backports.ssl-match-hostname-3.5.0.1 certifi-2016.9.26 cffi-1.9.1 colorama-0.3.7 cryptography-1.7.1 enum34-1.1.6 functools32-3.2.3.post2 future-0.16.0 hgapi-1.7.2 idna-2.2 intelhex-2.1 ipaddress-1.0.17 jsonpointer-1.10 jsonschema-2.5.1 mbed-test-wrapper-1.0.0 pathlib-1.0.1 project-generator-0.8.16 project-generator-definitions-0.2.33 pyOCD-0.8.0 pyOpenSSL-16.2.0 pyasn1-0.1.9 pycparser-2.17 pyelftools-0.23 pyusb-1.0.0 pyyaml-3.12 requests-2.12.4 semantic-version-2.6.0 six-1.10.0 valinor-0.0.15 websocket-client-0.40.0 xmltodict-0.10.2 yotta-0.16.4
==> microbit-vg: Running provisioner: shell...
    microbit-vg: Running: C:/Users/owen/AppData/Local/Temp/vagrant-shell20170104-1832-8myitv.sh
==> microbit-vg: #
==> microbit-vg: # Cloning C++ Examples
==> microbit-vg: #
==> microbit-vg: Cloning into 'cpp-samples'...
==> microbit-vg: #
==> microbit-vg: # Cloning C++ Template for older DAL
==> microbit-vg: #
==> microbit-vg: Cloning into 'cpp-template-dal-v1'...
==> microbit-vg: #
==> microbit-vg: # Cloning MicroPython repository...
==> microbit-vg: #
==> microbit-vg: Cloning into 'micropython'...
==> microbit-vg: Checking out files:   9% (33/331)
==> microbit-vg: Checking out files:  10% (34/331)
==> microbit-vg: Checking out files:  11% (37/331)
==> microbit-vg: Checking out files:  12% (40/331)
==> microbit-vg: Checking out files:  12% (41/331)
==> microbit-vg: Checking out files:  13% (44/331)
==> microbit-vg: Checking out files:  14% (47/331)
==> microbit-vg: Checking out files:  15% (50/331)
==> microbit-vg: Checking out files:  16% (53/331)
==> microbit-vg: Checking out files:  17% (57/331)
==> microbit-vg: Checking out files:  18% (60/331)
==> microbit-vg: Checking out files:  18% (61/331)
==> microbit-vg: Checking out files:  19% (63/331)
==> microbit-vg: Checking out files:  20% (67/331)
==> microbit-vg: Checking out files:  21% (70/331)
==> microbit-vg: Checking out files:  22% (73/331)
==> microbit-vg: Checking out files:  23% (77/331)
==> microbit-vg: Checking out files:  24% (80/331)
==> microbit-vg: Checking out files:  25% (83/331)
==> microbit-vg: Checking out files:  26% (87/331)
==> microbit-vg: Checking out files:  27% (90/331)
==> microbit-vg: Checking out files:  28% (93/331)
==> microbit-vg: Checking out files:  29% (96/331)
==> microbit-vg: Checking out files:  30% (100/331)
==> microbit-vg: Checking out files:  30% (102/331)
==> microbit-vg: Checking out files:  31% (103/331)
==> microbit-vg: Checking out files:  32% (106/331)
==> microbit-vg: Checking out files:  33% (110/331)
==> microbit-vg: Checking out files:  34% (113/331)
==> microbit-vg: Checking out files:  35% (116/331)
==> microbit-vg: Checking out files:  36% (120/331)
==> microbit-vg: Checking out files:  37% (123/331)
==> microbit-vg: Checking out files:  38% (126/331)
==> microbit-vg: Checking out files:  39% (130/331)
==> microbit-vg: Checking out files:  40% (133/331)
==> microbit-vg: Checking out files:  41% (136/331)
==> microbit-vg: Checking out files:  41% (139/331)
==> microbit-vg: Checking out files:  42% (140/331)
==> microbit-vg: Checking out files:  43% (143/331)
==> microbit-vg: Checking out files:  44% (146/331)
==> microbit-vg: Checking out files:  45% (149/331)
==> microbit-vg: Checking out files:  46% (153/331)
==> microbit-vg: Checking out files:  47% (156/331)
==> microbit-vg: Checking out files:  48% (159/331)
==> microbit-vg: Checking out files:  49% (163/331)
==> microbit-vg: Checking out files:  50% (166/331)
==> microbit-vg: Checking out files:  51% (169/331)
==> microbit-vg: Checking out files:  51% (171/331)
==> microbit-vg: Checking out files:  52% (173/331)
==> microbit-vg: Checking out files:  53% (176/331)
==> microbit-vg: Checking out files:  54% (179/331)
==> microbit-vg: Checking out files:  55% (183/331)
==> microbit-vg: Checking out files:  56% (186/331)
==> microbit-vg: Checking out files:  57% (189/331)
==> microbit-vg: Checking out files:  58% (192/331)
==> microbit-vg: Checking out files:  59% (196/331)
==> microbit-vg: Checking out files:  60% (199/331)
==> microbit-vg: Checking out files:  61% (202/331)
==> microbit-vg: Checking out files:  62% (206/331)
==> microbit-vg: Checking out files:  62% (208/331)
==> microbit-vg: Checking out files:  63% (209/331)
==> microbit-vg: Checking out files:  64% (212/331)
==> microbit-vg: Checking out files:  65% (216/331)
==> microbit-vg: Checking out files:  66% (219/331)
==> microbit-vg: Checking out files:  67% (222/331)
==> microbit-vg: Checking out files:  68% (226/331)
==> microbit-vg: Checking out files:  69% (229/331)
==> microbit-vg: Checking out files:  70% (232/331)
==> microbit-vg: Checking out files:  71% (236/331)
==> microbit-vg: Checking out files:  72% (239/331)
==> microbit-vg: Checking out files:  73% (242/331)
==> microbit-vg: Checking out files:  74% (245/331)
==> microbit-vg: Checking out files:  75% (249/331)
==> microbit-vg: Checking out files:  76% (252/331)
==> microbit-vg: Checking out files:  77% (255/331)
==> microbit-vg: Checking out files:  78% (259/331)
==> microbit-vg: Checking out files:  79% (262/331)
==> microbit-vg: Checking out files:  80% (265/331)
==> microbit-vg: Checking out files:  81% (269/331)
==> microbit-vg: Checking out files:  82% (272/331)
==> microbit-vg: Checking out files:  83% (275/331)
==> microbit-vg: Checking out files:  84% (279/331)
==> microbit-vg: Checking out files:  85% (282/331)
==> microbit-vg: Checking out files:  86% (285/331)
==> microbit-vg: Checking out files:  87% (288/331)
==> microbit-vg: Checking out files:  88% (292/331)
==> microbit-vg: Checking out files:  89% (295/331)
==> microbit-vg: Checking out files:  90% (298/331)
==> microbit-vg: Checking out files:  91% (302/331)
==> microbit-vg: Checking out files:  92% (305/331)
==> microbit-vg: Checking out files:  93% (308/331)
==> microbit-vg: Checking out files:  93% (309/331)
==> microbit-vg: Checking out files:  94% (312/331)
==> microbit-vg: Checking out files:  95% (315/331)
==> microbit-vg: Checking out files:  96% (318/331)
==> microbit-vg: Checking out files:  97% (322/331)
==> microbit-vg: Checking out files:  98% (325/331)
==> microbit-vg: Checking out files:  99% (328/331)
==> microbit-vg: Checking out files: 100% (331/331)
==> microbit-vg: Checking out files: 100% (331/331), done.
==> microbit-vg: #
==> microbit-vg: # Cloning uFlash repository...
==> microbit-vg: #
==> microbit-vg: Cloning into 'uflash'...
==> microbit-vg: #
==> microbit-vg: # Cloning microREPL...
==> microbit-vg: #
==> microbit-vg: Collecting pyserial
==> microbit-vg:   Downloading pyserial-3.2.1-py2.py3-none-any.whl (189kB)
==> microbit-vg: Installing collected packages: pyserial
==> microbit-vg: Successfully installed pyserial-3.2.1
==> microbit-vg: Collecting pyserial
==> microbit-vg:   Using cached pyserial-3.2.1-py2.py3-none-any.whl
==> microbit-vg: Installing collected packages: pyserial
==> microbit-vg: Successfully installed pyserial-3.2.1
==> microbit-vg: You are using pip version 8.1.1, however version 9.0.1 is available.
==> microbit-vg: You should consider upgrading via the 'pip install --upgrade pip' command.
==> microbit-vg: Cloning into 'microrepl'...
==> microbit-vg: #
==> microbit-vg: # Applying patch to MicroPython...
==> microbit-vg: #
==> microbit-vg: ../upy_increase_heap.patch:19: trailing whitespace.
==> microbit-vg:     static uint32_t heap[9372 / 4];
==> microbit-vg: Checking patch source/microbit/mprun.c...
==> microbit-vg: e
==> microbit-vg: rror:
==> microbit-vg: w
==> microbit-vg: hile searching for:
==> microbit-vg:
==> microbit-vg:    mp_stack_set_limit(1800); // stack is 2k
==> microbit-vg:
==> microbit-vg:     // allocate the heap statically in the bss
==> microbit-vg:     static uint32_t heap[9720 / 4];
==> microbit-vg:     gc_init(heap, (uint8_t*)heap + sizeof(heap));
==> microbit-vg:
==> microbit-vg:     /*
==> microbit-vg:
==> microbit-vg: error: patch failed: source/microbit/mprun.c:99
==> microbit-vg: error: source/microbit/mprun.c: patch does not apply
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

@carlosperate
Copy link
Owner

carlosperate commented Jan 4, 2017

As I suspected the patch has unsynced with master.

You can comment out this line: get_source_code.sh#L20
And this one: build_source_code.sh#L24

If you look at the patch itself, it just edits the amount of memory allocated to the heap, so you can do that manually if it doesn't compile correctly: upy_increase_heap.patch

I'll update the patch accordingly once I get I chance, although the real solution would be to figure out the discrepancy: bbcmicrobit/micropython#363

@carlosperate
Copy link
Owner

Although only temporary, fixed in 6358815.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants