Skip to content

Instantly share code, notes, and snippets.

@hemalchevli
Last active January 30, 2017 07:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hemalchevli/c4d06214a56208215c779e8640222a0c to your computer and use it in GitHub Desktop.
Save hemalchevli/c4d06214a56208215c779e8640222a0c to your computer and use it in GitHub Desktop.
P-Brain install log
pi@homeassistant:~ $ curl -sL https://raw.githubusercontent.com/patrickjquinn/P-Brain.ai-RasPi/master/raspberrypi.sh | bash
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Cloning into 'P-Brain.ai-RasPi'...
remote: Counting objects: 9916, done.
remote: Total 9916 (delta 0), reused 0 (delta 0), pack-reused 9916
Receiving objects: 100% (9916/9916), 25.93 MiB | 941.00 KiB/s, done.
Resolving deltas: 100% (6878/6878), done.
Checking connectivity... done.
Checking out files: 100% (10417/10417), done.
Already up-to-date.
Installing P-Brain.ai dependencies...
## Installing the NodeSource Node.js v6.x repo...
## Populating apt-get cache...
+ apt-get update
Get:1 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://repo.mosquitto.org jessie InRelease
Get:2 http://mirrordirector.raspbian.org jessie/main armhf Packages [8,981 kB]
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://repo.mosquitto.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://repo.mosquitto.org jessie/main Translation-en_GB
Ign http://repo.mosquitto.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Get:3 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [37.5 kB]
Get:4 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [70.3 kB]
Get:5 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1,356 B]
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Fetched 9,105 kB in 50s (179 kB/s)
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_6.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 v6.x repo...
+ echo 'deb https://deb.nodesource.com/node_6.x jessie main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_6.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
Hit http://repo.mosquitto.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://repo.mosquitto.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://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Get:1 https://deb.nodesource.com jessie InRelease [3,914 B]
Get:2 https://deb.nodesource.com jessie/main Sources [762 B]
Get:3 https://deb.nodesource.com jessie/main armhf Packages [962 B]
Get:4 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Ign http://repo.mosquitto.org jessie/main Translation-en_GB
Ign http://repo.mosquitto.org jessie/main Translation-en
Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:6 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:8 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:9 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:10 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:11 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:12 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en_GB
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_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Fetched 5,638 B in 11s (500 B/s)
Reading package lists... Done
## Run `apt-get install nodejs` (as root) to install Node.js v6.x and npm
Hit https://deb.nodesource.com jessie InRelease
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://repo.mosquitto.org jessie InRelease
Hit https://deb.nodesource.com jessie/main Sources
Hit https://deb.nodesource.com jessie/main armhf Packages
Get:1 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:2 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:3 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:4 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Get:6 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:7 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:8 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:9 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en_GB
Get:10 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://repo.mosquitto.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://repo.mosquitto.org jessie/main Translation-en_GB
Ign http://repo.mosquitto.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
python-pyaudio is already the newest version.
The following extra packages will be installed:
festlex-cmu festlex-poslex libao-common libao4 libatlas-dev libatlas3-base
libblas-dev libestools2.1 libgsm1 libid3tag0 libmp3lame0 libopencore-amrnb0
libopencore-amrwb0 libsox-fmt-alsa libsox-fmt-ao libsox-fmt-base
libsox-fmt-mp3 libsox-fmt-oss libsox-fmt-pulse libsox2 libtwolame0
libvorbisfile3 libwavpack1
Suggested packages:
pidgin-festival festival-freebsoft-utils libaudio2 libesd0 libesd-alsa0
libblas-doc liblapack-doc liblapack-dev liblapack3 python-pyaudio-doc
swig3.0-examples swig3.0-doc
The following NEW packages will be installed:
festival festlex-cmu festlex-poslex festvox-kallpc16k libao-common libao4
libatlas-base-dev libatlas-dev libatlas3-base libblas-dev libestools2.1
libgsm1 libid3tag0 libmp3lame0 libopencore-amrnb0 libopencore-amrwb0
libsox-fmt-all libsox-fmt-alsa libsox-fmt-ao libsox-fmt-base libsox-fmt-mp3
libsox-fmt-oss libsox-fmt-pulse libsox2 libtwolame0 libvorbisfile3
libwavpack1 nodejs python3-pyaudio sox swig3.0
0 upgraded, 31 newly installed, 0 to remove and 5 not upgraded.
Need to get 22.7 MB of archives.
After this operation, 101 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_6.x/ jessie/main nodejs armhf 6.9.4-1nodesource1~jessie1 [8,841 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libestools2.1 armhf 1:2.1~release-8 [798 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgsm1 armhf 1.0.13-4 [30.9 kB]
Get:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main libmp3lame0 armhf 3.99.5+repack1-7+deb8u1 [336 kB]
Get:5 http://mirrordirector.raspbian.org/raspbian/ jessie/main libopencore-amrnb0 armhf 0.1.3-2.1 [80.4 kB]
Get:6 http://mirrordirector.raspbian.org/raspbian/ jessie/main libopencore-amrwb0 armhf 0.1.3-2.1 [42.0 kB]
Get:7 http://mirrordirector.raspbian.org/raspbian/ jessie/main libsox2 armhf 14.4.1-5 [231 kB]
Get:8 http://mirrordirector.raspbian.org/raspbian/ jessie/main libvorbisfile3 armhf 1.3.4-2 [22.5 kB]
Get:9 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwavpack1 armhf 4.70.0-1 [83.5 kB]
Get:10 http://mirrordirector.raspbian.org/raspbian/ jessie/main festival armhf 1:2.1~release-8 [786 kB]
Get:11 http://mirrordirector.raspbian.org/raspbian/ jessie/main festlex-cmu all 1.4.0-6 [881 kB]
Get:12 http://mirrordirector.raspbian.org/raspbian/ jessie/main festlex-poslex all 1.4.0-5 [234 kB]
Get:13 http://mirrordirector.raspbian.org/raspbian/ jessie/main libao-common armhf 1.1.0-3 [11.0 kB]
Get:14 http://mirrordirector.raspbian.org/raspbian/ jessie/main libao4 armhf 1.1.0-3 [32.1 kB]
Get:15 http://mirrordirector.raspbian.org/raspbian/ jessie/main libatlas3-base armhf 3.10.2-7+rpi1 [1,841 kB]
Get:16 http://mirrordirector.raspbian.org/raspbian/ jessie/main libblas-dev armhf 1.2.20110419-10 [117 kB]
Get:17 http://mirrordirector.raspbian.org/raspbian/ jessie/main libatlas-dev all 3.10.2-7+rpi1 [65.0 kB]
Get:18 http://mirrordirector.raspbian.org/raspbian/ jessie/main libatlas-base-dev armhf 3.10.2-7+rpi1 [2,462 kB]
Get:19 http://mirrordirector.raspbian.org/raspbian/ jessie/main libid3tag0 armhf 0.15.1b-11 [26.9 kB]
Get:20 http://mirrordirector.raspbian.org/raspbian/ jessie/main libsox-fmt-alsa armhf 14.4.1-5 [47.0 kB]
Get:21 http://mirrordirector.raspbian.org/raspbian/ jessie/main libsox-fmt-ao armhf 14.4.1-5 [43.7 kB]
Get:22 http://mirrordirector.raspbian.org/raspbian/ jessie/main libsox-fmt-base armhf 14.4.1-5 [63.8 kB]
Get:23 http://mirrordirector.raspbian.org/raspbian/ jessie/main libtwolame0 armhf 0.3.13-1.1 [47.3 kB]
Get:24 http://mirrordirector.raspbian.org/raspbian/ jessie/main libsox-fmt-mp3 armhf 14.4.1-5 [52.1 kB]
Get:25 http://mirrordirector.raspbian.org/raspbian/ jessie/main libsox-fmt-oss armhf 14.4.1-5 [44.0 kB]
Get:26 http://mirrordirector.raspbian.org/raspbian/ jessie/main libsox-fmt-pulse armhf 14.4.1-5 [43.5 kB]
Get:27 http://mirrordirector.raspbian.org/raspbian/ jessie/main libsox-fmt-all armhf 14.4.1-5 [41.2 kB]
Get:28 http://mirrordirector.raspbian.org/raspbian/ jessie/main python3-pyaudio armhf 0.2.8-1 [23.6 kB]
Get:29 http://mirrordirector.raspbian.org/raspbian/ jessie/main sox armhf 14.4.1-5 [135 kB]
Get:30 http://mirrordirector.raspbian.org/raspbian/ jessie/main swig3.0 armhf 3.0.2-1 [1,146 kB]
Get:31 http://mirrordirector.raspbian.org/raspbian/ jessie/main festvox-kallpc16k all 1.4.0-5 [4,095 kB]
Fetched 22.7 MB in 57s (394 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libestools2.1:armhf.
(Reading database ... 46296 files and directories currently installed.)
Preparing to unpack .../libestools2.1_1%3a2.1~release-8_armhf.deb ...
Unpacking libestools2.1:armhf (1:2.1~release-8) ...
Selecting previously unselected package libgsm1:armhf.
Preparing to unpack .../libgsm1_1.0.13-4_armhf.deb ...
Unpacking libgsm1:armhf (1.0.13-4) ...
Selecting previously unselected package libmp3lame0:armhf.
Preparing to unpack .../libmp3lame0_3.99.5+repack1-7+deb8u1_armhf.deb ...
Unpacking libmp3lame0:armhf (3.99.5+repack1-7+deb8u1) ...
Selecting previously unselected package libopencore-amrnb0:armhf.
Preparing to unpack .../libopencore-amrnb0_0.1.3-2.1_armhf.deb ...
Unpacking libopencore-amrnb0:armhf (0.1.3-2.1) ...
Selecting previously unselected package libopencore-amrwb0:armhf.
Preparing to unpack .../libopencore-amrwb0_0.1.3-2.1_armhf.deb ...
Unpacking libopencore-amrwb0:armhf (0.1.3-2.1) ...
Selecting previously unselected package libsox2:armhf.
Preparing to unpack .../libsox2_14.4.1-5_armhf.deb ...
Unpacking libsox2:armhf (14.4.1-5) ...
Selecting previously unselected package libvorbisfile3:armhf.
Preparing to unpack .../libvorbisfile3_1.3.4-2_armhf.deb ...
Unpacking libvorbisfile3:armhf (1.3.4-2) ...
Selecting previously unselected package libwavpack1:armhf.
Preparing to unpack .../libwavpack1_4.70.0-1_armhf.deb ...
Unpacking libwavpack1:armhf (4.70.0-1) ...
Selecting previously unselected package festival.
Preparing to unpack .../festival_1%3a2.1~release-8_armhf.deb ...
Unpacking festival (1:2.1~release-8) ...
Selecting previously unselected package festlex-cmu.
Preparing to unpack .../festlex-cmu_1.4.0-6_all.deb ...
Unpacking festlex-cmu (1.4.0-6) ...
Selecting previously unselected package festlex-poslex.
Preparing to unpack .../festlex-poslex_1.4.0-5_all.deb ...
Unpacking festlex-poslex (1.4.0-5) ...
Selecting previously unselected package libao-common.
Preparing to unpack .../libao-common_1.1.0-3_armhf.deb ...
Unpacking libao-common (1.1.0-3) ...
Selecting previously unselected package libao4.
Preparing to unpack .../libao4_1.1.0-3_armhf.deb ...
Unpacking libao4 (1.1.0-3) ...
Selecting previously unselected package libatlas3-base.
Preparing to unpack .../libatlas3-base_3.10.2-7+rpi1_armhf.deb ...
Unpacking libatlas3-base (3.10.2-7+rpi1) ...
Selecting previously unselected package libblas-dev.
Preparing to unpack .../libblas-dev_1.2.20110419-10_armhf.deb ...
Unpacking libblas-dev (1.2.20110419-10) ...
Selecting previously unselected package libatlas-dev.
Preparing to unpack .../libatlas-dev_3.10.2-7+rpi1_all.deb ...
Unpacking libatlas-dev (3.10.2-7+rpi1) ...
Selecting previously unselected package libatlas-base-dev.
Preparing to unpack .../libatlas-base-dev_3.10.2-7+rpi1_armhf.deb ...
Unpacking libatlas-base-dev (3.10.2-7+rpi1) ...
Selecting previously unselected package libid3tag0.
Preparing to unpack .../libid3tag0_0.15.1b-11_armhf.deb ...
Unpacking libid3tag0 (0.15.1b-11) ...
Selecting previously unselected package libsox-fmt-alsa:armhf.
Preparing to unpack .../libsox-fmt-alsa_14.4.1-5_armhf.deb ...
Unpacking libsox-fmt-alsa:armhf (14.4.1-5) ...
Selecting previously unselected package libsox-fmt-ao:armhf.
Preparing to unpack .../libsox-fmt-ao_14.4.1-5_armhf.deb ...
Unpacking libsox-fmt-ao:armhf (14.4.1-5) ...
Selecting previously unselected package libsox-fmt-base:armhf.
Preparing to unpack .../libsox-fmt-base_14.4.1-5_armhf.deb ...
Unpacking libsox-fmt-base:armhf (14.4.1-5) ...
Selecting previously unselected package libtwolame0.
Preparing to unpack .../libtwolame0_0.3.13-1.1_armhf.deb ...
Unpacking libtwolame0 (0.3.13-1.1) ...
Selecting previously unselected package libsox-fmt-mp3:armhf.
Preparing to unpack .../libsox-fmt-mp3_14.4.1-5_armhf.deb ...
Unpacking libsox-fmt-mp3:armhf (14.4.1-5) ...
Selecting previously unselected package libsox-fmt-oss:armhf.
Preparing to unpack .../libsox-fmt-oss_14.4.1-5_armhf.deb ...
Unpacking libsox-fmt-oss:armhf (14.4.1-5) ...
Selecting previously unselected package libsox-fmt-pulse:armhf.
Preparing to unpack .../libsox-fmt-pulse_14.4.1-5_armhf.deb ...
Unpacking libsox-fmt-pulse:armhf (14.4.1-5) ...
Selecting previously unselected package libsox-fmt-all:armhf.
Preparing to unpack .../libsox-fmt-all_14.4.1-5_armhf.deb ...
Unpacking libsox-fmt-all:armhf (14.4.1-5) ...
Selecting previously unselected package python3-pyaudio.
Preparing to unpack .../python3-pyaudio_0.2.8-1_armhf.deb ...
Unpacking python3-pyaudio (0.2.8-1) ...
Selecting previously unselected package sox.
Preparing to unpack .../sox_14.4.1-5_armhf.deb ...
Unpacking sox (14.4.1-5) ...
Selecting previously unselected package swig3.0.
Preparing to unpack .../swig3.0_3.0.2-1_armhf.deb ...
Unpacking swig3.0 (3.0.2-1) ...
Selecting previously unselected package festvox-kallpc16k.
Preparing to unpack .../festvox-kallpc16k_1.4.0-5_all.deb ...
Unpacking festvox-kallpc16k (1.4.0-5) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_6.9.4-1nodesource1~jessie1_armhf.deb ...
Unpacking nodejs (6.9.4-1nodesource1~jessie1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for install-info (5.2.0.dfsg.1-6) ...
Processing triggers for sgml-base (1.26+nmu4) ...
Processing triggers for mime-support (3.58) ...
Setting up libestools2.1:armhf (1:2.1~release-8) ...
Setting up libgsm1:armhf (1.0.13-4) ...
Setting up libmp3lame0:armhf (3.99.5+repack1-7+deb8u1) ...
Setting up libopencore-amrnb0:armhf (0.1.3-2.1) ...
Setting up libopencore-amrwb0:armhf (0.1.3-2.1) ...
Setting up libsox2:armhf (14.4.1-5) ...
Setting up libvorbisfile3:armhf (1.3.4-2) ...
Setting up libwavpack1:armhf (4.70.0-1) ...
Setting up festival (1:2.1~release-8) ...
Setting up libao-common (1.1.0-3) ...
Setting up libao4 (1.1.0-3) ...
Setting up libatlas3-base (3.10.2-7+rpi1) ...
update-alternatives: using /usr/lib/atlas-base/atlas/libblas.so.3 to provide /usr/lib/libblas.so.3 (libblas.so.3) in auto mode
update-alternatives: using /usr/lib/atlas-base/atlas/liblapack.so.3 to provide /usr/lib/liblapack.so.3 (liblapack.so.3) in auto mode
Setting up libblas-dev (1.2.20110419-10) ...
update-alternatives: using /usr/lib/libblas/libblas.so to provide /usr/lib/libblas.so (libblas.so) in auto mode
Setting up libatlas-dev (3.10.2-7+rpi1) ...
Setting up libatlas-base-dev (3.10.2-7+rpi1) ...
update-alternatives: using /usr/lib/atlas-base/atlas/libblas.so to provide /usr/lib/libblas.so (libblas.so) in auto mode
update-alternatives: using /usr/lib/atlas-base/atlas/liblapack.so to provide /usr/lib/liblapack.so (liblapack.so) in auto mode
Setting up libid3tag0 (0.15.1b-11) ...
Setting up libsox-fmt-alsa:armhf (14.4.1-5) ...
Setting up libsox-fmt-ao:armhf (14.4.1-5) ...
Setting up libsox-fmt-base:armhf (14.4.1-5) ...
Setting up libtwolame0 (0.3.13-1.1) ...
Setting up libsox-fmt-mp3:armhf (14.4.1-5) ...
Setting up libsox-fmt-oss:armhf (14.4.1-5) ...
Setting up libsox-fmt-pulse:armhf (14.4.1-5) ...
Setting up libsox-fmt-all:armhf (14.4.1-5) ...
Setting up python3-pyaudio (0.2.8-1) ...
Setting up sox (14.4.1-5) ...
Setting up swig3.0 (3.0.2-1) ...
Setting up nodejs (6.9.4-1nodesource1~jessie1) ...
Processing triggers for sgml-base (1.26+nmu4) ...
Setting up festlex-poslex (1.4.0-5) ...
Setting up festlex-cmu (1.4.0-6) ...
Setting up festvox-kallpc16k (1.4.0-5) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...
/usr/bin/node-gyp -> /usr/lib/node_modules/node-gyp/bin/node-gyp.js
/usr/lib
└─┬ node-gyp@3.5.0
├─┬ fstream@1.0.10
│ └── inherits@2.0.3
├─┬ glob@7.1.1
│ ├── fs.realpath@1.0.0
│ ├─┬ inflight@1.0.6
│ │ └── wrappy@1.0.2
│ ├── once@1.4.0
│ └── path-is-absolute@1.0.1
├── graceful-fs@4.1.11
├─┬ minimatch@3.0.3
│ └─┬ brace-expansion@1.1.6
│ ├── balanced-match@0.4.2
│ └── concat-map@0.0.1
├─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├─┬ nopt@3.0.6
│ └── abbrev@1.0.9
├─┬ npmlog@4.0.2
│ ├─┬ are-we-there-yet@1.1.2
│ │ ├── delegates@1.0.0
│ │ └─┬ readable-stream@2.2.2
│ │ ├── buffer-shims@1.0.0
│ │ ├── core-util-is@1.0.2
│ │ ├── isarray@1.0.0
│ │ ├── process-nextick-args@1.0.7
│ │ ├── string_decoder@0.10.31
│ │ └── util-deprecate@1.0.2
│ ├── console-control-strings@1.1.0
│ ├─┬ gauge@2.7.2
│ │ ├── aproba@1.0.4
│ │ ├── has-unicode@2.0.1
│ │ ├── object-assign@4.1.1
│ │ ├── signal-exit@3.0.2
│ │ ├─┬ string-width@1.0.2
│ │ │ ├── code-point-at@1.1.0
│ │ │ └─┬ is-fullwidth-code-point@1.0.0
│ │ │ └── number-is-nan@1.0.1
│ │ ├─┬ strip-ansi@3.0.1
│ │ │ └── ansi-regex@2.1.1
│ │ ├── supports-color@0.2.0
│ │ └── wide-align@1.1.0
│ └── set-blocking@2.0.0
├─┬ osenv@0.1.4
│ ├── os-homedir@1.0.2
│ └── os-tmpdir@1.0.2
├─┬ request@2.79.0
│ ├── aws-sign2@0.6.0
│ ├── aws4@1.5.0
│ ├── caseless@0.11.0
│ ├─┬ combined-stream@1.0.5
│ │ └── delayed-stream@1.0.0
│ ├── extend@3.0.0
│ ├── forever-agent@0.6.1
│ ├─┬ form-data@2.1.2
│ │ └── asynckit@0.4.0
│ ├─┬ har-validator@2.0.6
│ │ ├─┬ chalk@1.1.3
│ │ │ ├── ansi-styles@2.2.1
│ │ │ ├── escape-string-regexp@1.0.5
│ │ │ ├── has-ansi@2.0.0
│ │ │ └── supports-color@2.0.0
│ │ ├─┬ commander@2.9.0
│ │ │ └── graceful-readlink@1.0.1
│ │ ├─┬ is-my-json-valid@2.15.0
│ │ │ ├── generate-function@2.0.0
│ │ │ ├─┬ generate-object-property@1.2.0
│ │ │ │ └── is-property@1.0.2
│ │ │ ├── jsonpointer@4.0.1
│ │ │ └── xtend@4.0.1
│ │ └─┬ pinkie-promise@2.0.1
│ │ └── pinkie@2.0.4
│ ├─┬ hawk@3.1.3
│ │ ├── boom@2.10.1
│ │ ├── cryptiles@2.0.5
│ │ ├── hoek@2.16.3
│ │ └── sntp@1.0.9
│ ├─┬ http-signature@1.1.1
│ │ ├── assert-plus@0.2.0
│ │ ├─┬ jsprim@1.3.1
│ │ │ ├── extsprintf@1.0.2
│ │ │ ├── json-schema@0.2.3
│ │ │ └── verror@1.3.6
│ │ └─┬ sshpk@1.10.2
│ │ ├── asn1@0.2.3
│ │ ├── assert-plus@1.0.0
│ │ ├── bcrypt-pbkdf@1.0.0
│ │ ├─┬ dashdash@1.14.1
│ │ │ └── assert-plus@1.0.0
│ │ ├── ecc-jsbn@0.1.1
│ │ ├─┬ getpass@0.1.6
│ │ │ └── assert-plus@1.0.0
│ │ ├── jodid25519@1.0.2
│ │ ├── jsbn@0.1.0
│ │ └── tweetnacl@0.14.5
│ ├── is-typedarray@1.0.0
│ ├── isstream@0.1.2
│ ├── json-stringify-safe@5.0.1
│ ├─┬ mime-types@2.1.14
│ │ └── mime-db@1.26.0
│ ├── oauth-sign@0.8.2
│ ├── qs@6.3.0
│ ├── stringstream@0.0.5
│ ├─┬ tough-cookie@2.3.2
│ │ └── punycode@1.4.1
│ ├── tunnel-agent@0.4.3
│ └── uuid@3.0.1
├── rimraf@2.5.4
├── semver@5.3.0
├─┬ tar@2.2.1
│ └── block-stream@0.0.9
└─┬ which@1.2.12
└── isexe@1.1.2
Requirement already satisfied: pyaudio in /usr/lib/python3/dist-packages
node: no process found
-ne Done
Cloing P-Brain.ai server...
Cloning into 'P-Brain.ai'...
remote: Counting objects: 740, done.
remote: Compressing objects: 100% (36/36), done.
error: RPC failed; result=56, HTTP code = 200| 13.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
cp: cannot stat ‘./P-Brain.ai/*’: No such file or directory
Installing P-Brain server modules...
npm WARN enoent ENOENT: no such file or directory, open '/opt/P-Brain.ai/package.json'
npm WARN P-Brain.ai No description
npm WARN P-Brain.ai No repository field.
npm WARN P-Brain.ai No README data
npm WARN P-Brain.ai No license field.
-ne Done
Installing P-Brain client modules...
npm WARN lifecycle snowboy@1.1.0~preinstall: cannot run in wd %s %s (wd=%s) snowboy@1.1.0 npm install node-pre-gyp /opt/P-Brain.ai-client/node_modules/.staging/snowboy-6732e5e7
> snowboy@1.1.0 install /opt/P-Brain.ai-client/node_modules/snowboy
> node-pre-gyp install --fallback-to-build
[snowboy] Success: "/opt/P-Brain.ai-client/node_modules/snowboy/lib/node/binding/Release/node-v48-linux-arm/snowboy.node" is installed via remote
P-Brain.ai-Client@0.5.3 /opt/P-Brain.ai-client
├── co@4.6.0
├── co-request@1.0.0
├── node-record-lpcm16@0.2.0
├─┬ play-sound@1.1.1
│ └─┬ find-exec@0.0.8
│ └── sync-exec@0.6.2
├── q@1.4.1
├─┬ request@2.79.0
│ ├── aws-sign2@0.6.0
│ ├── aws4@1.5.0
│ ├── caseless@0.11.0
│ ├─┬ combined-stream@1.0.5
│ │ └── delayed-stream@1.0.0
│ ├── extend@3.0.0
│ ├── forever-agent@0.6.1
│ ├─┬ form-data@2.1.2
│ │ └── asynckit@0.4.0
│ ├─┬ har-validator@2.0.6
│ │ ├─┬ chalk@1.1.3
│ │ │ ├── ansi-styles@2.2.1
│ │ │ ├── escape-string-regexp@1.0.5
│ │ │ ├─┬ has-ansi@2.0.0
│ │ │ │ └── ansi-regex@2.1.1
│ │ │ ├── strip-ansi@3.0.1
│ │ │ └── supports-color@2.0.0
│ │ ├─┬ commander@2.9.0
│ │ │ └── graceful-readlink@1.0.1
│ │ ├─┬ is-my-json-valid@2.15.0
│ │ │ ├── generate-function@2.0.0
│ │ │ ├─┬ generate-object-property@1.2.0
│ │ │ │ └── is-property@1.0.2
│ │ │ ├── jsonpointer@4.0.1
│ │ │ └── xtend@4.0.1
│ │ └─┬ pinkie-promise@2.0.1
│ │ └── pinkie@2.0.4
│ ├─┬ hawk@3.1.3
│ │ ├── boom@2.10.1
│ │ ├── cryptiles@2.0.5
│ │ ├── hoek@2.16.3
│ │ └── sntp@1.0.9
│ ├─┬ http-signature@1.1.1
│ │ ├── assert-plus@0.2.0
│ │ ├─┬ jsprim@1.3.1
│ │ │ ├── extsprintf@1.0.2
│ │ │ ├── json-schema@0.2.3
│ │ │ └── verror@1.3.6
│ │ └─┬ sshpk@1.10.2
│ │ ├── asn1@0.2.3
│ │ ├── assert-plus@1.0.0
│ │ ├── bcrypt-pbkdf@1.0.0
│ │ ├─┬ dashdash@1.14.1
│ │ │ └── assert-plus@1.0.0
│ │ ├── ecc-jsbn@0.1.1
│ │ ├─┬ getpass@0.1.6
│ │ │ └── assert-plus@1.0.0
│ │ ├── jodid25519@1.0.2
│ │ ├── jsbn@0.1.0
│ │ └── tweetnacl@0.14.5
│ ├── is-typedarray@1.0.0
│ ├── isstream@0.1.2
│ ├── json-stringify-safe@5.0.1
│ ├─┬ mime-types@2.1.14
│ │ └── mime-db@1.26.0
│ ├── oauth-sign@0.8.2
│ ├── qs@6.3.0
│ ├── stringstream@0.0.5
│ ├─┬ tough-cookie@2.3.2
│ │ └── punycode@1.4.1
│ ├── tunnel-agent@0.4.3
│ └── uuid@3.0.1
├── say@0.11.0
├─┬ snowboy@1.1.0
│ └─┬ node-pre-gyp@0.6.32
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ ├─┬ nopt@3.0.6
│ │ └── abbrev@1.0.9
│ ├─┬ npmlog@4.0.2
│ │ ├─┬ are-we-there-yet@1.1.2
│ │ │ ├── delegates@1.0.0
│ │ │ └── readable-stream@2.2.2
│ │ ├── console-control-strings@1.1.0
│ │ ├─┬ gauge@2.7.2
│ │ │ ├── aproba@1.0.4
│ │ │ ├── has-unicode@2.0.1
│ │ │ ├── object-assign@4.1.1
│ │ │ ├── signal-exit@3.0.2
│ │ │ ├─┬ string-width@1.0.2
│ │ │ │ ├── code-point-at@1.1.0
│ │ │ │ └─┬ is-fullwidth-code-point@1.0.0
│ │ │ │ └── number-is-nan@1.0.1
│ │ │ ├── supports-color@0.2.0
│ │ │ └── wide-align@1.1.0
│ │ └── set-blocking@2.0.0
│ ├─┬ rc@1.1.6
│ │ ├── deep-extend@0.4.1
│ │ ├── ini@1.3.4
│ │ ├── minimist@1.2.0
│ │ └── strip-json-comments@1.0.4
│ ├─┬ rimraf@2.5.4
│ │ └─┬ glob@7.1.1
│ │ ├── fs.realpath@1.0.0
│ │ ├── inflight@1.0.6
│ │ ├─┬ minimatch@3.0.3
│ │ │ └─┬ brace-expansion@1.1.6
│ │ │ ├── balanced-match@0.4.2
│ │ │ └── concat-map@0.0.1
│ │ ├── once@1.4.0
│ │ └── path-is-absolute@1.0.1
│ ├── semver@5.3.0
│ ├─┬ tar@2.2.1
│ │ ├── block-stream@0.0.9
│ │ ├─┬ fstream@1.0.10
│ │ │ └── graceful-fs@4.1.11
│ │ └── inherits@2.0.3
│ └─┬ tar-pack@3.3.0
│ ├─┬ debug@2.2.0
│ │ └── ms@0.7.1
│ ├── fstream-ignore@1.0.5
│ ├─┬ once@1.3.3
│ │ └── wrappy@1.0.2
│ ├─┬ readable-stream@2.1.5
│ │ ├── buffer-shims@1.0.0
│ │ ├── core-util-is@1.0.2
│ │ ├── isarray@1.0.0
│ │ ├── process-nextick-args@1.0.7
│ │ ├── string_decoder@0.10.31
│ │ └── util-deprecate@1.0.2
│ └── uid-number@0.0.6
└─┬ thunkify-wrap@1.0.4
└── enable@1.3.2
npm WARN P-Brain.ai-Client@0.5.3 No repository field.
npm WARN P-Brain.ai-Client@0.5.3 license should be a valid SPDX license expression
-ne Done
npm ERR! Linux 4.4.38-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v6.9.4
npm ERR! npm v3.10.10 : info using node@v6.9.4
npm ERR! path /opt/P-Brain.ai/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/opt/P-Brain.ai/package.json'
npm ERR! enoent ENOENT: no such file or directory, open '/opt/P-Brain.ai/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /opt/P-Brain.ai/npm-debug.log
> P-Brain.ai-Client@0.5.3 start /opt/P-Brain.ai-client
> node client.js
P-Brain Says: Say 'Hey Brain','Brain' or 'Okay Brain' followed by your command!
P-Brain Says: You can also type your command into the terminal!
pi@homeassistant:~ $ sudo apt-get install sox libsox-fmt-all festival festvox-kallpc16k
Reading package lists... Done
Building dependency tree
Reading state information... Done
festival is already the newest version.
festvox-kallpc16k is already the newest version.
libsox-fmt-all is already the newest version.
sox is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
pi@homeassistant:~ $ ls
cmuclmtk jasper-installer.log phonetisaurus
fabric-home-assistant jasper-installer.sh pocketsphinx-0.8
g014b2b.tgz m2m-aligner-1.2 pocketsphinx-0.8.tar.gz
hass_rpi_installer.sh m2m-aligner-1.2.tar.gz sphinxbase-0.8
is2013-conversion mitlm-0.4.1 sphinxbase-0.8.tar.gz
is2013-conversion.tgz mitlm-0.4.1.tar.gz
jasper P-Brain.ai-RasPi
pi@homeassistant:~ $ cd P-Brain.ai-RasPi/
pi@homeassistant:~/P-Brain.ai-RasPi $ l
-bash: l: command not found
pi@homeassistant:~/P-Brain.ai-RasPi $ ls
api package.json raspberrypi.sh resources run.sh timer
client.js provision.sh README.md response speak timer.wav
pi@homeassistant:~/P-Brain.ai-RasPi $ node client.js
module.js:471
throw err;
^
Error: Cannot find module 'node-record-lpcm16'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/pi/P-Brain.ai-RasPi/client.js:1:75)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
pi@homeassistant:~/P-Brain.ai-RasPi $ node client.js
module.js:471
throw err;
^
Error: Cannot find module 'node-record-lpcm16'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/pi/P-Brain.ai-RasPi/client.js:1:75)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
pi@homeassistant:~/P-Brain.ai-RasPi $ sudo reboot
Connection reset by 192.168.0.81 port 22
Hemal M. Chevli@Hemal-Laptop ~
$
Hemal M. Chevli@Hemal-Laptop ~
$
Hemal M. Chevli@Hemal-Laptop ~
$ ssh pi@192.168.0.81
pi@192.168.0.81's password:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jan 30 06:44:40 2017 from 192.168.0.83
pi@homeassistant:~ $ ls
cmuclmtk jasper-installer.log phonetisaurus
fabric-home-assistant jasper-installer.sh pocketsphinx-0.8
g014b2b.tgz m2m-aligner-1.2 pocketsphinx-0.8.tar.gz
hass_rpi_installer.sh m2m-aligner-1.2.tar.gz sphinxbase-0.8
is2013-conversion mitlm-0.4.1 sphinxbase-0.8.tar.gz
is2013-conversion.tgz mitlm-0.4.1.tar.gz
jasper P-Brain.ai-RasPi
pi@homeassistant:~ $ cdP
-bash: cdP: command not found
pi@homeassistant:~ $ cd P-Brain.ai-RasPi/
pi@homeassistant:~/P-Brain.ai-RasPi $ node client.js
module.js:471
throw err;
^
Error: Cannot find module 'node-record-lpcm16'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/pi/P-Brain.ai-RasPi/client.js:1:75)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
pi@homeassistant:~/P-Brain.ai-RasPi $ cat /opt/P-Brain.ai/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ]
2 info using npm@3.10.10
3 info using node@v6.9.4
4 verbose stack Error: ENOENT: no such file or directory, open '/opt/P-Brain.ai/package.json'
4 verbose stack at Error (native)
5 verbose cwd /opt/P-Brain.ai
6 error Linux 4.4.38-v7+
7 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
8 error node v6.9.4
9 error npm v3.10.10
10 error path /opt/P-Brain.ai/package.json
11 error code ENOENT
12 error errno -2
13 error syscall open
14 error enoent ENOENT: no such file or directory, open '/opt/P-Brain.ai/package.json'
15 error enoent ENOENT: no such file or directory, open '/opt/P-Brain.ai/package.json'
15 error enoent This is most likely not a problem with npm itself
15 error enoent and is related to npm not being able to find a file.
16 verbose exit [ -2, true ]
pi@homeassistant:~/P-Brain.ai-RasPi $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment