Raspberry Pi Node.js BLE Bluetooth

NOOBS 2.0 came out a couple of days ago, Raspbian launched v4.4 in September, but Node.js is still at version 0.10! That’s definitely not going to cut it if you’re trying to connect via Bluetooth to a BLE device using software written in Node running on your Raspberry Pi 3 device.

To get started on our project, we picked up a Raspberry Pi 3 board and – to make sure we have enough space – I went ahead and purchased a 32GB MicroSD card. Of course you can make do with 8GB, and 16GB is more than plenty. But I chose 32GB because I wanted to see what happens when I try to install every option that NOOBS 2.0 gives me. Why not, right?

Getting NOOBS 2.0 installed on the MicroSD card is easy and there are plenty of resources online on how to do it depending on which platform and OS you’re running on your desktop or laptop. As a MAC user, I prefer the one-stop-shop ApplePi-Baker, which comes in handy later on, allowing us to backup the entire 32GB image after everything is installed, while also providing restore capabilities after we screwed up something and need to start all over (if you don’t need the backup and restore features, use SDFormatter instead):

Unzip the NOOBS zip file you downloaded, and then copy the files and folders over to the MicroSD card. Stick the MicroSD card into the Raspberry Pi 3, and power up the board.

NOOBS 2.0 – Installing EVERYTHING Does Not Work

As I mentioned earlier, with 32GB of storage, I wanted to see what happens if I select all the options available when the OS selection screen appears.  If you don’t get all these options, make sure you click on Wifi networks (w) and connect first. Click Install (i).

Unfortunately, right before the installer is about to complete its operations, you will receive this error message:

The message that really matters from what you see on the screen is Too many partitions found. I guess we need to unselect a couple of options (goes without saying that you’d first need to format the MicroSD card again, copy the NOOBS files and folder, insert the card, power up the board), so I went ahead and removed:

  • LibreELEC_RPi2 (I personally prefer OSMC_Pi2 for my media center needs)
  • Raspbian Lite (already installing Raspbian, no need for the minimal version)

This time the installation completes successfully!

Updating and Upgrading Raspbian

Now that we have Raspbian up and running, let’s get everything we need to begin working with Node.js and Bluetooth Low Energy (BLE).

Open the command prompt:

    • Some libraries need to be removed prior to installing the newer version of Node.js. Run the following command in terminal:
pi@raspberrypi:~ $ sudo apt-get -y remove nodejs*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'nodejs-dbg' for regex 'nodejs*'
Note, selecting 'nodejs-dev' for regex 'nodejs*'
Note, selecting 'nodejs-legacy' for regex 'nodejs*'
Note, selecting 'nodejs' for regex 'nodejs*'
Package 'nodejs-dbg' is not installed, so not removed
Package 'nodejs-dev' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libc-ares2 libv8-3.14.5
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  nodejs nodejs-legacy nodered
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 2,912 kB disk space will be freed.
(Reading database ... 120566 files and directories currently installed.)
Removing nodered (0.14.6) ...
Removing nodejs-legacy (0.10.29~dfsg-2) ...
Removing nodejs (0.10.29~dfsg-2) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for gnome-icon-theme (3.12.0-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
    • Core libraries need to be updated and upgraded to the latest version:
pi@raspberrypi:~ $ sudo apt-get update
Get:1 http://archive.raspberrypi.org jessie InRelease [13.2 kB]
Get:2 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]
Get:3 http://archive.raspberrypi.org jessie/main armhf Packages [106 kB]
Get:4 http://mirrordirector.raspbian.org jessie/main armhf Packages [8,981 kB]
Get:5 http://archive.raspberrypi.org jessie/ui armhf Packages [52.7 kB]        
Ign http://archive.raspberrypi.org jessie/main Translation-en_US              
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_US
Ign http://archive.raspberrypi.org jessie/ui Translation-en 
Get:6 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [37.5 kB]
Get:7 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [70.3 kB]
Get:8 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1,356 B]   
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_US        
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en           
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_US           
Ign http://mirrordirector.raspbian.org jessie/main Translation-en              
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_US       
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en          
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_US            
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en               
Fetched 9,278 kB in 19s (467 kB/s)                                             
Reading package lists... Done
pi@raspberrypi:~ $ sudo apt-get -y dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  libc-ares2 libv8-3.14.5
Use 'apt-get autoremove' to remove them.
Done
The following packages will be upgraded:
  bind9-host bluej chromium-browser fonts-opensymbol libarchive13 libavcodec56
  libavformat56 libavresample2 libavutil54 libbind9-90 libc-ares2
  libdns-export100 libdns100 libgd3 libirs-export91 libisc-export95 libisc95
  libisccc90 libisccfg-export90 libisccfg90 liblightdm-gobject-1-0 liblwres90
  libnspr4 libnss3 libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc
  libraspberrypi0 libreoffice libreoffice-avmedia-backend-gstreamer
  libreoffice-base libreoffice-base-core libreoffice-base-drivers
  libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw
  libreoffice-gtk libreoffice-impress libreoffice-java-common libreoffice-math
  libreoffice-report-builder-bin libreoffice-sdbc-hsqldb
  libreoffice-style-galaxy libreoffice-writer libssl1.0.0 libswscale3 lightdm
  lxpanel lxpanel-data nuscratch omxplayer openssl pi-greeter pipanel
  pishutdown pix-icons pix-plym-splash pixel-wallpaper python3-uno
  raspberrypi-bootloader raspberrypi-kernel raspberrypi-net-mods
  raspberrypi-sys-mods raspberrypi-ui-mods raspi-config rc-gui
  realvnc-vnc-server rpi-chromium-mods uno-libs3 ure
71 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 266 MB of archives.
After this operation, 23.5 MB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian/ jessie/main libraspberrypi-bin armhf 1.20161020-1 [328 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libssl1.0.0 armhf 1.0.1t-1+deb8u5 [853 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libnspr4 armhf 2:4.12-1+debu8u1 [95.5 kB]
Get:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main libnss3 armhf 2:3.26-1+debu8u1 [951 kB]
Get:5 http://mirrordirector.raspbian.org/raspbian/ jessie/main libarchive13 armhf 3.1.2-11+deb8u3 [231 kB]
Get:6 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavutil54 armhf 6:11.8-1~deb8u1+rpi1 [161 kB]
Get:7 http://archive.raspberrypi.org/debian/ jessie/main libraspberrypi-dev armhf 1.20161020-1 [396 kB]
Get:8 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavresample2 armhf 6:11.8-1~deb8u1+rpi1 [97.7 kB]
Get:9 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavcodec56 armhf 6:11.8-1~deb8u1+rpi1 [4,493 kB]
Get:10 http://archive.raspberrypi.org/debian/ jessie/main libraspberrypi-doc armhf 1.20161020-1 [31.4 MB]
Get:11 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavformat56 armhf 6:11.8-1~deb8u1+rpi1 [854 kB]
Get:12 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisc-export95 armhf 1:9.9.5.dfsg-9+deb8u7 [124 kB]
Get:13 http://mirrordirector.raspbian.org/raspbian/ jessie/main libdns-export100 armhf 1:9.9.5.dfsg-9+deb8u7 [397 kB]
Get:14 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisccfg-export90 armhf 1:9.9.5.dfsg-9+deb8u7 [37.7 kB]
Get:15 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgd3 armhf 2.1.0-5+deb8u7 [127 kB]
Get:16 http://mirrordirector.raspbian.org/raspbian/ jessie/main libirs-export91 armhf 1:9.9.5.dfsg-9+deb8u7 [36.3 kB]
Get:17 http://mirrordirector.raspbian.org/raspbian/ jessie/main libswscale3 armhf 6:11.8-1~deb8u1+rpi1 [157 kB]
Get:18 http://mirrordirector.raspbian.org/raspbian/ jessie/main libc-ares2 armhf 1.10.0-2+deb8u1 [66.6 kB]
Get:19 http://mirrordirector.raspbian.org/raspbian/ jessie/main bind9-host armhf 1:9.9.5.dfsg-9+deb8u7 [65.4 kB]
Get:20 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisc95 armhf 1:9.9.5.dfsg-9+deb8u7 [149 kB]
Get:21 http://mirrordirector.raspbian.org/raspbian/ jessie/main libdns100 armhf 1:9.9.5.dfsg-9+deb8u7 [601 kB]
Get:22 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisccc90 armhf 1:9.9.5.dfsg-9+deb8u7 [34.1 kB]
Get:23 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisccfg90 armhf 1:9.9.5.dfsg-9+deb8u7 [50.0 kB]
Get:24 http://mirrordirector.raspbian.org/raspbian/ jessie/main libbind9-90 armhf 1:9.9.5.dfsg-9+deb8u7 [41.0 kB]
Get:25 http://mirrordirector.raspbian.org/raspbian/ jessie/main liblwres90 armhf 1:9.9.5.dfsg-9+deb8u7 [47.5 kB]
Get:26 http://mirrordirector.raspbian.org/raspbian/ jessie/main openssl armhf 1.0.1t-1+deb8u5 [652 kB]
Get:27 http://archive.raspberrypi.org/debian/ jessie/main raspberrypi-kernel armhf 1.20161020-1 [30.0 MB]
Get:28 http://archive.raspberrypi.org/debian/ jessie/main libraspberrypi0 armhf 1.20161020-1 [841 kB]
Get:29 http://archive.raspberrypi.org/debian/ jessie/main raspberrypi-bootloader armhf 1.20161020-1 [3,168 kB]
Get:30 http://archive.raspberrypi.org/debian/ jessie/main chromium-browser armhf 51.0.2704.91-0ubuntu0.14.04.1.7012 [47.8 MB]
Get:31 http://archive.raspberrypi.org/debian/ jessie/ui liblightdm-gobject-1-0 armhf 1.10.3-3+rpi [45.5 kB]
Get:32 http://archive.raspberrypi.org/debian/ jessie/ui uno-libs3 armhf 4.3.3-2+rpi4 [675 kB]
Get:33 http://archive.raspberrypi.org/debian/ jessie/ui ure armhf 4.3.3-2+rpi4 [1,665 kB]
Get:34 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-calc armhf 1:4.3.3-2+rpi4 [5,201 kB]
Get:35 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-impress armhf 1:4.3.3-2+rpi4 [910 kB]
Get:36 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-draw armhf 1:4.3.3-2+rpi4 [2,135 kB]
Get:37 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-gtk armhf 1:4.3.3-2+rpi4 [252 kB]
Get:38 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-writer armhf 1:4.3.3-2+rpi4 [6,395 kB]
Get:39 http://archive.raspberrypi.org/debian/ jessie/ui python3-uno armhf 1:4.3.3-2+rpi4 [157 kB]
Get:40 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-base-core armhf 1:4.3.3-2+rpi4 [682 kB]
Get:41 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice armhf 1:4.3.3-2+rpi4 [70.5 kB]
Get:42 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-math armhf 1:4.3.3-2+rpi4 [352 kB]
Get:43 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-common all 1:4.3.3-2+rpi4 [21.7 MB]
Get:44 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-base armhf 1:4.3.3-2+rpi4 [1,391 kB]
Get:45 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-core armhf 1:4.3.3-2+rpi4 [25.2 MB]
Get:46 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-base-drivers armhf 1:4.3.3-2+rpi4 [498 kB]
Get:47 http://archive.raspberrypi.org/debian/ jessie/ui fonts-opensymbol all 2:102.6+LibO4.3.3-2+rpi4 [147 kB]
Get:48 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-report-builder-bin armhf 1:4.3.3-2+rpi4 [734 kB]
Get:49 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-avmedia-backend-gstreamer armhf 1:4.3.3-2+rpi4 [76.9 kB]
Get:50 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-java-common all 1:4.3.3-2+rpi4 [1,944 kB]
Get:51 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-style-galaxy all 1:4.3.3-2+rpi4 [1,711 kB]
Get:52 http://archive.raspberrypi.org/debian/ jessie/ui libreoffice-sdbc-hsqldb armhf 1:4.3.3-2+rpi4 [159 kB]
Get:53 http://archive.raspberrypi.org/debian/ jessie/ui lightdm armhf 1.10.3-3+rpi [139 kB]
Get:54 http://archive.raspberrypi.org/debian/ jessie/ui lxpanel armhf 0.7.2-1+rpi16 [209 kB]
Get:55 http://archive.raspberrypi.org/debian/ jessie/ui lxpanel-data all 0.7.2-1+rpi16 [1,083 kB]
Get:56 http://archive.raspberrypi.org/debian/ jessie/main nuscratch armhf 20161021 [11.9 MB]
Get:57 http://archive.raspberrypi.org/debian/ jessie/main omxplayer armhf 0.3.7~git20160923~dfea8c9 [4,330 kB]
Get:58 http://archive.raspberrypi.org/debian/ jessie/ui pi-greeter armhf 0.3 [41.2 kB]
Get:59 http://archive.raspberrypi.org/debian/ jessie/ui pipanel armhf 20161017~131745 [13.2 kB]
Get:60 http://archive.raspberrypi.org/debian/ jessie/ui pishutdown armhf 0.7 [6,010 B]
Get:61 http://archive.raspberrypi.org/debian/ jessie/ui pix-icons all 0.3 [264 kB]
Get:62 http://archive.raspberrypi.org/debian/ jessie/ui pix-plym-splash all 0.3 [21.7 kB]
Get:63 http://archive.raspberrypi.org/debian/ jessie/ui pixel-wallpaper all 0.2 [27.6 MB]
Get:64 http://archive.raspberrypi.org/debian/ jessie/main raspberrypi-sys-mods all 20161018+3 [7,460 B]
Get:65 http://archive.raspberrypi.org/debian/ jessie/ui raspi-config all 20161013 [16.8 kB]
Get:66 http://archive.raspberrypi.org/debian/ jessie/ui rc-gui armhf 1.2 [36.7 kB]
Get:67 http://archive.raspberrypi.org/debian/ jessie/main realvnc-vnc-server armhf 5.3.2.22607 [5,118 kB]
Get:68 http://archive.raspberrypi.org/debian/ jessie/ui rpi-chromium-mods armhf 20161026 [8,624 kB]
Get:69 http://archive.raspberrypi.org/debian/ jessie/main bluej all 3.1.7a [10.1 MB]
Get:70 http://archive.raspberrypi.org/debian/ jessie/main raspberrypi-net-mods all 1.2.5 [2,526 B]
Get:71 http://archive.raspberrypi.org/debian/ jessie/ui raspberrypi-ui-mods all 1.20161027 [426 kB]
Fetched 266 MB in 2min 28s (1,787 kB/s)                                        
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 113797 files and directories currently installed.)
Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u5_armhf.deb ...
Unpacking libssl1.0.0:armhf (1.0.1t-1+deb8u5) over (1.0.1t-1+deb8u3) ...
Preparing to unpack .../libraspberrypi-bin_1.20161020-1_armhf.deb ...
Unpacking libraspberrypi-bin (1.20161020-1) over (1.20160921-1) ...
Preparing to unpack .../libraspberrypi-dev_1.20161020-1_armhf.deb ...
Unpacking libraspberrypi-dev (1.20161020-1) over (1.20160921-1) ...
Preparing to unpack .../libraspberrypi-doc_1.20161020-1_armhf.deb ...
Unpacking libraspberrypi-doc (1.20161020-1) over (1.20160921-1) ...
Preparing to unpack .../raspberrypi-kernel_1.20161020-1_armhf.deb ...
Adding 'diversion of /boot/bcm2708-rpi-b-plus.dtb to /usr/share/rpikernelhack/bcm2708-rpi-b-plus.dtb by rpikernelhack'
Adding 'diversion of /boot/bcm2708-rpi-b.dtb to /usr/share/rpikernelhack/bcm2708-rpi-b.dtb by rpikernelhack'
Adding 'diversion of /boot/bcm2708-rpi-cm.dtb to /usr/share/rpikernelhack/bcm2708-rpi-cm.dtb by rpikernelhack'
Adding 'diversion of /boot/bcm2709-rpi-2-b.dtb to /usr/share/rpikernelhack/bcm2709-rpi-2-b.dtb by rpikernelhack'
Adding 'diversion of /boot/bcm2710-rpi-3-b.dtb to /usr/share/rpikernelhack/bcm2710-rpi-3-b.dtb by rpikernelhack'
Adding 'diversion of /boot/bcm2710-rpi-cm3.dtb to /usr/share/rpikernelhack/bcm2710-rpi-cm3.dtb by rpikernelhack'
Adding 'diversion of /boot/kernel.img to /usr/share/rpikernelhack/kernel.img by rpikernelhack'
Adding 'diversion of /boot/kernel7.img to /usr/share/rpikernelhack/kernel7.img by rpikernelhack'
Adding 'diversion of /boot/COPYING.linux to /usr/share/rpikernelhack/COPYING.linux by rpikernelhack'
Adding 'diversion of /boot/overlays/README to /usr/share/rpikernelhack/overlays/README by rpikernelhack'
Adding 'diversion of /boot/overlays/adau1977-adc.dtbo to /usr/share/rpikernelhack/overlays/adau1977-adc.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/ads1015.dtbo to /usr/share/rpikernelhack/overlays/ads1015.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/ads7846.dtbo to /usr/share/rpikernelhack/overlays/ads7846.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/akkordion-iqdacplus.dtbo to /usr/share/rpikernelhack/overlays/akkordion-iqdacplus.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/allo-piano-dac-pcm512x-audio.dtbo to /usr/share/rpikernelhack/overlays/allo-piano-dac-pcm512x-audio.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/at86rf233.dtbo to /usr/share/rpikernelhack/overlays/at86rf233.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/audioinjector-wm8731-audio.dtbo to /usr/share/rpikernelhack/overlays/audioinjector-wm8731-audio.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/audremap.dtbo to /usr/share/rpikernelhack/overlays/audremap.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/bmp085_i2c-sensor.dtbo to /usr/share/rpikernelhack/overlays/bmp085_i2c-sensor.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/dht11.dtbo to /usr/share/rpikernelhack/overlays/dht11.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/dionaudio-loco.dtbo to /usr/share/rpikernelhack/overlays/dionaudio-loco.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/dpi18.dtbo to /usr/share/rpikernelhack/overlays/dpi18.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/dpi24.dtbo to /usr/share/rpikernelhack/overlays/dpi24.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/dwc-otg.dtbo to /usr/share/rpikernelhack/overlays/dwc-otg.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/dwc2.dtbo to /usr/share/rpikernelhack/overlays/dwc2.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/enc28j60.dtbo to /usr/share/rpikernelhack/overlays/enc28j60.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/gpio-ir.dtbo to /usr/share/rpikernelhack/overlays/gpio-ir.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/gpio-poweroff.dtbo to /usr/share/rpikernelhack/overlays/gpio-poweroff.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/hifiberry-amp.dtbo to /usr/share/rpikernelhack/overlays/hifiberry-amp.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/hifiberry-dac.dtbo to /usr/share/rpikernelhack/overlays/hifiberry-dac.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/hifiberry-dacplus.dtbo to /usr/share/rpikernelhack/overlays/hifiberry-dacplus.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/hifiberry-digi-pro.dtbo to /usr/share/rpikernelhack/overlays/hifiberry-digi-pro.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/hifiberry-digi.dtbo to /usr/share/rpikernelhack/overlays/hifiberry-digi.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/hy28a.dtbo to /usr/share/rpikernelhack/overlays/hy28a.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/hy28b.dtbo to /usr/share/rpikernelhack/overlays/hy28b.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/i2c-gpio.dtbo to /usr/share/rpikernelhack/overlays/i2c-gpio.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/i2c-mux.dtbo to /usr/share/rpikernelhack/overlays/i2c-mux.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/i2c-pwm-pca9685a.dtbo to /usr/share/rpikernelhack/overlays/i2c-pwm-pca9685a.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/i2c-rtc.dtbo to /usr/share/rpikernelhack/overlays/i2c-rtc.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/i2c0-bcm2708.dtbo to /usr/share/rpikernelhack/overlays/i2c0-bcm2708.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/i2c1-bcm2708.dtbo to /usr/share/rpikernelhack/overlays/i2c1-bcm2708.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/i2s-gpio28-31.dtbo to /usr/share/rpikernelhack/overlays/i2s-gpio28-31.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/i2s-mmap.dtbo to /usr/share/rpikernelhack/overlays/i2s-mmap.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/iqaudio-dac.dtbo to /usr/share/rpikernelhack/overlays/iqaudio-dac.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/iqaudio-dacplus.dtbo to /usr/share/rpikernelhack/overlays/iqaudio-dacplus.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/iqaudio-digi-wm8804-audio.dtbo to /usr/share/rpikernelhack/overlays/iqaudio-digi-wm8804-audio.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/justboom-dac.dtbo to /usr/share/rpikernelhack/overlays/justboom-dac.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/justboom-digi.dtbo to /usr/share/rpikernelhack/overlays/justboom-digi.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/lirc-rpi.dtbo to /usr/share/rpikernelhack/overlays/lirc-rpi.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/mcp23017.dtbo to /usr/share/rpikernelhack/overlays/mcp23017.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/mcp23s17.dtbo to /usr/share/rpikernelhack/overlays/mcp23s17.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/mcp2515-can0.dtbo to /usr/share/rpikernelhack/overlays/mcp2515-can0.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/mcp2515-can1.dtbo to /usr/share/rpikernelhack/overlays/mcp2515-can1.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/mmc.dtbo to /usr/share/rpikernelhack/overlays/mmc.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/mz61581.dtbo to /usr/share/rpikernelhack/overlays/mz61581.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/pi3-act-led.dtbo to /usr/share/rpikernelhack/overlays/pi3-act-led.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/pi3-disable-bt.dtbo to /usr/share/rpikernelhack/overlays/pi3-disable-bt.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/pi3-miniuart-bt.dtbo to /usr/share/rpikernelhack/overlays/pi3-miniuart-bt.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/piscreen.dtbo to /usr/share/rpikernelhack/overlays/piscreen.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/piscreen2r.dtbo to /usr/share/rpikernelhack/overlays/piscreen2r.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/pitft22.dtbo to /usr/share/rpikernelhack/overlays/pitft22.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/pitft28-capacitive.dtbo to /usr/share/rpikernelhack/overlays/pitft28-capacitive.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/pitft28-resistive.dtbo to /usr/share/rpikernelhack/overlays/pitft28-resistive.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/pitft35-resistive.dtbo to /usr/share/rpikernelhack/overlays/pitft35-resistive.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/pps-gpio.dtbo to /usr/share/rpikernelhack/overlays/pps-gpio.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/pwm-2chan.dtbo to /usr/share/rpikernelhack/overlays/pwm-2chan.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/pwm.dtbo to /usr/share/rpikernelhack/overlays/pwm.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/qca7000.dtbo to /usr/share/rpikernelhack/overlays/qca7000.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/raspidac3.dtbo to /usr/share/rpikernelhack/overlays/raspidac3.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/rpi-backlight.dtbo to /usr/share/rpikernelhack/overlays/rpi-backlight.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/rpi-dac.dtbo to /usr/share/rpikernelhack/overlays/rpi-dac.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/rpi-display.dtbo to /usr/share/rpikernelhack/overlays/rpi-display.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/rpi-ft5406.dtbo to /usr/share/rpikernelhack/overlays/rpi-ft5406.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/rpi-proto.dtbo to /usr/share/rpikernelhack/overlays/rpi-proto.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/rpi-sense.dtbo to /usr/share/rpikernelhack/overlays/rpi-sense.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/rra-digidac1-wm8741-audio.dtbo to /usr/share/rpikernelhack/overlays/rra-digidac1-wm8741-audio.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/sc16is750-i2c.dtbo to /usr/share/rpikernelhack/overlays/sc16is750-i2c.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/sc16is752-spi1.dtbo to /usr/share/rpikernelhack/overlays/sc16is752-spi1.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/sdhost.dtbo to /usr/share/rpikernelhack/overlays/sdhost.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/sdio-1bit.dtbo to /usr/share/rpikernelhack/overlays/sdio-1bit.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/sdio.dtbo to /usr/share/rpikernelhack/overlays/sdio.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/sdtweak.dtbo to /usr/share/rpikernelhack/overlays/sdtweak.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/smi-dev.dtbo to /usr/share/rpikernelhack/overlays/smi-dev.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/smi-nand.dtbo to /usr/share/rpikernelhack/overlays/smi-nand.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/smi.dtbo to /usr/share/rpikernelhack/overlays/smi.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/spi-gpio35-39.dtbo to /usr/share/rpikernelhack/overlays/spi-gpio35-39.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/spi-rtc.dtbo to /usr/share/rpikernelhack/overlays/spi-rtc.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/spi0-hw-cs.dtbo to /usr/share/rpikernelhack/overlays/spi0-hw-cs.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/spi1-1cs.dtbo to /usr/share/rpikernelhack/overlays/spi1-1cs.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/spi1-2cs.dtbo to /usr/share/rpikernelhack/overlays/spi1-2cs.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/spi1-3cs.dtbo to /usr/share/rpikernelhack/overlays/spi1-3cs.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/spi2-1cs.dtbo to /usr/share/rpikernelhack/overlays/spi2-1cs.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/spi2-2cs.dtbo to /usr/share/rpikernelhack/overlays/spi2-2cs.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/spi2-3cs.dtbo to /usr/share/rpikernelhack/overlays/spi2-3cs.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/tinylcd35.dtbo to /usr/share/rpikernelhack/overlays/tinylcd35.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/uart1.dtbo to /usr/share/rpikernelhack/overlays/uart1.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/vc4-fkms-v3d.dtbo to /usr/share/rpikernelhack/overlays/vc4-fkms-v3d.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/vc4-kms-v3d.dtbo to /usr/share/rpikernelhack/overlays/vc4-kms-v3d.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/vga666.dtbo to /usr/share/rpikernelhack/overlays/vga666.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/w1-gpio-pullup.dtbo to /usr/share/rpikernelhack/overlays/w1-gpio-pullup.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/w1-gpio.dtbo to /usr/share/rpikernelhack/overlays/w1-gpio.dtbo by rpikernelhack'
Adding 'diversion of /boot/overlays/wittypi.dtbo to /usr/share/rpikernelhack/overlays/wittypi.dtbo by rpikernelhack'
Unpacking raspberrypi-kernel (1.20161020-1) over (1.20160921-1) ...
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.21+ /boot/kernel.img
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.21-v7+ /boot/kernel7.img
Preparing to unpack .../libraspberrypi0_1.20161020-1_armhf.deb ...
Unpacking libraspberrypi0 (1.20161020-1) over (1.20160921-1) ...
Preparing to unpack .../raspberrypi-bootloader_1.20161020-1_armhf.deb ...
Adding 'diversion of /boot/start.elf to /usr/share/rpikernelhack/start.elf by rpikernelhack'
Adding 'diversion of /boot/start_cd.elf to /usr/share/rpikernelhack/start_cd.elf by rpikernelhack'
Adding 'diversion of /boot/start_db.elf to /usr/share/rpikernelhack/start_db.elf by rpikernelhack'
Adding 'diversion of /boot/start_x.elf to /usr/share/rpikernelhack/start_x.elf by rpikernelhack'
Adding 'diversion of /boot/fixup.dat to /usr/share/rpikernelhack/fixup.dat by rpikernelhack'
Adding 'diversion of /boot/fixup_cd.dat to /usr/share/rpikernelhack/fixup_cd.dat by rpikernelhack'
Adding 'diversion of /boot/fixup_db.dat to /usr/share/rpikernelhack/fixup_db.dat by rpikernelhack'
Adding 'diversion of /boot/fixup_x.dat to /usr/share/rpikernelhack/fixup_x.dat by rpikernelhack'
Adding 'diversion of /boot/bootcode.bin to /usr/share/rpikernelhack/bootcode.bin by rpikernelhack'
Adding 'diversion of /boot/LICENCE.broadcom to /usr/share/rpikernelhack/LICENCE.broadcom by rpikernelhack'
Unpacking raspberrypi-bootloader (1.20161020-1) over (1.20160921-1) ...
Preparing to unpack .../libnspr4_2%3a4.12-1+debu8u1_armhf.deb ...
Unpacking libnspr4:armhf (2:4.12-1+debu8u1) over (2:4.10.7-1+deb8u1) ...
Preparing to unpack .../libnss3_2%3a3.26-1+debu8u1_armhf.deb ...
Unpacking libnss3:armhf (2:3.26-1+debu8u1) over (2:3.17.2-1.1+deb8u2) ...
Preparing to unpack .../chromium-browser_51.0.2704.91-0ubuntu0.14.04.1.7012_armhf.deb ...
Unpacking chromium-browser (51.0.2704.91-0ubuntu0.14.04.1.7012) over (51.0.2704.91-0ubuntu0.14.04.1.7000) ...
Preparing to unpack .../libarchive13_3.1.2-11+deb8u3_armhf.deb ...
Unpacking libarchive13:armhf (3.1.2-11+deb8u3) over (3.1.2-11+deb8u2) ...
Preparing to unpack .../libavutil54_6%3a11.8-1~deb8u1+rpi1_armhf.deb ...
Unpacking libavutil54:armhf (6:11.8-1~deb8u1+rpi1) over (6:11.7-1~deb8u1+rpi1) ...
Preparing to unpack .../libavresample2_6%3a11.8-1~deb8u1+rpi1_armhf.deb ...
Unpacking libavresample2:armhf (6:11.8-1~deb8u1+rpi1) over (6:11.7-1~deb8u1+rpi1) ...
Preparing to unpack .../libavcodec56_6%3a11.8-1~deb8u1+rpi1_armhf.deb ...
Unpacking libavcodec56:armhf (6:11.8-1~deb8u1+rpi1) over (6:11.7-1~deb8u1+rpi1) ...
Preparing to unpack .../libavformat56_6%3a11.8-1~deb8u1+rpi1_armhf.deb ...
Unpacking libavformat56:armhf (6:11.8-1~deb8u1+rpi1) over (6:11.7-1~deb8u1+rpi1) ...
Preparing to unpack .../libisc-export95_1%3a9.9.5.dfsg-9+deb8u7_armhf.deb ...
Unpacking libisc-export95 (1:9.9.5.dfsg-9+deb8u7) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../libdns-export100_1%3a9.9.5.dfsg-9+deb8u7_armhf.deb ...
Unpacking libdns-export100 (1:9.9.5.dfsg-9+deb8u7) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../libgd3_2.1.0-5+deb8u7_armhf.deb ...
Unpacking libgd3:armhf (2.1.0-5+deb8u7) over (2.1.0-5+deb8u6) ...
Preparing to unpack .../libisccfg-export90_1%3a9.9.5.dfsg-9+deb8u7_armhf.deb ...
Unpacking libisccfg-export90 (1:9.9.5.dfsg-9+deb8u7) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../libirs-export91_1%3a9.9.5.dfsg-9+deb8u7_armhf.deb ...
Unpacking libirs-export91 (1:9.9.5.dfsg-9+deb8u7) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../liblightdm-gobject-1-0_1.10.3-3+rpi_armhf.deb ...
Unpacking liblightdm-gobject-1-0 (1.10.3-3+rpi) over (1.10.3-3) ...
Preparing to unpack .../uno-libs3_4.3.3-2+rpi4_armhf.deb ...
Unpacking uno-libs3 (4.3.3-2+rpi4) over (4.3.3-2+rpi3) ...
Preparing to unpack .../ure_4.3.3-2+rpi4_armhf.deb ...
Unpacking ure (4.3.3-2+rpi4) over (4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-calc_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking libreoffice-calc (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-impress_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking libreoffice-impress (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-draw_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking libreoffice-draw (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-gtk_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking libreoffice-gtk (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-writer_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking libreoffice-writer (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../python3-uno_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking python3-uno (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-base-core_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking libreoffice-base-core (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking libreoffice (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-math_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking libreoffice-math (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-common_1%3a4.3.3-2+rpi4_all.deb ...
Unpacking libreoffice-common (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-base_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking libreoffice-base (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-core_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking libreoffice-core (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-base-drivers_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking libreoffice-base-drivers (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../fonts-opensymbol_2%3a102.6+LibO4.3.3-2+rpi4_all.deb ...
Unpacking fonts-opensymbol (2:102.6+LibO4.3.3-2+rpi4) over (2:102.6+LibO4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-report-builder-bin_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking libreoffice-report-builder-bin (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-avmedia-backend-gstreamer_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking libreoffice-avmedia-backend-gstreamer (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-java-common_1%3a4.3.3-2+rpi4_all.deb ...
Unpacking libreoffice-java-common (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libreoffice-style-galaxy_1%3a4.3.3-2+rpi4_all.deb ...
Unpacking libreoffice-style-galaxy (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../libswscale3_6%3a11.8-1~deb8u1+rpi1_armhf.deb ...
Unpacking libswscale3:armhf (6:11.8-1~deb8u1+rpi1) over (6:11.7-1~deb8u1+rpi1) ...
Preparing to unpack .../libc-ares2_1.10.0-2+deb8u1_armhf.deb ...
Unpacking libc-ares2:armhf (1.10.0-2+deb8u1) over (1.10.0-2) ...
Preparing to unpack .../bind9-host_1%3a9.9.5.dfsg-9+deb8u7_armhf.deb ...
Unpacking bind9-host (1:9.9.5.dfsg-9+deb8u7) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../libisc95_1%3a9.9.5.dfsg-9+deb8u7_armhf.deb ...
Unpacking libisc95 (1:9.9.5.dfsg-9+deb8u7) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../libdns100_1%3a9.9.5.dfsg-9+deb8u7_armhf.deb ...
Unpacking libdns100 (1:9.9.5.dfsg-9+deb8u7) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../libisccc90_1%3a9.9.5.dfsg-9+deb8u7_armhf.deb ...
Unpacking libisccc90 (1:9.9.5.dfsg-9+deb8u7) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../libisccfg90_1%3a9.9.5.dfsg-9+deb8u7_armhf.deb ...
Unpacking libisccfg90 (1:9.9.5.dfsg-9+deb8u7) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../libbind9-90_1%3a9.9.5.dfsg-9+deb8u7_armhf.deb ...
Unpacking libbind9-90 (1:9.9.5.dfsg-9+deb8u7) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../liblwres90_1%3a9.9.5.dfsg-9+deb8u7_armhf.deb ...
Unpacking liblwres90 (1:9.9.5.dfsg-9+deb8u7) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../libreoffice-sdbc-hsqldb_1%3a4.3.3-2+rpi4_armhf.deb ...
Unpacking libreoffice-sdbc-hsqldb (1:4.3.3-2+rpi4) over (1:4.3.3-2+rpi3) ...
Preparing to unpack .../lightdm_1.10.3-3+rpi_armhf.deb ...
Unpacking lightdm (1.10.3-3+rpi) over (1.10.3-3) ...
Preparing to unpack .../lxpanel_0.7.2-1+rpi16_armhf.deb ...
Unpacking lxpanel (0.7.2-1+rpi16) over (0.7.2-1+rpi12) ...
Preparing to unpack .../lxpanel-data_0.7.2-1+rpi16_all.deb ...
Unpacking lxpanel-data (0.7.2-1+rpi16) over (0.7.2-1+rpi12) ...
Preparing to unpack .../nuscratch_20161021_armhf.deb ...
Leaving 'diversion of /usr/bin/scratch to /usr/bin/scratch.old by nuscratch'
Leaving 'diversion of /usr/bin/squeak to /usr/bin/squeak.old by nuscratch'
Leaving 'diversion of /usr/share/scratch/locale/ja_HIRA.po to /usr/share/scratch/locale/ja_HIRA.po.old by nuscratch'
Leaving 'diversion of /usr/share/scratch/locale/ja.po to /usr/share/scratch/locale/ja.po.old by nuscratch'
Unpacking nuscratch (20161021) over (20160915) ...
Preparing to unpack .../omxplayer_0.3.7~git20160923~dfea8c9_armhf.deb ...
Unpacking omxplayer (0.3.7~git20160923~dfea8c9) over (0.3.7~git20160506~6c90c75) ...
Preparing to unpack .../openssl_1.0.1t-1+deb8u5_armhf.deb ...
Unpacking openssl (1.0.1t-1+deb8u5) over (1.0.1t-1+deb8u3) ...
Preparing to unpack .../pi-greeter_0.3_armhf.deb ...
Unpacking pi-greeter (0.3) over (0.1-2) ...
Preparing to unpack .../pipanel_20161017~131745_armhf.deb ...
Unpacking pipanel (20161017~131745) over (20160719~175800) ...
Preparing to unpack .../pishutdown_0.7_armhf.deb ...
Leaving 'diversion of /usr/bin/lxde-pi-shutdown-helper to /usr/bin/lxde-pi-shutdown-helper.old by pishutdown'
Unpacking pishutdown (0.7) over (0.4) ...
Preparing to unpack .../archives/pix-icons_0.3_all.deb ...
Unpacking pix-icons (0.3) over (0.1-1) ...
Preparing to unpack .../pix-plym-splash_0.3_all.deb ...
Unpacking pix-plym-splash (0.3) over (0.1-1) ...
Preparing to unpack .../pixel-wallpaper_0.2_all.deb ...
Unpacking pixel-wallpaper (0.2) over (0.1-1) ...
Preparing to unpack .../raspberrypi-sys-mods_20161018+3_all.deb ...
Unpacking raspberrypi-sys-mods (20161018+3) over (20160916) ...
Preparing to unpack .../raspi-config_20161013_all.deb ...
Unpacking raspi-config (20161013) over (20160810) ...
Preparing to unpack .../archives/rc-gui_1.2_armhf.deb ...
Unpacking rc-gui (1.2) over (1.1-1) ...
Preparing to unpack .../realvnc-vnc-server_5.3.2.22607_armhf.deb ...

(gconftool-2:14250): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Unpacking realvnc-vnc-server (5.3.2.22607) over (5.3.2.22164) ...
Preparing to unpack .../rpi-chromium-mods_20161026_armhf.deb ...
Unpacking rpi-chromium-mods (20161026) over (0.1-1) ...
Preparing to unpack .../archives/bluej_3.1.7a_all.deb ...
Unpacking bluej (3.1.7a) over (3.1.7) ...
Preparing to unpack .../raspberrypi-net-mods_1.2.5_all.deb ...
Unpacking raspberrypi-net-mods (1.2.5) over (1.2.3) ...
Preparing to unpack .../raspberrypi-ui-mods_1.20161027_all.deb ...
Unpacking raspberrypi-ui-mods (1.20161027) over (1.20160718) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for gnome-icon-theme (3.12.0-1) ...
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for fontconfig (2.11.0-6.3+deb8u1) ...
Processing triggers for dbus (1.8.20-0+deb8u1) ...
Processing triggers for systemd (215-17+deb8u5) ...
Processing triggers for gconf2 (3.2.6-3) ...
Setting up libssl1.0.0:armhf (1.0.1t-1+deb8u5) ...
Setting up raspberrypi-bootloader (1.20161020-1) ...
Removing 'diversion of /boot/start.elf to /usr/share/rpikernelhack/start.elf by rpikernelhack'
Removing 'diversion of /boot/start_cd.elf to /usr/share/rpikernelhack/start_cd.elf by rpikernelhack'
Removing 'diversion of /boot/start_db.elf to /usr/share/rpikernelhack/start_db.elf by rpikernelhack'
Removing 'diversion of /boot/start_x.elf to /usr/share/rpikernelhack/start_x.elf by rpikernelhack'
Removing 'diversion of /boot/fixup.dat to /usr/share/rpikernelhack/fixup.dat by rpikernelhack'
Removing 'diversion of /boot/fixup_cd.dat to /usr/share/rpikernelhack/fixup_cd.dat by rpikernelhack'
Removing 'diversion of /boot/fixup_db.dat to /usr/share/rpikernelhack/fixup_db.dat by rpikernelhack'
Removing 'diversion of /boot/fixup_x.dat to /usr/share/rpikernelhack/fixup_x.dat by rpikernelhack'
Removing 'diversion of /boot/bootcode.bin to /usr/share/rpikernelhack/bootcode.bin by rpikernelhack'
Removing 'diversion of /boot/LICENCE.broadcom to /usr/share/rpikernelhack/LICENCE.broadcom by rpikernelhack'
Setting up libraspberrypi0 (1.20161020-1) ...
Setting up libraspberrypi-bin (1.20161020-1) ...
Setting up libraspberrypi-dev (1.20161020-1) ...
Setting up libraspberrypi-doc (1.20161020-1) ...
Setting up raspberrypi-kernel (1.20161020-1) ...
Removing 'diversion of /boot/bcm2708-rpi-b-plus.dtb to /usr/share/rpikernelhack/bcm2708-rpi-b-plus.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2708-rpi-b.dtb to /usr/share/rpikernelhack/bcm2708-rpi-b.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2708-rpi-cm.dtb to /usr/share/rpikernelhack/bcm2708-rpi-cm.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2709-rpi-2-b.dtb to /usr/share/rpikernelhack/bcm2709-rpi-2-b.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2710-rpi-3-b.dtb to /usr/share/rpikernelhack/bcm2710-rpi-3-b.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2710-rpi-cm3.dtb to /usr/share/rpikernelhack/bcm2710-rpi-cm3.dtb by rpikernelhack'
Removing 'diversion of /boot/kernel.img to /usr/share/rpikernelhack/kernel.img by rpikernelhack'
Removing 'diversion of /boot/kernel7.img to /usr/share/rpikernelhack/kernel7.img by rpikernelhack'
Removing 'diversion of /boot/COPYING.linux to /usr/share/rpikernelhack/COPYING.linux by rpikernelhack'
Removing 'diversion of /boot/overlays/README to /usr/share/rpikernelhack/overlays/README by rpikernelhack'
Removing 'diversion of /boot/overlays/adau1977-adc.dtbo to /usr/share/rpikernelhack/overlays/adau1977-adc.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/ads1015.dtbo to /usr/share/rpikernelhack/overlays/ads1015.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/ads7846.dtbo to /usr/share/rpikernelhack/overlays/ads7846.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/akkordion-iqdacplus.dtbo to /usr/share/rpikernelhack/overlays/akkordion-iqdacplus.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/allo-piano-dac-pcm512x-audio.dtbo to /usr/share/rpikernelhack/overlays/allo-piano-dac-pcm512x-audio.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/at86rf233.dtbo to /usr/share/rpikernelhack/overlays/at86rf233.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/audioinjector-wm8731-audio.dtbo to /usr/share/rpikernelhack/overlays/audioinjector-wm8731-audio.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/audremap.dtbo to /usr/share/rpikernelhack/overlays/audremap.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/bmp085_i2c-sensor.dtbo to /usr/share/rpikernelhack/overlays/bmp085_i2c-sensor.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/dht11.dtbo to /usr/share/rpikernelhack/overlays/dht11.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/dionaudio-loco.dtbo to /usr/share/rpikernelhack/overlays/dionaudio-loco.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/dpi18.dtbo to /usr/share/rpikernelhack/overlays/dpi18.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/dpi24.dtbo to /usr/share/rpikernelhack/overlays/dpi24.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/dwc-otg.dtbo to /usr/share/rpikernelhack/overlays/dwc-otg.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/dwc2.dtbo to /usr/share/rpikernelhack/overlays/dwc2.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/enc28j60.dtbo to /usr/share/rpikernelhack/overlays/enc28j60.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/gpio-ir.dtbo to /usr/share/rpikernelhack/overlays/gpio-ir.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/gpio-poweroff.dtbo to /usr/share/rpikernelhack/overlays/gpio-poweroff.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/hifiberry-amp.dtbo to /usr/share/rpikernelhack/overlays/hifiberry-amp.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/hifiberry-dac.dtbo to /usr/share/rpikernelhack/overlays/hifiberry-dac.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/hifiberry-dacplus.dtbo to /usr/share/rpikernelhack/overlays/hifiberry-dacplus.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/hifiberry-digi-pro.dtbo to /usr/share/rpikernelhack/overlays/hifiberry-digi-pro.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/hifiberry-digi.dtbo to /usr/share/rpikernelhack/overlays/hifiberry-digi.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/hy28a.dtbo to /usr/share/rpikernelhack/overlays/hy28a.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/hy28b.dtbo to /usr/share/rpikernelhack/overlays/hy28b.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/i2c-gpio.dtbo to /usr/share/rpikernelhack/overlays/i2c-gpio.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/i2c-mux.dtbo to /usr/share/rpikernelhack/overlays/i2c-mux.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/i2c-pwm-pca9685a.dtbo to /usr/share/rpikernelhack/overlays/i2c-pwm-pca9685a.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/i2c-rtc.dtbo to /usr/share/rpikernelhack/overlays/i2c-rtc.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/i2c0-bcm2708.dtbo to /usr/share/rpikernelhack/overlays/i2c0-bcm2708.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/i2c1-bcm2708.dtbo to /usr/share/rpikernelhack/overlays/i2c1-bcm2708.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/i2s-gpio28-31.dtbo to /usr/share/rpikernelhack/overlays/i2s-gpio28-31.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/i2s-mmap.dtbo to /usr/share/rpikernelhack/overlays/i2s-mmap.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/iqaudio-dac.dtbo to /usr/share/rpikernelhack/overlays/iqaudio-dac.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/iqaudio-dacplus.dtbo to /usr/share/rpikernelhack/overlays/iqaudio-dacplus.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/iqaudio-digi-wm8804-audio.dtbo to /usr/share/rpikernelhack/overlays/iqaudio-digi-wm8804-audio.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/justboom-dac.dtbo to /usr/share/rpikernelhack/overlays/justboom-dac.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/justboom-digi.dtbo to /usr/share/rpikernelhack/overlays/justboom-digi.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/lirc-rpi.dtbo to /usr/share/rpikernelhack/overlays/lirc-rpi.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/mcp23017.dtbo to /usr/share/rpikernelhack/overlays/mcp23017.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/mcp23s17.dtbo to /usr/share/rpikernelhack/overlays/mcp23s17.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/mcp2515-can0.dtbo to /usr/share/rpikernelhack/overlays/mcp2515-can0.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/mcp2515-can1.dtbo to /usr/share/rpikernelhack/overlays/mcp2515-can1.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/mmc.dtbo to /usr/share/rpikernelhack/overlays/mmc.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/mz61581.dtbo to /usr/share/rpikernelhack/overlays/mz61581.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/pi3-act-led.dtbo to /usr/share/rpikernelhack/overlays/pi3-act-led.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/pi3-disable-bt.dtbo to /usr/share/rpikernelhack/overlays/pi3-disable-bt.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/pi3-miniuart-bt.dtbo to /usr/share/rpikernelhack/overlays/pi3-miniuart-bt.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/piscreen.dtbo to /usr/share/rpikernelhack/overlays/piscreen.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/piscreen2r.dtbo to /usr/share/rpikernelhack/overlays/piscreen2r.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/pitft22.dtbo to /usr/share/rpikernelhack/overlays/pitft22.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/pitft28-capacitive.dtbo to /usr/share/rpikernelhack/overlays/pitft28-capacitive.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/pitft28-resistive.dtbo to /usr/share/rpikernelhack/overlays/pitft28-resistive.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/pitft35-resistive.dtbo to /usr/share/rpikernelhack/overlays/pitft35-resistive.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/pps-gpio.dtbo to /usr/share/rpikernelhack/overlays/pps-gpio.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/pwm-2chan.dtbo to /usr/share/rpikernelhack/overlays/pwm-2chan.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/pwm.dtbo to /usr/share/rpikernelhack/overlays/pwm.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/qca7000.dtbo to /usr/share/rpikernelhack/overlays/qca7000.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/raspidac3.dtbo to /usr/share/rpikernelhack/overlays/raspidac3.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/rpi-backlight.dtbo to /usr/share/rpikernelhack/overlays/rpi-backlight.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/rpi-dac.dtbo to /usr/share/rpikernelhack/overlays/rpi-dac.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/rpi-display.dtbo to /usr/share/rpikernelhack/overlays/rpi-display.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/rpi-ft5406.dtbo to /usr/share/rpikernelhack/overlays/rpi-ft5406.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/rpi-proto.dtbo to /usr/share/rpikernelhack/overlays/rpi-proto.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/rpi-sense.dtbo to /usr/share/rpikernelhack/overlays/rpi-sense.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/rra-digidac1-wm8741-audio.dtbo to /usr/share/rpikernelhack/overlays/rra-digidac1-wm8741-audio.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/sc16is750-i2c.dtbo to /usr/share/rpikernelhack/overlays/sc16is750-i2c.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/sc16is752-spi1.dtbo to /usr/share/rpikernelhack/overlays/sc16is752-spi1.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/sdhost.dtbo to /usr/share/rpikernelhack/overlays/sdhost.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/sdio-1bit.dtbo to /usr/share/rpikernelhack/overlays/sdio-1bit.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/sdio.dtbo to /usr/share/rpikernelhack/overlays/sdio.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/sdtweak.dtbo to /usr/share/rpikernelhack/overlays/sdtweak.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/smi-dev.dtbo to /usr/share/rpikernelhack/overlays/smi-dev.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/smi-nand.dtbo to /usr/share/rpikernelhack/overlays/smi-nand.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/smi.dtbo to /usr/share/rpikernelhack/overlays/smi.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/spi-gpio35-39.dtbo to /usr/share/rpikernelhack/overlays/spi-gpio35-39.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/spi-rtc.dtbo to /usr/share/rpikernelhack/overlays/spi-rtc.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/spi0-hw-cs.dtbo to /usr/share/rpikernelhack/overlays/spi0-hw-cs.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/spi1-1cs.dtbo to /usr/share/rpikernelhack/overlays/spi1-1cs.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/spi1-2cs.dtbo to /usr/share/rpikernelhack/overlays/spi1-2cs.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/spi1-3cs.dtbo to /usr/share/rpikernelhack/overlays/spi1-3cs.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/spi2-1cs.dtbo to /usr/share/rpikernelhack/overlays/spi2-1cs.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/spi2-2cs.dtbo to /usr/share/rpikernelhack/overlays/spi2-2cs.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/spi2-3cs.dtbo to /usr/share/rpikernelhack/overlays/spi2-3cs.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/tinylcd35.dtbo to /usr/share/rpikernelhack/overlays/tinylcd35.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/uart1.dtbo to /usr/share/rpikernelhack/overlays/uart1.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/vc4-fkms-v3d.dtbo to /usr/share/rpikernelhack/overlays/vc4-fkms-v3d.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/vc4-kms-v3d.dtbo to /usr/share/rpikernelhack/overlays/vc4-kms-v3d.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/vga666.dtbo to /usr/share/rpikernelhack/overlays/vga666.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/w1-gpio-pullup.dtbo to /usr/share/rpikernelhack/overlays/w1-gpio-pullup.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/w1-gpio.dtbo to /usr/share/rpikernelhack/overlays/w1-gpio.dtbo by rpikernelhack'
Removing 'diversion of /boot/overlays/wittypi.dtbo to /usr/share/rpikernelhack/overlays/wittypi.dtbo by rpikernelhack'
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.26+ /boot/kernel.img
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.26+ /boot/kernel.img
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.26-v7+ /boot/kernel7.img
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.26-v7+ /boot/kernel7.img
Setting up libnspr4:armhf (2:4.12-1+debu8u1) ...
Setting up libnss3:armhf (2:3.26-1+debu8u1) ...
Setting up chromium-browser (51.0.2704.91-0ubuntu0.14.04.1.7012) ...
Setting up libarchive13:armhf (3.1.2-11+deb8u3) ...
Setting up libavutil54:armhf (6:11.8-1~deb8u1+rpi1) ...
Setting up libavresample2:armhf (6:11.8-1~deb8u1+rpi1) ...
Setting up libavcodec56:armhf (6:11.8-1~deb8u1+rpi1) ...
Setting up libavformat56:armhf (6:11.8-1~deb8u1+rpi1) ...
Setting up libisc-export95 (1:9.9.5.dfsg-9+deb8u7) ...
Setting up libdns-export100 (1:9.9.5.dfsg-9+deb8u7) ...
Setting up libgd3:armhf (2.1.0-5+deb8u7) ...
Setting up libisccfg-export90 (1:9.9.5.dfsg-9+deb8u7) ...
Setting up libirs-export91 (1:9.9.5.dfsg-9+deb8u7) ...
Setting up liblightdm-gobject-1-0 (1.10.3-3+rpi) ...
Setting up uno-libs3 (4.3.3-2+rpi4) ...
Setting up ure (4.3.3-2+rpi4) ...
Setting up fonts-opensymbol (2:102.6+LibO4.3.3-2+rpi4) ...
Setting up libreoffice-style-galaxy (1:4.3.3-2+rpi4) ...
Setting up libreoffice-common (1:4.3.3-2+rpi4) ...
Installing new version of config file /etc/bash_completion.d/libreoffice.sh ...
Setting up libreoffice-core (1:4.3.3-2+rpi4) ...
Setting up libreoffice-base-core (1:4.3.3-2+rpi4) ...
Setting up libreoffice-calc (1:4.3.3-2+rpi4) ...
Setting up libreoffice-draw (1:4.3.3-2+rpi4) ...
Setting up libreoffice-impress (1:4.3.3-2+rpi4) ...
Setting up libreoffice-gtk (1:4.3.3-2+rpi4) ...
Setting up libreoffice-writer (1:4.3.3-2+rpi4) ...
Setting up python3-uno (1:4.3.3-2+rpi4) ...
Setting up libreoffice-base-drivers (1:4.3.3-2+rpi4) ...
Setting up libreoffice-base (1:4.3.3-2+rpi4) ...
Setting up libreoffice-math (1:4.3.3-2+rpi4) ...
Setting up libreoffice-report-builder-bin (1:4.3.3-2+rpi4) ...
Setting up libreoffice-avmedia-backend-gstreamer (1:4.3.3-2+rpi4) ...
Setting up libreoffice-java-common (1:4.3.3-2+rpi4) ...
Setting up libreoffice (1:4.3.3-2+rpi4) ...
Setting up libswscale3:armhf (6:11.8-1~deb8u1+rpi1) ...
Setting up libc-ares2:armhf (1.10.0-2+deb8u1) ...
Setting up libisc95 (1:9.9.5.dfsg-9+deb8u7) ...
Setting up libdns100 (1:9.9.5.dfsg-9+deb8u7) ...
Setting up libisccc90 (1:9.9.5.dfsg-9+deb8u7) ...
Setting up libisccfg90 (1:9.9.5.dfsg-9+deb8u7) ...
Setting up libbind9-90 (1:9.9.5.dfsg-9+deb8u7) ...
Setting up liblwres90 (1:9.9.5.dfsg-9+deb8u7) ...
Setting up bind9-host (1:9.9.5.dfsg-9+deb8u7) ...
Setting up libreoffice-sdbc-hsqldb (1:4.3.3-2+rpi4) ...
Setting up lightdm (1.10.3-3+rpi) ...

Configuration file '/etc/lightdm/lightdm.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** lightdm.conf (Y/I/N/O/D/Z) [default=N] ? n
Setting up lxpanel-data (0.7.2-1+rpi16) ...
Setting up lxpanel (0.7.2-1+rpi16) ...
Setting up nuscratch (20161021) ...
This update requires a reboot.
Setting up omxplayer (0.3.7~git20160923~dfea8c9) ...
Setting up openssl (1.0.1t-1+deb8u5) ...
Setting up pi-greeter (0.3) ...
Installing new version of config file /etc/lightdm/pi-greeter.conf ...
update-alternatives: using /usr/share/xgreeters/pi-greeter.desktop to provide /usr/share/xgreeters/lightdm-greeter.desktop (lightdm-greeter) in auto mode
Setting up pipanel (20161017~131745) ...
Setting up pishutdown (0.7) ...
Setting up pix-icons (0.3) ...
gtk-update-icon-cache: Cache file created successfully.
Setting up pix-plym-splash (0.3) ...
update-initramfs: deferring update (trigger activated)
Setting up pixel-wallpaper (0.2) ...
Setting up raspberrypi-sys-mods (20161018+3) ...
Removing old NOPASSWD line, if present...
Setting up raspi-config (20161013) ...
Setting up rc-gui (1.2) ...
Setting up realvnc-vnc-server (5.3.2.22607) ...
Updating /etc/pam.d/vncserver
Updating /etc/pam.conf... done
Looking for font path... not found.
Generating private key... done

Installing Raspberry Pi license (VNC Personal)
Please note that this is only valid for non-commercial use on Raspberry Pi devices.
See https://www.realvnc.com/raspberrypi for further information.
License key  has been successfully applied.

Installed systemd unit for VNC Server in Service Mode daemon
Start or stop the service with:
  systemctl (start|stop) vncserver-x11-serviced.service
Mark or unmark the service to be started at boot time with:
  systemctl (enable|disable) vncserver-x11-serviced.service

Installed systemd unit for VNC Server in Virtual Mode daemon
Start or stop the service with:
  systemctl (start|stop) vncserver-virtuald.service
Mark or unmark the service to be started at boot time with:
  systemctl (enable|disable) vncserver-virtuald.service


(gconftool-2:17324): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
gconfd-2: no process found
Setting up rpi-chromium-mods (20161026) ...
Setting up bluej (3.1.7a) ...
Setting up raspberrypi-net-mods (1.2.5) ...
Setting up raspberrypi-ui-mods (1.20161027) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
Processing triggers for initramfs-tools (0.120+deb8u2) ...
    • Next, we need to install the latest version of Node.js:
pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -

## Installing the NodeSource Node.js v7.x repo...


## Populating apt-get cache...

+ apt-get update
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en_US
Ign http://archive.raspberrypi.org jessie/main Translation-en 
Ign http://archive.raspberrypi.org jessie/ui Translation-en_US
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists... Done

## Installing packages required for setup: apt-transport-https...

+ apt-get install -y apt-transport-https > /dev/null 2>&1

## Confirming "jessie" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_7.x/dists/jessie/Release'

## Adding the NodeSource signing key to your keyring...

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK

## Creating apt sources list file for the NodeSource Node.js v7.x repo...

+ echo 'deb https://deb.nodesource.com/node_7.x jessie main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_7.x jessie main' >> /etc/apt/sources.list.d/nodesource.list

## Running `apt-get update` for you...

+ apt-get update
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie InRelease
Get:1 https://deb.nodesource.com jessie InRelease [3,914 B]
Hit http://archive.raspberrypi.org jessie/main armhf Packages                         
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages          
Hit http://archive.raspberrypi.org jessie/ui armhf Packages    
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Get:2 https://deb.nodesource.com jessie/main Sources [762 B]   
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages                   
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages   
Get:3 https://deb.nodesource.com jessie/main armhf Packages [973 B]
Get:4 https://deb.nodesource.com jessie/main Translation-en_US [162 B]                           
Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]                                       
Get:6 https://deb.nodesource.com jessie/main Translation-en_US [162 B]                                    
Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B]                                       
Get:8 https://deb.nodesource.com jessie/main Translation-en_US [162 B]                                    
Get:9 https://deb.nodesource.com jessie/main Translation-en [162 B]                                       
Get:10 https://deb.nodesource.com jessie/main Translation-en_US [162 B]                                   
Get:11 https://deb.nodesource.com jessie/main Translation-en [162 B]                                       
Get:12 https://deb.nodesource.com jessie/main Translation-en_US [162 B]                                    
Ign https://deb.nodesource.com jessie/main Translation-en_US                                               
Get:13 https://deb.nodesource.com jessie/main Translation-en [162 B]                                       
Ign https://deb.nodesource.com jessie/main Translation-en                                               
Ign http://archive.raspberrypi.org jessie/main Translation-en_US                                        
Ign http://archive.raspberrypi.org jessie/main Translation-en      
Ign http://archive.raspberrypi.org jessie/ui Translation-en_US     
Ign http://archive.raspberrypi.org jessie/ui Translation-en        
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_US                                                                                                    
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en                                                                                                       
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_US                                                                                                         
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en                                                                                                            
Fetched 5,649 B in 6s (812 B/s)                                                                                                                                             
Reading package lists... Done

## Run `apt-get install nodejs` (as root) to install Node.js v7.x and npm

pi@raspberrypi:~ $ sudo apt-get install -y nodejs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libc-ares2 libv8-3.14.5
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  nodejs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,684 kB of archives.
After this operation, 48.9 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_7.x/ jessie/main nodejs armhf 7.0.0-1nodesource1~jessie1 [9,684 kB]
Fetched 9,684 kB in 4s (2,192 kB/s)   
Selecting previously unselected package nodejs.
(Reading database ... 113850 files and directories currently installed.)
Preparing to unpack .../nodejs_7.0.0-1nodesource1~jessie1_armhf.deb ...
Unpacking nodejs (7.0.0-1nodesource1~jessie1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up nodejs (7.0.0-1nodesource1~jessie1) ...
    • Finally, install a couple of BLE helper libraries:
pi@raspberrypi:~ $ sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
bluez is already the newest version.
bluez set to manually installed.
The following packages were automatically installed and are no longer required:
  libc-ares2 libv8-3.14.5
Use 'apt-get autoremove' to remove them.
Suggested packages:
  bluez-cups bluez-obexd
The following NEW packages will be installed:
  bluetooth libbluetooth-dev libudev-dev
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 211 kB of archives.
After this operation, 793 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.raspberrypi.org/debian/ jessie/main bluetooth all 5.23-2+rpi2 [36.5 kB]
Get:2 http://archive.raspberrypi.org/debian/ jessie/main libbluetooth-dev armhf 5.23-2+rpi2 [151 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libudev-dev armhf 215-17+deb8u5 [23.2 kB]
Fetched 211 kB in 1s (184 kB/s)                                                
Selecting previously unselected package bluetooth.
(Reading database ... 117564 files and directories currently installed.)
Preparing to unpack .../bluetooth_5.23-2+rpi2_all.deb ...
Unpacking bluetooth (5.23-2+rpi2) ...
Selecting previously unselected package libudev-dev:armhf.
Preparing to unpack .../libudev-dev_215-17+deb8u5_armhf.deb ...
Unpacking libudev-dev:armhf (215-17+deb8u5) ...
Selecting previously unselected package libbluetooth-dev.
Preparing to unpack .../libbluetooth-dev_5.23-2+rpi2_armhf.deb ...
Unpacking libbluetooth-dev (5.23-2+rpi2) ...
Setting up bluetooth (5.23-2+rpi2) ...
Setting up libudev-dev:armhf (215-17+deb8u5) ...
Setting up libbluetooth-dev (5.23-2+rpi2) ...

That’s it! Enjoy working with the latest version of Node.js.

Hope you enjoyed this tutorial, please use the comments sections if you have any feedback for us.