Advertisement
Guest User

SmartPlantPi error

a guest
Aug 6th, 2017
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 41.50 KB | None | 0 0
  1. Using username "pi".
  2. Server refused our key
  3. pi@10.0.0.68's password:
  4.  
  5. The programs included with the Debian GNU/Linux system are free software;
  6. the exact distribution terms for each program are described in the
  7. individual files in /usr/share/doc/*/copyright.
  8.  
  9. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  10. permitted by applicable law.
  11.  
  12. SSH is enabled and the default password for the 'pi' user has not been changed.
  13. This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
  14.  
  15. pi@raspberrypi:~ $ mkdir .ssh
  16. pi@raspberrypi:~ $ sudo sed -i 's/#AuthorizedKeysFile/AuthorizedKeysFile/g' /etc/ssh/sshd_config
  17. pi@raspberrypi:~ $ sudo rm /etc/motd
  18. pi@raspberrypi:~ $ sudo touch /etc/motd
  19. pi@raspberrypi:~ $ echo "export PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \@\$ \[\033[00m\]'" >> .bashrc
  20. pi@raspberrypi:~ $ cat > /home/pi/startup.sh <<- "EOF"
  21. > #!/bin/sh
  22. > IP=$(hostname -I)
  23. > message="Raspberry Pi 3 XXX - Adresse IP LAN : "$IP
  24. > ## echo $message
  25. > wget "https://api.telegram.org/botxxxxxxxxxx:kjfghfhgdfhgdoHfSGFjj-gSHIhkjgjhfujvg/sendMessage?chat_id=xxxxxxxxx&text=$message" > /dev/null 2>&1
  26. >
  27. > exit 0
  28. > EOF
  29. pi@raspberrypi:~ $ chmod +x  /home/pi/startup.sh
  30. pi@raspberrypi:~ $ sudo sed -i -e '$i \## Telegram message with IP LAN' /etc/rc.local
  31. pi@raspberrypi:~ $ sudo sed -i -e '$i \/home/pi/startup.sh\n' /etc/rc.local
  32. pi@raspberrypi:~ $ sudo ./home/pi/startup.sh
  33. sudo: ./home/pi/startup.sh: command not found
  34. pi@raspberrypi:~ $ sudo raspi-config
  35. Enter new UNIX password:
  36. Retype new UNIX password:
  37. passwd: password updated successfully
  38. Generating locales (this might take a while)...
  39.   en_GB.UTF-8... done
  40.   fr_FR.UTF-8... done
  41. Generation complete.
  42.  
  43. Current default time zone: 'Europe/Paris'
  44. Local time is now:      Sun Aug  6 22:59:50 CEST 2017.
  45. Universal Time is now:  Sun Aug  6 20:59:50 UTC 2017.
  46.  
  47.  
  48. Broadcast message from pi@raspberrypi on pts/0 (Sun 2017-08-06 23:02:19 CEST):
  49.  
  50. The system is going down for reboot NOW!
  51.  
  52. pi@raspberrypi:~ $
  53. Using username "pi".
  54. Authenticating with public key "Cle RSA pour SSH CP"
  55. Last login: Sun Aug  6 22:58:12 2017 from 10.0.0.50
  56. pi@SmartPlantPi:~ 11:03 $ nano startup.sh
  57. pi@SmartPlantPi:~ 11:03 $ sudo aptitude update
  58. Prendre :  1 http://mirrordirector.raspbian.org jessie InRelease [14,9 kB]
  59. Prendre :  2 http://archive.raspberrypi.org jessie InRelease [22,9 kB]
  60. Prendre :  3 http://mirrordirector.raspbian.org jessie/main armhf Packages [9 535 kB]
  61. Prendre :  4 http://archive.raspberrypi.org jessie/main armhf Packages [170 kB]
  62. Prendre :  5 http://archive.raspberrypi.org jessie/ui armhf Packages [58,9 kB]
  63. Ignoré http://archive.raspberrypi.org jessie/main Translation-fr_FR
  64. Ignoré http://archive.raspberrypi.org jessie/main Translation-fr
  65. Ignoré http://archive.raspberrypi.org jessie/main Translation-en
  66. Ignoré http://archive.raspberrypi.org jessie/ui Translation-fr_FR
  67. Ignoré http://archive.raspberrypi.org jessie/ui Translation-fr
  68. Ignoré http://archive.raspberrypi.org jessie/ui Translation-en
  69. Prendre :  6 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [43,3 kB]
  70. Prendre :  7 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [84,2 kB]
  71. Prendre :  8 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1 356 B]
  72. Ignoré http://mirrordirector.raspbian.org jessie/contrib Translation-fr_FR
  73. Ignoré http://mirrordirector.raspbian.org jessie/contrib Translation-fr
  74. Ignoré http://mirrordirector.raspbian.org jessie/contrib Translation-en
  75. Ignoré http://mirrordirector.raspbian.org jessie/main Translation-fr_FR
  76. Ignoré http://mirrordirector.raspbian.org jessie/main Translation-fr
  77. Ignoré http://mirrordirector.raspbian.org jessie/main Translation-en
  78. Ignoré http://mirrordirector.raspbian.org jessie/non-free Translation-fr_FR
  79. Ignoré http://mirrordirector.raspbian.org jessie/non-free Translation-fr
  80. Ignoré http://mirrordirector.raspbian.org jessie/non-free Translation-en
  81. Ignoré http://mirrordirector.raspbian.org jessie/rpi Translation-fr_FR
  82. Ignoré http://mirrordirector.raspbian.org jessie/rpi Translation-fr
  83. Ignoré http://mirrordirector.raspbian.org jessie/rpi Translation-en
  84.  9 930 ko téléchargés en 30s (324 ko/s)
  85.  
  86. État actuel : 22 mises à jour restantes [+22], 23 nouveaux paquets [+23].
  87. pi@SmartPlantPi:~ 11:06 $ sudo aptitude upgrade
  88. Les paquets suivants seront mis à jour :
  89.   bind9-host debconf debconf-i18n debconf-utils libbind9-90 libdns-export100 libdns100 libgcrypt20 libgnutls-deb0-28 libgnutls-openssl27
  90.   libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90 libisccfg90 liblwres90 libwbclient0 perl perl-base perl-modules samba-common
  91. Les paquets suivants sont RECOMMANDÉS mais ne seront pas installés :
  92.   samba-common-bin
  93. 22 paquets mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
  94. Il est nécessaire de télécharger 9 237 ko d'archives. Après dépaquetage, 14,3 ko seront libérés.
  95. Voulez-vous continuer ? [Y/n/?]
  96. Prendre :  1 http://mirrordirector.raspbian.org/raspbian/ jessie/main perl armhf 5.20.2-3+deb8u8 [2 079 kB]
  97. Prendre :  2 http://mirrordirector.raspbian.org/raspbian/ jessie/main perl-base armhf 5.20.2-3+deb8u8 [1 104 kB]
  98. Prendre :  3 http://mirrordirector.raspbian.org/raspbian/ jessie/main perl-modules all 5.20.2-3+deb8u8 [2 547 kB]
  99. Prendre :  4 http://mirrordirector.raspbian.org/raspbian/ jessie/main debconf-utils all 1.5.56+deb8u1 [57,6 kB]
  100. Prendre :  5 http://mirrordirector.raspbian.org/raspbian/ jessie/main debconf-i18n all 1.5.56+deb8u1 [206 kB]
  101. Prendre :  6 http://mirrordirector.raspbian.org/raspbian/ jessie/main debconf all 1.5.56+deb8u1 [167 kB]
  102. Prendre :  7 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgcrypt20 armhf 1.6.3-2+deb8u4 [334 kB]
  103. Prendre :  8 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgnutls-openssl27 armhf 3.3.8-6+deb8u7 [140 kB]
  104. Prendre :  9 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgnutls-deb0-28 armhf 3.3.8-6+deb8u7 [627 kB]
  105. Prendre :  10 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisc-export95 armhf 1:9.9.5.dfsg-9+deb8u13 [125 kB]
  106. Prendre :  11 http://mirrordirector.raspbian.org/raspbian/ jessie/main libdns-export100 armhf 1:9.9.5.dfsg-9+deb8u13 [400 kB]
  107. Prendre :  12 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisccfg-export90 armhf 1:9.9.5.dfsg-9+deb8u13 [38,4 kB]
  108. Prendre :  13 http://mirrordirector.raspbian.org/raspbian/ jessie/main libirs-export91 armhf 1:9.9.5.dfsg-9+deb8u13 [37,1 kB]
  109. Prendre :  14 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwbclient0 armhf 2:4.2.14+dfsg-0+deb8u7 [118 kB]
  110. Prendre :  15 http://mirrordirector.raspbian.org/raspbian/ jessie/main samba-common all 2:4.2.14+dfsg-0+deb8u7 [264 kB]
  111. Prendre :  16 http://mirrordirector.raspbian.org/raspbian/ jessie/main bind9-host armhf 1:9.9.5.dfsg-9+deb8u13 [66,1 kB]
  112. Prendre :  17 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisc95 armhf 1:9.9.5.dfsg-9+deb8u13 [149 kB]
  113. Prendre :  18 http://mirrordirector.raspbian.org/raspbian/ jessie/main libdns100 armhf 1:9.9.5.dfsg-9+deb8u13 [601 kB]
  114. Prendre :  19 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisccc90 armhf 1:9.9.5.dfsg-9+deb8u13 [34,9 kB]
  115. Prendre :  20 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisccfg90 armhf 1:9.9.5.dfsg-9+deb8u13 [51,0 kB]
  116. Prendre :  21 http://mirrordirector.raspbian.org/raspbian/ jessie/main libbind9-90 armhf 1:9.9.5.dfsg-9+deb8u13 [41,7 kB]
  117. Prendre :  22 http://mirrordirector.raspbian.org/raspbian/ jessie/main liblwres90 armhf 1:9.9.5.dfsg-9+deb8u13 [48,3 kB]
  118. 9 237 ko téléchargés en 27s (338 ko/s)
  119. Lecture des fichiers de modifications (« changelog »)... Terminé
  120. Préconfiguration des paquets...
  121. (Lecture de la base de données... 31532 fichiers et répertoires déjà installés.)
  122. Préparation du dépaquetage de .../perl_5.20.2-3+deb8u8_armhf.deb ...
  123. Dépaquetage de perl (5.20.2-3+deb8u8) sur (5.20.2-3+deb8u7) ...
  124. Préparation du dépaquetage de .../perl-base_5.20.2-3+deb8u8_armhf.deb ...
  125. Dépaquetage de perl-base (5.20.2-3+deb8u8) sur (5.20.2-3+deb8u7) ...
  126. Traitement des actions différées (« triggers ») pour man-db (2.7.5-1~bpo8+1) ...
  127. Paramétrage de perl-base (5.20.2-3+deb8u8) ...
  128. (Lecture de la base de données... 31532 fichiers et répertoires déjà installés.)
  129. Préparation du dépaquetage de .../perl-modules_5.20.2-3+deb8u8_all.deb ...
  130. Dépaquetage de perl-modules (5.20.2-3+deb8u8) sur (5.20.2-3+deb8u7) ...
  131. Préparation du dépaquetage de .../debconf-utils_1.5.56+deb8u1_all.deb ...
  132. Dépaquetage de debconf-utils (1.5.56+deb8u1) sur (1.5.56) ...
  133. Préparation du dépaquetage de .../debconf-i18n_1.5.56+deb8u1_all.deb ...
  134. Dépaquetage de debconf-i18n (1.5.56+deb8u1) sur (1.5.56) ...
  135. Préparation du dépaquetage de .../debconf_1.5.56+deb8u1_all.deb ...
  136. Dépaquetage de debconf (1.5.56+deb8u1) sur (1.5.56) ...
  137. Traitement des actions différées (« triggers ») pour man-db (2.7.5-1~bpo8+1) ...
  138. Paramétrage de debconf (1.5.56+deb8u1) ...
  139. (Lecture de la base de données... 31532 fichiers et répertoires déjà installés.)
  140. Préparation du dépaquetage de .../libgcrypt20_1.6.3-2+deb8u4_armhf.deb ...
  141. Dépaquetage de libgcrypt20:armhf (1.6.3-2+deb8u4) sur (1.6.3-2+deb8u3) ...
  142. Paramétrage de libgcrypt20:armhf (1.6.3-2+deb8u4) ...
  143. Traitement des actions différées (« triggers ») pour libc-bin (2.19-18+deb8u10) ...
  144. (Lecture de la base de données... 31532 fichiers et répertoires déjà installés.)
  145. Préparation du dépaquetage de .../libgnutls-openssl27_3.3.8-6+deb8u7_armhf.deb ...
  146. Dépaquetage de libgnutls-openssl27:armhf (3.3.8-6+deb8u7) sur (3.3.8-6+deb8u6) ...
  147. Préparation du dépaquetage de .../libgnutls-deb0-28_3.3.8-6+deb8u7_armhf.deb ...
  148. Dépaquetage de libgnutls-deb0-28:armhf (3.3.8-6+deb8u7) sur (3.3.8-6+deb8u6) ...
  149. Préparation du dépaquetage de .../libisc-export95_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
  150. Dépaquetage de libisc-export95 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
  151. Préparation du dépaquetage de .../libdns-export100_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
  152. Dépaquetage de libdns-export100 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
  153. Préparation du dépaquetage de .../libisccfg-export90_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
  154. Dépaquetage de libisccfg-export90 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
  155. Préparation du dépaquetage de .../libirs-export91_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
  156. Dépaquetage de libirs-export91 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
  157. Préparation du dépaquetage de .../libwbclient0_2%3a4.2.14+dfsg-0+deb8u7_armhf.deb ...
  158. Dépaquetage de libwbclient0:armhf (2:4.2.14+dfsg-0+deb8u7) sur (2:4.2.14+dfsg-0+deb8u6) ...
  159. Préparation du dépaquetage de .../samba-common_2%3a4.2.14+dfsg-0+deb8u7_all.deb ...
  160. Dépaquetage de samba-common (2:4.2.14+dfsg-0+deb8u7) sur (2:4.2.14+dfsg-0+deb8u6) ...
  161. Préparation du dépaquetage de .../bind9-host_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
  162. Dépaquetage de bind9-host (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
  163. Préparation du dépaquetage de .../libisc95_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
  164. Dépaquetage de libisc95 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
  165. Préparation du dépaquetage de .../libdns100_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
  166. Dépaquetage de libdns100 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
  167. Préparation du dépaquetage de .../libisccc90_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
  168. Dépaquetage de libisccc90 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
  169. Préparation du dépaquetage de .../libisccfg90_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
  170. Dépaquetage de libisccfg90 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
  171. Préparation du dépaquetage de .../libbind9-90_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
  172. Dépaquetage de libbind9-90 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
  173. Préparation du dépaquetage de .../liblwres90_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
  174. Dépaquetage de liblwres90 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
  175. Traitement des actions différées (« triggers ») pour man-db (2.7.5-1~bpo8+1) ...
  176. Paramétrage de perl-modules (5.20.2-3+deb8u8) ...
  177. Paramétrage de perl (5.20.2-3+deb8u8) ...
  178. Paramétrage de debconf-utils (1.5.56+deb8u1) ...
  179. Paramétrage de debconf-i18n (1.5.56+deb8u1) ...
  180. Paramétrage de libgnutls-deb0-28:armhf (3.3.8-6+deb8u7) ...
  181. Paramétrage de libgnutls-openssl27:armhf (3.3.8-6+deb8u7) ...
  182. Paramétrage de libisc-export95 (1:9.9.5.dfsg-9+deb8u13) ...
  183. Paramétrage de libdns-export100 (1:9.9.5.dfsg-9+deb8u13) ...
  184. Paramétrage de libisccfg-export90 (1:9.9.5.dfsg-9+deb8u13) ...
  185. Paramétrage de libirs-export91 (1:9.9.5.dfsg-9+deb8u13) ...
  186. Paramétrage de libwbclient0:armhf (2:4.2.14+dfsg-0+deb8u7) ...
  187. Paramétrage de samba-common (2:4.2.14+dfsg-0+deb8u7) ...
  188. Paramétrage de libisc95 (1:9.9.5.dfsg-9+deb8u13) ...
  189. Paramétrage de libdns100 (1:9.9.5.dfsg-9+deb8u13) ...
  190. Paramétrage de libisccc90 (1:9.9.5.dfsg-9+deb8u13) ...
  191. Paramétrage de libisccfg90 (1:9.9.5.dfsg-9+deb8u13) ...
  192. Paramétrage de libbind9-90 (1:9.9.5.dfsg-9+deb8u13) ...
  193. Paramétrage de liblwres90 (1:9.9.5.dfsg-9+deb8u13) ...
  194. Paramétrage de bind9-host (1:9.9.5.dfsg-9+deb8u13) ...
  195. Traitement des actions différées (« triggers ») pour libc-bin (2.19-18+deb8u10) ...
  196.  
  197. État actuel : 0 mise à jour restante [-22].
  198. pi@SmartPlantPi:~ 11:13 $ sudo aptitude install -y build-essential python-pip python-dev python-smbus git-core
  199. Les NOUVEAUX paquets suivants vont être installés :
  200.  git{a} git-core git-man{a} i2c-tools{a} liberror-perl{a} libexpat1-dev{a} libpython-dev{a} libpython2.7-dev{a} python-chardet{a} python-colorama{a}
  201.  python-dev python-distlib{a} python-html5lib{a} python-ndg-httpsclient{a} python-openssl{a} python-pip python-pkg-resources{a} python-pyasn1{a}
  202.  python-requests{a} python-setuptools{a} python-six{a} python-smbus python-urllib3{a} python-wheel{a} python2.7-dev{a} rsync{a}
  203. 0 paquets mis à jour, 26 nouvellement installés, 0 à enlever et 0 non mis à jour.
  204. Il est nécessaire de télécharger 24,0 Mo d'archives. Après dépaquetage, 52,7 Mo seront utilisés.
  205. Prendre :  1 http://archive.raspberrypi.org/debian/ jessie/main i2c-tools armhf 3.1.1+svn-2 [51,3 kB]
  206. Prendre :  2 http://archive.raspberrypi.org/debian/ jessie/main python-smbus armhf 3.1.1+svn-2 [9 462 B]
  207. Prendre :  3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libexpat1-dev armhf 2.1.0-6+deb8u4 [115 kB]
  208. Prendre :  4 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpython2.7-dev armhf 2.7.9-2+deb8u1 [17,9 MB]
  209. Prendre :  5 http://mirrordirector.raspbian.org/raspbian/ jessie/main git-core all 1:2.1.4-2.1+deb8u3 [1 488 B]
  210. Prendre :  6 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-dev armhf 2.7.9-1 [1 188 B]
  211. Prendre :  7 http://mirrordirector.raspbian.org/raspbian/ jessie/main liberror-perl all 0.17-1.1 [22,4 kB]
  212. Prendre :  8 http://mirrordirector.raspbian.org/raspbian/ jessie/main git-man all 1:2.1.4-2.1+deb8u3 [1 268 kB]
  213. Prendre :  9 http://mirrordirector.raspbian.org/raspbian/ jessie/main git armhf 1:2.1.4-2.1+deb8u3 [2 725 kB]
  214. Prendre :  10 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpython-dev armhf 2.7.9-1 [19,6 kB]
  215. Prendre :  11 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pkg-resources all 5.5.1-1 [64,4 kB]
  216. Prendre :  12 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-chardet all 2.3.0-1 [96,2 kB]
  217. Prendre :  13 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-colorama all 0.3.2-1 [20,3 kB]
  218. Prendre :  14 http://mirrordirector.raspbian.org/raspbian/ jessie/main python2.7-dev armhf 2.7.9-2+deb8u1 [287 kB]
  219. Prendre :  15 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-distlib all 0.1.9-1 [113 kB]
  220. Prendre :  16 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-six all 1.8.0-1 [12,6 kB]
  221. Prendre :  17 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-html5lib all 0.999-3 [84,0 kB]
  222. Prendre :  18 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-openssl armhf 0.13.1-2 [85,5 kB]
  223. Prendre :  19 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-ndg-httpsclient all 0.3.2-1 [20,5 kB]
  224. Prendre :  20 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-urllib3 all 1.9.1-3 [55,4 kB]
  225. Prendre :  21 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-requests all 2.4.3-6 [204 kB]
  226. Prendre :  22 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-setuptools all 5.5.1-1 [242 kB]
  227. Prendre :  23 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pip all 1.5.6-5 [114 kB]
  228. Prendre :  24 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pyasn1 all 0.1.7-1 [49,3 kB]
  229. Prendre :  25 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-wheel all 0.24.0-1 [47,5 kB]
  230. Prendre :  26 http://mirrordirector.raspbian.org/raspbian/ jessie/main rsync armhf 3.1.1-3 [373 kB]
  231.  24,0 Mo téléchargés en 48s (498 ko/s)
  232. Sélection du paquet libexpat1-dev:armhf précédemment désélectionné.
  233. (Lecture de la base de données... 31532 fichiers et répertoires déjà installés.)
  234. Préparation du dépaquetage de .../libexpat1-dev_2.1.0-6+deb8u4_armhf.deb ...
  235. Dépaquetage de libexpat1-dev:armhf (2.1.0-6+deb8u4) ...
  236. Sélection du paquet libpython2.7-dev:armhf précédemment désélectionné.
  237. Préparation du dépaquetage de .../libpython2.7-dev_2.7.9-2+deb8u1_armhf.deb ...
  238. Dépaquetage de libpython2.7-dev:armhf (2.7.9-2+deb8u1) ...
  239. Sélection du paquet liberror-perl précédemment désélectionné.
  240. Préparation du dépaquetage de .../liberror-perl_0.17-1.1_all.deb ...
  241. Dépaquetage de liberror-perl (0.17-1.1) ...
  242. Sélection du paquet git-man précédemment désélectionné.
  243. Préparation du dépaquetage de .../git-man_1%3a2.1.4-2.1+deb8u3_all.deb ...
  244. Dépaquetage de git-man (1:2.1.4-2.1+deb8u3) ...
  245. Sélection du paquet git précédemment désélectionné.
  246. Préparation du dépaquetage de .../git_1%3a2.1.4-2.1+deb8u3_armhf.deb ...
  247. Dépaquetage de git (1:2.1.4-2.1+deb8u3) ...
  248. Sélection du paquet git-core précédemment désélectionné.
  249. Préparation du dépaquetage de .../git-core_1%3a2.1.4-2.1+deb8u3_all.deb ...
  250. Dépaquetage de git-core (1:2.1.4-2.1+deb8u3) ...
  251. Sélection du paquet libpython-dev:armhf précédemment désélectionné.
  252. Préparation du dépaquetage de .../libpython-dev_2.7.9-1_armhf.deb ...
  253. Dépaquetage de libpython-dev:armhf (2.7.9-1) ...
  254. Sélection du paquet python-pkg-resources précédemment désélectionné.
  255. Préparation du dépaquetage de .../python-pkg-resources_5.5.1-1_all.deb ...
  256. Dépaquetage de python-pkg-resources (5.5.1-1) ...
  257. Sélection du paquet python-chardet précédemment désélectionné.
  258. Préparation du dépaquetage de .../python-chardet_2.3.0-1_all.deb ...
  259. Dépaquetage de python-chardet (2.3.0-1) ...
  260. Sélection du paquet python-colorama précédemment désélectionné.
  261. Préparation du dépaquetage de .../python-colorama_0.3.2-1_all.deb ...
  262. Dépaquetage de python-colorama (0.3.2-1) ...
  263. Sélection du paquet python2.7-dev précédemment désélectionné.
  264. Préparation du dépaquetage de .../python2.7-dev_2.7.9-2+deb8u1_armhf.deb ...
  265. Dépaquetage de python2.7-dev (2.7.9-2+deb8u1) ...
  266. Sélection du paquet python-dev précédemment désélectionné.
  267. Préparation du dépaquetage de .../python-dev_2.7.9-1_armhf.deb ...
  268. Dépaquetage de python-dev (2.7.9-1) ...
  269. Sélection du paquet python-distlib précédemment désélectionné.
  270. Préparation du dépaquetage de .../python-distlib_0.1.9-1_all.deb ...
  271. Dépaquetage de python-distlib (0.1.9-1) ...
  272. Sélection du paquet python-six précédemment désélectionné.
  273. Préparation du dépaquetage de .../python-six_1.8.0-1_all.deb ...
  274. Dépaquetage de python-six (1.8.0-1) ...
  275. Sélection du paquet python-html5lib précédemment désélectionné.
  276. Préparation du dépaquetage de .../python-html5lib_0.999-3_all.deb ...
  277. Dépaquetage de python-html5lib (0.999-3) ...
  278. Sélection du paquet python-openssl précédemment désélectionné.
  279. Préparation du dépaquetage de .../python-openssl_0.13.1-2_armhf.deb ...
  280. Dépaquetage de python-openssl (0.13.1-2) ...
  281. Sélection du paquet python-ndg-httpsclient précédemment désélectionné.
  282. Préparation du dépaquetage de .../python-ndg-httpsclient_0.3.2-1_all.deb ...
  283. Dépaquetage de python-ndg-httpsclient (0.3.2-1) ...
  284. Sélection du paquet python-urllib3 précédemment désélectionné.
  285. Préparation du dépaquetage de .../python-urllib3_1.9.1-3_all.deb ...
  286. Dépaquetage de python-urllib3 (1.9.1-3) ...
  287. Sélection du paquet python-requests précédemment désélectionné.
  288. Préparation du dépaquetage de .../python-requests_2.4.3-6_all.deb ...
  289. Dépaquetage de python-requests (2.4.3-6) ...
  290. Sélection du paquet python-setuptools précédemment désélectionné.
  291. Préparation du dépaquetage de .../python-setuptools_5.5.1-1_all.deb ...
  292. Dépaquetage de python-setuptools (5.5.1-1) ...
  293. Sélection du paquet python-pip précédemment désélectionné.
  294. Préparation du dépaquetage de .../python-pip_1.5.6-5_all.deb ...
  295. Dépaquetage de python-pip (1.5.6-5) ...
  296. Sélection du paquet python-pyasn1 précédemment désélectionné.
  297. Préparation du dépaquetage de .../python-pyasn1_0.1.7-1_all.deb ...
  298. Dépaquetage de python-pyasn1 (0.1.7-1) ...
  299. Sélection du paquet python-wheel précédemment désélectionné.
  300. Préparation du dépaquetage de .../python-wheel_0.24.0-1_all.deb ...
  301. Dépaquetage de python-wheel (0.24.0-1) ...
  302. Sélection du paquet rsync précédemment désélectionné.
  303. Préparation du dépaquetage de .../rsync_3.1.1-3_armhf.deb ...
  304. Dépaquetage de rsync (3.1.1-3) ...
  305. Sélection du paquet i2c-tools précédemment désélectionné.
  306. Préparation du dépaquetage de .../i2c-tools_3.1.1+svn-2_armhf.deb ...
  307. Dépaquetage de i2c-tools (3.1.1+svn-2) ...
  308. Sélection du paquet python-smbus précédemment désélectionné.
  309. Préparation du dépaquetage de .../python-smbus_3.1.1+svn-2_armhf.deb ...
  310. Dépaquetage de python-smbus (3.1.1+svn-2) ...
  311. Traitement des actions différées (« triggers ») pour man-db (2.7.5-1~bpo8+1) ...
  312. Traitement des actions différées (« triggers ») pour systemd (215-17+deb8u7) ...
  313. Paramétrage de libexpat1-dev:armhf (2.1.0-6+deb8u4) ...
  314. Paramétrage de libpython2.7-dev:armhf (2.7.9-2+deb8u1) ...
  315. Paramétrage de liberror-perl (0.17-1.1) ...
  316. Paramétrage de git-man (1:2.1.4-2.1+deb8u3) ...
  317. Paramétrage de git (1:2.1.4-2.1+deb8u3) ...
  318. Paramétrage de git-core (1:2.1.4-2.1+deb8u3) ...
  319. Paramétrage de libpython-dev:armhf (2.7.9-1) ...
  320. Paramétrage de python-pkg-resources (5.5.1-1) ...
  321. Paramétrage de python-chardet (2.3.0-1) ...
  322. Paramétrage de python-colorama (0.3.2-1) ...
  323. Paramétrage de python2.7-dev (2.7.9-2+deb8u1) ...
  324. Paramétrage de python-dev (2.7.9-1) ...
  325. Paramétrage de python-distlib (0.1.9-1) ...
  326. Paramétrage de python-six (1.8.0-1) ...
  327. Paramétrage de python-html5lib (0.999-3) ...
  328. Paramétrage de python-openssl (0.13.1-2) ...
  329. Paramétrage de python-ndg-httpsclient (0.3.2-1) ...
  330. Paramétrage de python-urllib3 (1.9.1-3) ...
  331. Paramétrage de python-requests (2.4.3-6) ...
  332. Paramétrage de python-setuptools (5.5.1-1) ...
  333. Paramétrage de python-pip (1.5.6-5) ...
  334. Paramétrage de python-pyasn1 (0.1.7-1) ...
  335. Paramétrage de python-wheel (0.24.0-1) ...
  336. Paramétrage de rsync (3.1.1-3) ...
  337. Paramétrage de i2c-tools (3.1.1+svn-2) ...
  338. /run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
  339. Paramétrage de python-smbus (3.1.1+svn-2) ...
  340. Traitement des actions différées (« triggers ») pour python-support (1.0.15) ...
  341. Traitement des actions différées (« triggers ») pour systemd (215-17+deb8u7) ...
  342.  
  343. pi@SmartPlantPi:~ 11:18 $ git clone https://github.com/adafruit/Adafruit_Python_GPIO.git
  344. Clonage dans 'Adafruit_Python_GPIO'...
  345. remote: Counting objects: 373, done.
  346. remote: Total 373 (delta 0), reused 0 (delta 0), pack-reused 373
  347. Réception d'objets: 100% (373/373), 147.36 KiB | 0 bytes/s, fait.
  348. Résolution des deltas: 100% (226/226), fait.
  349. Vérification de la connectivité... fait.
  350. pi@SmartPlantPi:~ 11:24 $ cd Adafruit_Python_GPIO
  351. pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:24 $ sudo python setup.py install
  352. running install
  353. running bdist_egg
  354. running egg_info
  355. creating Adafruit_GPIO.egg-info
  356. writing requirements to Adafruit_GPIO.egg-info/requires.txt
  357. writing Adafruit_GPIO.egg-info/PKG-INFO
  358. writing top-level names to Adafruit_GPIO.egg-info/top_level.txt
  359. writing dependency_links to Adafruit_GPIO.egg-info/dependency_links.txt
  360. writing manifest file 'Adafruit_GPIO.egg-info/SOURCES.txt'
  361. reading manifest file 'Adafruit_GPIO.egg-info/SOURCES.txt'
  362. writing manifest file 'Adafruit_GPIO.egg-info/SOURCES.txt'
  363. installing library code to build/bdist.linux-armv7l/egg
  364. running install_lib
  365. running build_py
  366. creating build
  367. creating build/lib.linux-armv7l-2.7
  368. creating build/lib.linux-armv7l-2.7/tests
  369. copying tests/test_Platform.py -> build/lib.linux-armv7l-2.7/tests
  370. copying tests/test_SPI.py -> build/lib.linux-armv7l-2.7/tests
  371. copying tests/test_I2C.py -> build/lib.linux-armv7l-2.7/tests
  372. copying tests/MockGPIO.py -> build/lib.linux-armv7l-2.7/tests
  373. copying tests/test_PWM.py -> build/lib.linux-armv7l-2.7/tests
  374. copying tests/test_GPIO.py -> build/lib.linux-armv7l-2.7/tests
  375. copying tests/__init__.py -> build/lib.linux-armv7l-2.7/tests
  376. creating build/lib.linux-armv7l-2.7/Adafruit_GPIO
  377. copying Adafruit_GPIO/MCP230xx.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
  378. copying Adafruit_GPIO/PCF8574.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
  379. copying Adafruit_GPIO/SPI.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
  380. copying Adafruit_GPIO/GPIO.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
  381. copying Adafruit_GPIO/FT232H.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
  382. copying Adafruit_GPIO/Platform.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
  383. copying Adafruit_GPIO/PWM.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
  384. copying Adafruit_GPIO/__init__.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
  385. copying Adafruit_GPIO/I2C.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
  386. creating build/bdist.linux-armv7l
  387. creating build/bdist.linux-armv7l/egg
  388. creating build/bdist.linux-armv7l/egg/tests
  389. copying build/lib.linux-armv7l-2.7/tests/test_Platform.py -> build/bdist.linux-armv7l/egg/tests
  390. copying build/lib.linux-armv7l-2.7/tests/test_SPI.py -> build/bdist.linux-armv7l/egg/tests
  391. copying build/lib.linux-armv7l-2.7/tests/test_I2C.py -> build/bdist.linux-armv7l/egg/tests
  392. copying build/lib.linux-armv7l-2.7/tests/MockGPIO.py -> build/bdist.linux-armv7l/egg/tests
  393. copying build/lib.linux-armv7l-2.7/tests/test_PWM.py -> build/bdist.linux-armv7l/egg/tests
  394. copying build/lib.linux-armv7l-2.7/tests/test_GPIO.py -> build/bdist.linux-armv7l/egg/tests
  395. copying build/lib.linux-armv7l-2.7/tests/__init__.py -> build/bdist.linux-armv7l/egg/tests
  396. creating build/bdist.linux-armv7l/egg/Adafruit_GPIO
  397. copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/MCP230xx.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
  398. copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/PCF8574.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
  399. copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/SPI.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
  400. copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/GPIO.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
  401. copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/FT232H.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
  402. copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/Platform.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
  403. copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/PWM.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
  404. copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/__init__.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
  405. copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/I2C.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
  406. byte-compiling build/bdist.linux-armv7l/egg/tests/test_Platform.py to test_Platform.pyc
  407. byte-compiling build/bdist.linux-armv7l/egg/tests/test_SPI.py to test_SPI.pyc
  408. byte-compiling build/bdist.linux-armv7l/egg/tests/test_I2C.py to test_I2C.pyc
  409. byte-compiling build/bdist.linux-armv7l/egg/tests/MockGPIO.py to MockGPIO.pyc
  410. byte-compiling build/bdist.linux-armv7l/egg/tests/test_PWM.py to test_PWM.pyc
  411. byte-compiling build/bdist.linux-armv7l/egg/tests/test_GPIO.py to test_GPIO.pyc
  412. byte-compiling build/bdist.linux-armv7l/egg/tests/__init__.py to __init__.pyc
  413. byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/MCP230xx.py to MCP230xx.pyc
  414. byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/PCF8574.py to PCF8574.pyc
  415. byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/SPI.py to SPI.pyc
  416. byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/GPIO.py to GPIO.pyc
  417. byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/FT232H.py to FT232H.pyc
  418. byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/Platform.py to Platform.pyc
  419. byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/PWM.py to PWM.pyc
  420. byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/__init__.py to __init__.pyc
  421. byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/I2C.py to I2C.pyc
  422. creating build/bdist.linux-armv7l/egg/EGG-INFO
  423. copying Adafruit_GPIO.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
  424. copying Adafruit_GPIO.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
  425. copying Adafruit_GPIO.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
  426. copying Adafruit_GPIO.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
  427. copying Adafruit_GPIO.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
  428. zip_safe flag not set; analyzing archive contents...
  429. creating dist
  430. creating 'dist/Adafruit_GPIO-1.0.3-py2.7.egg' and adding 'build/bdist.linux-armv7l/egg' to it
  431. removing 'build/bdist.linux-armv7l/egg' (and everything under it)
  432. Processing Adafruit_GPIO-1.0.3-py2.7.egg
  433. Copying Adafruit_GPIO-1.0.3-py2.7.egg to /usr/local/lib/python2.7/dist-packages
  434. Adding Adafruit-GPIO 1.0.3 to easy-install.pth file
  435.  
  436. Installed /usr/local/lib/python2.7/dist-packages/Adafruit_GPIO-1.0.3-py2.7.egg
  437. Processing dependencies for Adafruit-GPIO==1.0.3
  438. Searching for spidev
  439. Reading https://pypi.python.org/simple/spidev/
  440. Best match: spidev 3.2
  441. Downloading https://pypi.python.org/packages/36/83/73748b6e1819b57d8e1df8090200195cdae33aaa22a49a91ded16785eedd/spidev-3.2.tar.gz#md5=f601676f1bb48b9aa3b3897f95216365
  442. Processing spidev-3.2.tar.gz
  443. Writing /tmp/easy_install-9ruspr/spidev-3.2/setup.cfg
  444. Running spidev-3.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-9ruspr/spidev-3.2/egg-dist-tmp-Rj0zBy
  445. zip_safe flag not set; analyzing archive contents...
  446. Adding spidev 3.2 to easy-install.pth file
  447.  
  448. Installed /usr/local/lib/python2.7/dist-packages/spidev-3.2-py2.7-linux-armv7l.egg
  449. Searching for adafruit-pureio
  450. Reading https://pypi.python.org/simple/adafruit-pureio/
  451. Best match: Adafruit-PureIO 0.2.1
  452. Downloading https://pypi.python.org/packages/55/fa/99b1006fb4bb356762357b297d8db6ec9ffa13af480692ab72aa4a0dd0c4/Adafruit_PureIO-0.2.1.tar.gz#md5=5b3276059eb55d6c37429a8413a92029
  453. Processing Adafruit_PureIO-0.2.1.tar.gz
  454. Writing /tmp/easy_install-cikCei/Adafruit_PureIO-0.2.1/setup.cfg
  455. Running Adafruit_PureIO-0.2.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-cikCei/Adafruit_PureIO-0.2.1/egg-dist-tmp-DEWVBg
  456. zip_safe flag not set; analyzing archive contents...
  457. Adding Adafruit-PureIO 0.2.1 to easy-install.pth file
  458.  
  459. Installed /usr/local/lib/python2.7/dist-packages/Adafruit_PureIO-0.2.1-py2.7.egg
  460. Finished processing dependencies for Adafruit-GPIO==1.0.3
  461. pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:24 $ sudo aptitude install -y python-smbus i2c-tools
  462. Aucun paquet ne va être installé, mis à jour ou enlevé.
  463. 0 paquets mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
  464. Il est nécessaire de télécharger 0 o d'archives. Après dépaquetage, 0 o seront utilisés.
  465.  
  466. pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:24 $ sudo -i
  467. root@SmartPlantPi:~# echo 'i2c-bcm2708' >> /etc/modules
  468. root@SmartPlantPi:~# echo 'i2c-dev' >> /etc/modules
  469. root@SmartPlantPi:~# echo 'dtparam=i2c1=on' >> /boot/config.txt
  470. root@SmartPlantPi:~# echo 'dtparam=i2c_arm=on' >> /boot/config.txt
  471. root@SmartPlantPi:~# exit
  472. déconnexion
  473. pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:25 $ sudo nano /etc/mod
  474. modprobe.d/     modules         modules-load.d/
  475. pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:25 $ sudo nano /etc/modules
  476. pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:25 $ sudo nano /boot/config.txt
  477. pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:26 $ sudo reboot
  478.  
  479. Broadcast message from pi@SmartPlantPi on pts/0 (dim. 2017-08-06 23:26:13 CEST):
  480.  
  481. The system is going down for reboot NOW!
  482.  
  483. pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:26 $
  484. Using username "pi".
  485. Authenticating with public key "Cl▒ RSA pour SSH CP"
  486. Last login: Sun Aug  6 23:03:03 2017 from 10.0.0.50
  487. pi@SmartPlantPi:~ 11:31 $ sudo i2cdetect -y 1
  488.      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
  489. 00:          -- -- -- -- -- -- -- -- -- -- -- -- --
  490. 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  491. 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  492. 30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
  493. 40: 40 -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
  494. 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  495. 60: 60 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  496. 70: -- -- -- -- -- -- -- --
  497. pi@SmartPlantPi:~ 11:31 $ sudo aptitude install python-pip python-pil
  498. Les NOUVEAUX paquets suivants vont être installés :
  499.   libjbig0{a} liblcms2-2{a} libtiff5{a} libwebp5{a} libwebpdemux1{a} libwebpmux1{a} python-pil
  500. 0 paquets mis à jour, 7 nouvellement installés, 0 à enlever et 0 non mis à jour.
  501. Il est nécessaire de télécharger 891 ko d'archives. Après dépaquetage, 2 413 ko seront utilisés.
  502. Voulez-vous continuer ? [Y/n/?] n
  503. Abandon.
  504. pi@SmartPlantPi:~ 11:35 $ sudo aptitude install -y python-pil
  505. Les NOUVEAUX paquets suivants vont être installés :
  506.  libjbig0{a} liblcms2-2{a} libtiff5{a} libwebp5{a} libwebpdemux1{a} libwebpmux1{a} python-pil
  507. 0 paquets mis à jour, 7 nouvellement installés, 0 à enlever et 0 non mis à jour.
  508. Il est nécessaire de télécharger 891 ko d'archives. Après dépaquetage, 2 413 ko seront utilisés.
  509. Prendre :  1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libjbig0 armhf 2.1-3.1 [27,5 kB]
  510. Prendre :  2 http://mirrordirector.raspbian.org/raspbian/ jessie/main liblcms2-2 armhf 2.6-3+deb8u1 [116 kB]
  511. Prendre :  3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libtiff5 armhf 4.0.3-12.3+deb8u4 [202 kB]
  512. Prendre :  4 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwebp5 armhf 0.4.1-1.2 [164 kB]
  513. Prendre :  5 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwebpdemux1 armhf 0.4.1-1.2 [49,4 kB]
  514. Prendre :  6 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwebpmux1 armhf 0.4.1-1.2 [54,6 kB]
  515. Prendre :  7 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pil armhf 2.6.1-2+deb8u3 [278 kB]
  516.  891 ko téléchargés en 6s (134 ko/s)
  517. Sélection du paquet libjbig0:armhf précédemment désélectionné.
  518. (Lecture de la base de données... 33163 fichiers et répertoires déjà installés.)
  519. Préparation du dépaquetage de .../libjbig0_2.1-3.1_armhf.deb ...
  520. Dépaquetage de libjbig0:armhf (2.1-3.1) ...
  521. Sélection du paquet liblcms2-2:armhf précédemment désélectionné.
  522. Préparation du dépaquetage de .../liblcms2-2_2.6-3+deb8u1_armhf.deb ...
  523. Dépaquetage de liblcms2-2:armhf (2.6-3+deb8u1) ...
  524. Sélection du paquet libtiff5:armhf précédemment désélectionné.
  525. Préparation du dépaquetage de .../libtiff5_4.0.3-12.3+deb8u4_armhf.deb ...
  526. Dépaquetage de libtiff5:armhf (4.0.3-12.3+deb8u4) ...
  527. Sélection du paquet libwebp5:armhf précédemment désélectionné.
  528. Préparation du dépaquetage de .../libwebp5_0.4.1-1.2_armhf.deb ...
  529. Dépaquetage de libwebp5:armhf (0.4.1-1.2) ...
  530. Sélection du paquet libwebpdemux1:armhf précédemment désélectionné.
  531. Préparation du dépaquetage de .../libwebpdemux1_0.4.1-1.2_armhf.deb ...
  532. Dépaquetage de libwebpdemux1:armhf (0.4.1-1.2) ...
  533. Sélection du paquet libwebpmux1:armhf précédemment désélectionné.
  534. Préparation du dépaquetage de .../libwebpmux1_0.4.1-1.2_armhf.deb ...
  535. Dépaquetage de libwebpmux1:armhf (0.4.1-1.2) ...
  536. Sélection du paquet python-pil:armhf précédemment désélectionné.
  537. Préparation du dépaquetage de .../python-pil_2.6.1-2+deb8u3_armhf.deb ...
  538. Dépaquetage de python-pil:armhf (2.6.1-2+deb8u3) ...
  539. Paramétrage de libjbig0:armhf (2.1-3.1) ...
  540. Paramétrage de liblcms2-2:armhf (2.6-3+deb8u1) ...
  541. Paramétrage de libtiff5:armhf (4.0.3-12.3+deb8u4) ...
  542. Paramétrage de libwebp5:armhf (0.4.1-1.2) ...
  543. Paramétrage de libwebpdemux1:armhf (0.4.1-1.2) ...
  544. Paramétrage de libwebpmux1:armhf (0.4.1-1.2) ...
  545. Paramétrage de python-pil:armhf (2.6.1-2+deb8u3) ...
  546. Traitement des actions différées (« triggers ») pour libc-bin (2.19-18+deb8u10) ...
  547.  
  548. pi@SmartPlantPi:~ 11:37 $ sudo pip install --upgrade setuptools pip
  549. Downloading/unpacking setuptools from https://pypi.python.org/packages/f6/d0/926c904249bee08b7c92848cb015cc8204cc4a36c4e0f9132e32109f8ab1/setuptools-36.2.7-py2.py3-none-any.whl#md5=f943653dd68916d5a34129627bbe57da
  550.   Downloading setuptools-36.2.7-py2.py3-none-any.whl (477kB): 477kB downloaded
  551. Downloading/unpacking pip from https://pypi.python.org/packages/b6/ac/7015eb97dc749283ffdec1c3a88ddb8ae03b8fad0f0e611408f196358da3/pip-9.0.1-py2.py3-none-any.whl#md5=297dbd16ef53bcef0447d245815f5144
  552.   Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB): 1.3MB downloaded
  553. Installing collected packages: setuptools, pip
  554.   Found existing installation: setuptools 5.5.1
  555.     Not uninstalling setuptools at /usr/lib/python2.7/dist-packages, owned by OS
  556.   Found existing installation: pip 1.5.6
  557.     Not uninstalling pip at /usr/lib/python2.7/dist-packages, owned by OS
  558. Successfully installed setuptools pip
  559. Cleaning up...
  560. pi@SmartPlantPi:~ 11:37 $ sudo pip install setuptools --upgrade
  561. Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages
  562. pi@SmartPlantPi:~ 11:38 $ sudo pip install apscheduler
  563. Collecting apscheduler
  564.   Downloading APScheduler-3.3.1-py2.py3-none-any.whl (56kB)
  565.     100% |████████████████████████████████| 61kB 571kB/s
  566. Collecting pytz (from apscheduler)
  567.   Downloading pytz-2017.2-py2.py3-none-any.whl (484kB)
  568.     100% |████████████████████████████████| 491kB 501kB/s
  569. Collecting funcsigs; python_version == "2.7" (from apscheduler)
  570.   Downloading funcsigs-1.0.2-py2.py3-none-any.whl
  571. Requirement already satisfied: six>=1.4.0 in /usr/lib/python2.7/dist-packages (from apscheduler)
  572. Collecting tzlocal>=1.2 (from apscheduler)
  573.   Downloading tzlocal-1.4.tar.gz
  574. Requirement already satisfied: setuptools>=0.7 in /usr/local/lib/python2.7/dist-packages (from apscheduler)
  575. Collecting futures; python_version == "2.7" (from apscheduler)
  576.   Downloading futures-3.1.1-py2-none-any.whl
  577. Building wheels for collected packages: tzlocal
  578.   Running setup.py bdist_wheel for tzlocal ... done
  579.   Stored in directory: /root/.cache/pip/wheels/dc/d6/f0/84194ccbdd3e2551bdb207e1fc1925efd32956c5767328103b
  580. Successfully built tzlocal
  581. Installing collected packages: pytz, funcsigs, tzlocal, futures, apscheduler
  582. Successfully installed apscheduler-3.3.1 funcsigs-1.0.2 futures-3.1.1 pytz-2017.2 tzlocal-1.4
  583. pi@SmartPlantPi:~ 11:38 $ sudo pip install 'pubnub>=4.0.5'
  584. Collecting pubnub>=4.0.5
  585.   Downloading pubnub-4.0.13-py2-none-any.whl (68kB)
  586.     100% |████████████████████████████████| 71kB 644kB/s
  587. Requirement already satisfied: requests>=2.4 in /usr/lib/python2.7/dist-packages (from pubnub>=4.0.5)
  588. Collecting six>=1.10 (from pubnub>=4.0.5)
  589.   Downloading six-1.10.0-py2.py3-none-any.whl
  590. Collecting pycryptodomex>=3.3 (from pubnub>=4.0.5)
  591.   Downloading pycryptodomex-3.4.6.tar.gz (6.5MB)
  592.     100% |████████████████████████████████| 6.5MB 39kB/s
  593. Building wheels for collected packages: pycryptodomex
  594.   Running setup.py bdist_wheel for pycryptodomex ... done
  595.   Stored in directory: /root/.cache/pip/wheels/76/28/aa/d08cf510d56c3f0be340ef6a5453e970ce14ca82c1c2a899d9
  596. Successfully built pycryptodomex
  597. Installing collected packages: six, pycryptodomex, pubnub
  598.   Found existing installation: six 1.8.0
  599.     Uninstalling six-1.8.0:
  600.       Successfully uninstalled six-1.8.0
  601. Successfully installed pubnub-4.0.13 pycryptodomex-3.4.6 six-1.10.0
  602. pi@SmartPlantPi:~ 11:40 $ cd ~
  603. pi@SmartPlantPi:~ 11:40 $ sudo git clone https://github.com/switchdoclabs/SDL_Pi_SmartPlantPi
  604. Clonage dans 'SDL_Pi_SmartPlantPi'...
  605. remote: Counting objects: 172, done.
  606. remote: Total 172 (delta 0), reused 0 (delta 0), pack-reused 172
  607. Réception d'objets: 100% (172/172), 126.78 KiB | 0 bytes/s, fait.
  608. Résolution des deltas: 100% (65/65), fait.
  609. Vérification de la connectivité... fait.
  610. pi@SmartPlantPi:~ 11:40 $ cd SDL_Pi_SmartPlantPi
  611. pi@SmartPlantPi:~/SDL_Pi_SmartPlantPi 11:40 $ sudo python testAll.py
  612. Traceback (most recent call last):
  613.  File "testAll.py", line 32, in <module>
  614.    import Scroll_SSD1306
  615.  File "/home/pi/SDL_Pi_SmartPlantPi/Scroll_SSD1306.py", line 29, in <module>
  616.    font = ImageFont.truetype('/usr/share/fonts/truetype/roboto/Roboto-Regular.ttf', 10)
  617.  File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 240, in truetype
  618.    return FreeTypeFont(font, size, index, encoding)
  619.  File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 137, in __init__
  620.    self.font = core.getfont(font, size, index, encoding)
  621. IOError: cannot open resource
  622. pi@SmartPlantPi:~/SDL_Pi_SmartPlantPi 12:14 $ uname -a
  623. Linux SmartPlantPi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
  624. pi@SmartPlantPi:~/SDL_Pi_SmartPlantPi 12:16 $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement