Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Using username "pi".
- Server refused our key
- pi@10.0.0.68'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.
- SSH is enabled and the default password for the 'pi' user has not been changed.
- This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
- pi@raspberrypi:~ $ mkdir .ssh
- pi@raspberrypi:~ $ sudo sed -i 's/#AuthorizedKeysFile/AuthorizedKeysFile/g' /etc/ssh/sshd_config
- pi@raspberrypi:~ $ sudo rm /etc/motd
- pi@raspberrypi:~ $ sudo touch /etc/motd
- 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
- pi@raspberrypi:~ $ cat > /home/pi/startup.sh <<- "EOF"
- > #!/bin/sh
- > IP=$(hostname -I)
- > message="Raspberry Pi 3 XXX - Adresse IP LAN : "$IP
- > ## echo $message
- > wget "https://api.telegram.org/botxxxxxxxxxx:kjfghfhgdfhgdoHfSGFjj-gSHIhkjgjhfujvg/sendMessage?chat_id=xxxxxxxxx&text=$message" > /dev/null 2>&1
- >
- > exit 0
- > EOF
- pi@raspberrypi:~ $ chmod +x /home/pi/startup.sh
- pi@raspberrypi:~ $ sudo sed -i -e '$i \## Telegram message with IP LAN' /etc/rc.local
- pi@raspberrypi:~ $ sudo sed -i -e '$i \/home/pi/startup.sh\n' /etc/rc.local
- pi@raspberrypi:~ $ sudo ./home/pi/startup.sh
- sudo: ./home/pi/startup.sh: command not found
- pi@raspberrypi:~ $ sudo raspi-config
- Enter new UNIX password:
- Retype new UNIX password:
- passwd: password updated successfully
- Generating locales (this might take a while)...
- en_GB.UTF-8... done
- fr_FR.UTF-8... done
- Generation complete.
- Current default time zone: 'Europe/Paris'
- Local time is now: Sun Aug 6 22:59:50 CEST 2017.
- Universal Time is now: Sun Aug 6 20:59:50 UTC 2017.
- Broadcast message from pi@raspberrypi on pts/0 (Sun 2017-08-06 23:02:19 CEST):
- The system is going down for reboot NOW!
- pi@raspberrypi:~ $
- Using username "pi".
- Authenticating with public key "Cle RSA pour SSH CP"
- Last login: Sun Aug 6 22:58:12 2017 from 10.0.0.50
- pi@SmartPlantPi:~ 11:03 $ nano startup.sh
- pi@SmartPlantPi:~ 11:03 $ sudo aptitude update
- Prendre : 1 http://mirrordirector.raspbian.org jessie InRelease [14,9 kB]
- Prendre : 2 http://archive.raspberrypi.org jessie InRelease [22,9 kB]
- Prendre : 3 http://mirrordirector.raspbian.org jessie/main armhf Packages [9 535 kB]
- Prendre : 4 http://archive.raspberrypi.org jessie/main armhf Packages [170 kB]
- Prendre : 5 http://archive.raspberrypi.org jessie/ui armhf Packages [58,9 kB]
- Ignoré http://archive.raspberrypi.org jessie/main Translation-fr_FR
- Ignoré http://archive.raspberrypi.org jessie/main Translation-fr
- Ignoré http://archive.raspberrypi.org jessie/main Translation-en
- Ignoré http://archive.raspberrypi.org jessie/ui Translation-fr_FR
- Ignoré http://archive.raspberrypi.org jessie/ui Translation-fr
- Ignoré http://archive.raspberrypi.org jessie/ui Translation-en
- Prendre : 6 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [43,3 kB]
- Prendre : 7 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [84,2 kB]
- Prendre : 8 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1 356 B]
- Ignoré http://mirrordirector.raspbian.org jessie/contrib Translation-fr_FR
- Ignoré http://mirrordirector.raspbian.org jessie/contrib Translation-fr
- Ignoré http://mirrordirector.raspbian.org jessie/contrib Translation-en
- Ignoré http://mirrordirector.raspbian.org jessie/main Translation-fr_FR
- Ignoré http://mirrordirector.raspbian.org jessie/main Translation-fr
- Ignoré http://mirrordirector.raspbian.org jessie/main Translation-en
- Ignoré http://mirrordirector.raspbian.org jessie/non-free Translation-fr_FR
- Ignoré http://mirrordirector.raspbian.org jessie/non-free Translation-fr
- Ignoré http://mirrordirector.raspbian.org jessie/non-free Translation-en
- Ignoré http://mirrordirector.raspbian.org jessie/rpi Translation-fr_FR
- Ignoré http://mirrordirector.raspbian.org jessie/rpi Translation-fr
- Ignoré http://mirrordirector.raspbian.org jessie/rpi Translation-en
- 9 930 ko téléchargés en 30s (324 ko/s)
- État actuel : 22 mises à jour restantes [+22], 23 nouveaux paquets [+23].
- pi@SmartPlantPi:~ 11:06 $ sudo aptitude upgrade
- Les paquets suivants seront mis à jour :
- bind9-host debconf debconf-i18n debconf-utils libbind9-90 libdns-export100 libdns100 libgcrypt20 libgnutls-deb0-28 libgnutls-openssl27
- libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90 libisccfg90 liblwres90 libwbclient0 perl perl-base perl-modules samba-common
- Les paquets suivants sont RECOMMANDÉS mais ne seront pas installés :
- samba-common-bin
- 22 paquets mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
- Il est nécessaire de télécharger 9 237 ko d'archives. Après dépaquetage, 14,3 ko seront libérés.
- Voulez-vous continuer ? [Y/n/?]
- Prendre : 1 http://mirrordirector.raspbian.org/raspbian/ jessie/main perl armhf 5.20.2-3+deb8u8 [2 079 kB]
- Prendre : 2 http://mirrordirector.raspbian.org/raspbian/ jessie/main perl-base armhf 5.20.2-3+deb8u8 [1 104 kB]
- Prendre : 3 http://mirrordirector.raspbian.org/raspbian/ jessie/main perl-modules all 5.20.2-3+deb8u8 [2 547 kB]
- Prendre : 4 http://mirrordirector.raspbian.org/raspbian/ jessie/main debconf-utils all 1.5.56+deb8u1 [57,6 kB]
- Prendre : 5 http://mirrordirector.raspbian.org/raspbian/ jessie/main debconf-i18n all 1.5.56+deb8u1 [206 kB]
- Prendre : 6 http://mirrordirector.raspbian.org/raspbian/ jessie/main debconf all 1.5.56+deb8u1 [167 kB]
- Prendre : 7 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgcrypt20 armhf 1.6.3-2+deb8u4 [334 kB]
- Prendre : 8 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgnutls-openssl27 armhf 3.3.8-6+deb8u7 [140 kB]
- Prendre : 9 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgnutls-deb0-28 armhf 3.3.8-6+deb8u7 [627 kB]
- Prendre : 10 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisc-export95 armhf 1:9.9.5.dfsg-9+deb8u13 [125 kB]
- Prendre : 11 http://mirrordirector.raspbian.org/raspbian/ jessie/main libdns-export100 armhf 1:9.9.5.dfsg-9+deb8u13 [400 kB]
- Prendre : 12 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisccfg-export90 armhf 1:9.9.5.dfsg-9+deb8u13 [38,4 kB]
- Prendre : 13 http://mirrordirector.raspbian.org/raspbian/ jessie/main libirs-export91 armhf 1:9.9.5.dfsg-9+deb8u13 [37,1 kB]
- Prendre : 14 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwbclient0 armhf 2:4.2.14+dfsg-0+deb8u7 [118 kB]
- Prendre : 15 http://mirrordirector.raspbian.org/raspbian/ jessie/main samba-common all 2:4.2.14+dfsg-0+deb8u7 [264 kB]
- Prendre : 16 http://mirrordirector.raspbian.org/raspbian/ jessie/main bind9-host armhf 1:9.9.5.dfsg-9+deb8u13 [66,1 kB]
- Prendre : 17 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisc95 armhf 1:9.9.5.dfsg-9+deb8u13 [149 kB]
- Prendre : 18 http://mirrordirector.raspbian.org/raspbian/ jessie/main libdns100 armhf 1:9.9.5.dfsg-9+deb8u13 [601 kB]
- Prendre : 19 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisccc90 armhf 1:9.9.5.dfsg-9+deb8u13 [34,9 kB]
- Prendre : 20 http://mirrordirector.raspbian.org/raspbian/ jessie/main libisccfg90 armhf 1:9.9.5.dfsg-9+deb8u13 [51,0 kB]
- Prendre : 21 http://mirrordirector.raspbian.org/raspbian/ jessie/main libbind9-90 armhf 1:9.9.5.dfsg-9+deb8u13 [41,7 kB]
- Prendre : 22 http://mirrordirector.raspbian.org/raspbian/ jessie/main liblwres90 armhf 1:9.9.5.dfsg-9+deb8u13 [48,3 kB]
- 9 237 ko téléchargés en 27s (338 ko/s)
- Lecture des fichiers de modifications (« changelog »)... Terminé
- Préconfiguration des paquets...
- (Lecture de la base de données... 31532 fichiers et répertoires déjà installés.)
- Préparation du dépaquetage de .../perl_5.20.2-3+deb8u8_armhf.deb ...
- Dépaquetage de perl (5.20.2-3+deb8u8) sur (5.20.2-3+deb8u7) ...
- Préparation du dépaquetage de .../perl-base_5.20.2-3+deb8u8_armhf.deb ...
- Dépaquetage de perl-base (5.20.2-3+deb8u8) sur (5.20.2-3+deb8u7) ...
- Traitement des actions différées (« triggers ») pour man-db (2.7.5-1~bpo8+1) ...
- Paramétrage de perl-base (5.20.2-3+deb8u8) ...
- (Lecture de la base de données... 31532 fichiers et répertoires déjà installés.)
- Préparation du dépaquetage de .../perl-modules_5.20.2-3+deb8u8_all.deb ...
- Dépaquetage de perl-modules (5.20.2-3+deb8u8) sur (5.20.2-3+deb8u7) ...
- Préparation du dépaquetage de .../debconf-utils_1.5.56+deb8u1_all.deb ...
- Dépaquetage de debconf-utils (1.5.56+deb8u1) sur (1.5.56) ...
- Préparation du dépaquetage de .../debconf-i18n_1.5.56+deb8u1_all.deb ...
- Dépaquetage de debconf-i18n (1.5.56+deb8u1) sur (1.5.56) ...
- Préparation du dépaquetage de .../debconf_1.5.56+deb8u1_all.deb ...
- Dépaquetage de debconf (1.5.56+deb8u1) sur (1.5.56) ...
- Traitement des actions différées (« triggers ») pour man-db (2.7.5-1~bpo8+1) ...
- Paramétrage de debconf (1.5.56+deb8u1) ...
- (Lecture de la base de données... 31532 fichiers et répertoires déjà installés.)
- Préparation du dépaquetage de .../libgcrypt20_1.6.3-2+deb8u4_armhf.deb ...
- Dépaquetage de libgcrypt20:armhf (1.6.3-2+deb8u4) sur (1.6.3-2+deb8u3) ...
- Paramétrage de libgcrypt20:armhf (1.6.3-2+deb8u4) ...
- Traitement des actions différées (« triggers ») pour libc-bin (2.19-18+deb8u10) ...
- (Lecture de la base de données... 31532 fichiers et répertoires déjà installés.)
- Préparation du dépaquetage de .../libgnutls-openssl27_3.3.8-6+deb8u7_armhf.deb ...
- Dépaquetage de libgnutls-openssl27:armhf (3.3.8-6+deb8u7) sur (3.3.8-6+deb8u6) ...
- Préparation du dépaquetage de .../libgnutls-deb0-28_3.3.8-6+deb8u7_armhf.deb ...
- Dépaquetage de libgnutls-deb0-28:armhf (3.3.8-6+deb8u7) sur (3.3.8-6+deb8u6) ...
- Préparation du dépaquetage de .../libisc-export95_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
- Dépaquetage de libisc-export95 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
- Préparation du dépaquetage de .../libdns-export100_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
- Dépaquetage de libdns-export100 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
- Préparation du dépaquetage de .../libisccfg-export90_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
- Dépaquetage de libisccfg-export90 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
- Préparation du dépaquetage de .../libirs-export91_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
- Dépaquetage de libirs-export91 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
- Préparation du dépaquetage de .../libwbclient0_2%3a4.2.14+dfsg-0+deb8u7_armhf.deb ...
- Dépaquetage de libwbclient0:armhf (2:4.2.14+dfsg-0+deb8u7) sur (2:4.2.14+dfsg-0+deb8u6) ...
- Préparation du dépaquetage de .../samba-common_2%3a4.2.14+dfsg-0+deb8u7_all.deb ...
- Dépaquetage de samba-common (2:4.2.14+dfsg-0+deb8u7) sur (2:4.2.14+dfsg-0+deb8u6) ...
- Préparation du dépaquetage de .../bind9-host_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
- Dépaquetage de bind9-host (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
- Préparation du dépaquetage de .../libisc95_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
- Dépaquetage de libisc95 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
- Préparation du dépaquetage de .../libdns100_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
- Dépaquetage de libdns100 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
- Préparation du dépaquetage de .../libisccc90_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
- Dépaquetage de libisccc90 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
- Préparation du dépaquetage de .../libisccfg90_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
- Dépaquetage de libisccfg90 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
- Préparation du dépaquetage de .../libbind9-90_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
- Dépaquetage de libbind9-90 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
- Préparation du dépaquetage de .../liblwres90_1%3a9.9.5.dfsg-9+deb8u13_armhf.deb ...
- Dépaquetage de liblwres90 (1:9.9.5.dfsg-9+deb8u13) sur (1:9.9.5.dfsg-9+deb8u11) ...
- Traitement des actions différées (« triggers ») pour man-db (2.7.5-1~bpo8+1) ...
- Paramétrage de perl-modules (5.20.2-3+deb8u8) ...
- Paramétrage de perl (5.20.2-3+deb8u8) ...
- Paramétrage de debconf-utils (1.5.56+deb8u1) ...
- Paramétrage de debconf-i18n (1.5.56+deb8u1) ...
- Paramétrage de libgnutls-deb0-28:armhf (3.3.8-6+deb8u7) ...
- Paramétrage de libgnutls-openssl27:armhf (3.3.8-6+deb8u7) ...
- Paramétrage de libisc-export95 (1:9.9.5.dfsg-9+deb8u13) ...
- Paramétrage de libdns-export100 (1:9.9.5.dfsg-9+deb8u13) ...
- Paramétrage de libisccfg-export90 (1:9.9.5.dfsg-9+deb8u13) ...
- Paramétrage de libirs-export91 (1:9.9.5.dfsg-9+deb8u13) ...
- Paramétrage de libwbclient0:armhf (2:4.2.14+dfsg-0+deb8u7) ...
- Paramétrage de samba-common (2:4.2.14+dfsg-0+deb8u7) ...
- Paramétrage de libisc95 (1:9.9.5.dfsg-9+deb8u13) ...
- Paramétrage de libdns100 (1:9.9.5.dfsg-9+deb8u13) ...
- Paramétrage de libisccc90 (1:9.9.5.dfsg-9+deb8u13) ...
- Paramétrage de libisccfg90 (1:9.9.5.dfsg-9+deb8u13) ...
- Paramétrage de libbind9-90 (1:9.9.5.dfsg-9+deb8u13) ...
- Paramétrage de liblwres90 (1:9.9.5.dfsg-9+deb8u13) ...
- Paramétrage de bind9-host (1:9.9.5.dfsg-9+deb8u13) ...
- Traitement des actions différées (« triggers ») pour libc-bin (2.19-18+deb8u10) ...
- État actuel : 0 mise à jour restante [-22].
- pi@SmartPlantPi:~ 11:13 $ sudo aptitude install -y build-essential python-pip python-dev python-smbus git-core
- Les NOUVEAUX paquets suivants vont être installés :
- 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}
- python-dev python-distlib{a} python-html5lib{a} python-ndg-httpsclient{a} python-openssl{a} python-pip python-pkg-resources{a} python-pyasn1{a}
- python-requests{a} python-setuptools{a} python-six{a} python-smbus python-urllib3{a} python-wheel{a} python2.7-dev{a} rsync{a}
- 0 paquets mis à jour, 26 nouvellement installés, 0 à enlever et 0 non mis à jour.
- Il est nécessaire de télécharger 24,0 Mo d'archives. Après dépaquetage, 52,7 Mo seront utilisés.
- Prendre : 1 http://archive.raspberrypi.org/debian/ jessie/main i2c-tools armhf 3.1.1+svn-2 [51,3 kB]
- Prendre : 2 http://archive.raspberrypi.org/debian/ jessie/main python-smbus armhf 3.1.1+svn-2 [9 462 B]
- Prendre : 3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libexpat1-dev armhf 2.1.0-6+deb8u4 [115 kB]
- Prendre : 4 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpython2.7-dev armhf 2.7.9-2+deb8u1 [17,9 MB]
- Prendre : 5 http://mirrordirector.raspbian.org/raspbian/ jessie/main git-core all 1:2.1.4-2.1+deb8u3 [1 488 B]
- Prendre : 6 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-dev armhf 2.7.9-1 [1 188 B]
- Prendre : 7 http://mirrordirector.raspbian.org/raspbian/ jessie/main liberror-perl all 0.17-1.1 [22,4 kB]
- Prendre : 8 http://mirrordirector.raspbian.org/raspbian/ jessie/main git-man all 1:2.1.4-2.1+deb8u3 [1 268 kB]
- Prendre : 9 http://mirrordirector.raspbian.org/raspbian/ jessie/main git armhf 1:2.1.4-2.1+deb8u3 [2 725 kB]
- Prendre : 10 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpython-dev armhf 2.7.9-1 [19,6 kB]
- Prendre : 11 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pkg-resources all 5.5.1-1 [64,4 kB]
- Prendre : 12 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-chardet all 2.3.0-1 [96,2 kB]
- Prendre : 13 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-colorama all 0.3.2-1 [20,3 kB]
- Prendre : 14 http://mirrordirector.raspbian.org/raspbian/ jessie/main python2.7-dev armhf 2.7.9-2+deb8u1 [287 kB]
- Prendre : 15 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-distlib all 0.1.9-1 [113 kB]
- Prendre : 16 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-six all 1.8.0-1 [12,6 kB]
- Prendre : 17 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-html5lib all 0.999-3 [84,0 kB]
- Prendre : 18 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-openssl armhf 0.13.1-2 [85,5 kB]
- Prendre : 19 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-ndg-httpsclient all 0.3.2-1 [20,5 kB]
- Prendre : 20 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-urllib3 all 1.9.1-3 [55,4 kB]
- Prendre : 21 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-requests all 2.4.3-6 [204 kB]
- Prendre : 22 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-setuptools all 5.5.1-1 [242 kB]
- Prendre : 23 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pip all 1.5.6-5 [114 kB]
- Prendre : 24 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pyasn1 all 0.1.7-1 [49,3 kB]
- Prendre : 25 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-wheel all 0.24.0-1 [47,5 kB]
- Prendre : 26 http://mirrordirector.raspbian.org/raspbian/ jessie/main rsync armhf 3.1.1-3 [373 kB]
- 24,0 Mo téléchargés en 48s (498 ko/s)
- Sélection du paquet libexpat1-dev:armhf précédemment désélectionné.
- (Lecture de la base de données... 31532 fichiers et répertoires déjà installés.)
- Préparation du dépaquetage de .../libexpat1-dev_2.1.0-6+deb8u4_armhf.deb ...
- Dépaquetage de libexpat1-dev:armhf (2.1.0-6+deb8u4) ...
- Sélection du paquet libpython2.7-dev:armhf précédemment désélectionné.
- Préparation du dépaquetage de .../libpython2.7-dev_2.7.9-2+deb8u1_armhf.deb ...
- Dépaquetage de libpython2.7-dev:armhf (2.7.9-2+deb8u1) ...
- Sélection du paquet liberror-perl précédemment désélectionné.
- Préparation du dépaquetage de .../liberror-perl_0.17-1.1_all.deb ...
- Dépaquetage de liberror-perl (0.17-1.1) ...
- Sélection du paquet git-man précédemment désélectionné.
- Préparation du dépaquetage de .../git-man_1%3a2.1.4-2.1+deb8u3_all.deb ...
- Dépaquetage de git-man (1:2.1.4-2.1+deb8u3) ...
- Sélection du paquet git précédemment désélectionné.
- Préparation du dépaquetage de .../git_1%3a2.1.4-2.1+deb8u3_armhf.deb ...
- Dépaquetage de git (1:2.1.4-2.1+deb8u3) ...
- Sélection du paquet git-core précédemment désélectionné.
- Préparation du dépaquetage de .../git-core_1%3a2.1.4-2.1+deb8u3_all.deb ...
- Dépaquetage de git-core (1:2.1.4-2.1+deb8u3) ...
- Sélection du paquet libpython-dev:armhf précédemment désélectionné.
- Préparation du dépaquetage de .../libpython-dev_2.7.9-1_armhf.deb ...
- Dépaquetage de libpython-dev:armhf (2.7.9-1) ...
- Sélection du paquet python-pkg-resources précédemment désélectionné.
- Préparation du dépaquetage de .../python-pkg-resources_5.5.1-1_all.deb ...
- Dépaquetage de python-pkg-resources (5.5.1-1) ...
- Sélection du paquet python-chardet précédemment désélectionné.
- Préparation du dépaquetage de .../python-chardet_2.3.0-1_all.deb ...
- Dépaquetage de python-chardet (2.3.0-1) ...
- Sélection du paquet python-colorama précédemment désélectionné.
- Préparation du dépaquetage de .../python-colorama_0.3.2-1_all.deb ...
- Dépaquetage de python-colorama (0.3.2-1) ...
- Sélection du paquet python2.7-dev précédemment désélectionné.
- Préparation du dépaquetage de .../python2.7-dev_2.7.9-2+deb8u1_armhf.deb ...
- Dépaquetage de python2.7-dev (2.7.9-2+deb8u1) ...
- Sélection du paquet python-dev précédemment désélectionné.
- Préparation du dépaquetage de .../python-dev_2.7.9-1_armhf.deb ...
- Dépaquetage de python-dev (2.7.9-1) ...
- Sélection du paquet python-distlib précédemment désélectionné.
- Préparation du dépaquetage de .../python-distlib_0.1.9-1_all.deb ...
- Dépaquetage de python-distlib (0.1.9-1) ...
- Sélection du paquet python-six précédemment désélectionné.
- Préparation du dépaquetage de .../python-six_1.8.0-1_all.deb ...
- Dépaquetage de python-six (1.8.0-1) ...
- Sélection du paquet python-html5lib précédemment désélectionné.
- Préparation du dépaquetage de .../python-html5lib_0.999-3_all.deb ...
- Dépaquetage de python-html5lib (0.999-3) ...
- Sélection du paquet python-openssl précédemment désélectionné.
- Préparation du dépaquetage de .../python-openssl_0.13.1-2_armhf.deb ...
- Dépaquetage de python-openssl (0.13.1-2) ...
- Sélection du paquet python-ndg-httpsclient précédemment désélectionné.
- Préparation du dépaquetage de .../python-ndg-httpsclient_0.3.2-1_all.deb ...
- Dépaquetage de python-ndg-httpsclient (0.3.2-1) ...
- Sélection du paquet python-urllib3 précédemment désélectionné.
- Préparation du dépaquetage de .../python-urllib3_1.9.1-3_all.deb ...
- Dépaquetage de python-urllib3 (1.9.1-3) ...
- Sélection du paquet python-requests précédemment désélectionné.
- Préparation du dépaquetage de .../python-requests_2.4.3-6_all.deb ...
- Dépaquetage de python-requests (2.4.3-6) ...
- Sélection du paquet python-setuptools précédemment désélectionné.
- Préparation du dépaquetage de .../python-setuptools_5.5.1-1_all.deb ...
- Dépaquetage de python-setuptools (5.5.1-1) ...
- Sélection du paquet python-pip précédemment désélectionné.
- Préparation du dépaquetage de .../python-pip_1.5.6-5_all.deb ...
- Dépaquetage de python-pip (1.5.6-5) ...
- Sélection du paquet python-pyasn1 précédemment désélectionné.
- Préparation du dépaquetage de .../python-pyasn1_0.1.7-1_all.deb ...
- Dépaquetage de python-pyasn1 (0.1.7-1) ...
- Sélection du paquet python-wheel précédemment désélectionné.
- Préparation du dépaquetage de .../python-wheel_0.24.0-1_all.deb ...
- Dépaquetage de python-wheel (0.24.0-1) ...
- Sélection du paquet rsync précédemment désélectionné.
- Préparation du dépaquetage de .../rsync_3.1.1-3_armhf.deb ...
- Dépaquetage de rsync (3.1.1-3) ...
- Sélection du paquet i2c-tools précédemment désélectionné.
- Préparation du dépaquetage de .../i2c-tools_3.1.1+svn-2_armhf.deb ...
- Dépaquetage de i2c-tools (3.1.1+svn-2) ...
- Sélection du paquet python-smbus précédemment désélectionné.
- Préparation du dépaquetage de .../python-smbus_3.1.1+svn-2_armhf.deb ...
- Dépaquetage de python-smbus (3.1.1+svn-2) ...
- Traitement des actions différées (« triggers ») pour man-db (2.7.5-1~bpo8+1) ...
- Traitement des actions différées (« triggers ») pour systemd (215-17+deb8u7) ...
- Paramétrage de libexpat1-dev:armhf (2.1.0-6+deb8u4) ...
- Paramétrage de libpython2.7-dev:armhf (2.7.9-2+deb8u1) ...
- Paramétrage de liberror-perl (0.17-1.1) ...
- Paramétrage de git-man (1:2.1.4-2.1+deb8u3) ...
- Paramétrage de git (1:2.1.4-2.1+deb8u3) ...
- Paramétrage de git-core (1:2.1.4-2.1+deb8u3) ...
- Paramétrage de libpython-dev:armhf (2.7.9-1) ...
- Paramétrage de python-pkg-resources (5.5.1-1) ...
- Paramétrage de python-chardet (2.3.0-1) ...
- Paramétrage de python-colorama (0.3.2-1) ...
- Paramétrage de python2.7-dev (2.7.9-2+deb8u1) ...
- Paramétrage de python-dev (2.7.9-1) ...
- Paramétrage de python-distlib (0.1.9-1) ...
- Paramétrage de python-six (1.8.0-1) ...
- Paramétrage de python-html5lib (0.999-3) ...
- Paramétrage de python-openssl (0.13.1-2) ...
- Paramétrage de python-ndg-httpsclient (0.3.2-1) ...
- Paramétrage de python-urllib3 (1.9.1-3) ...
- Paramétrage de python-requests (2.4.3-6) ...
- Paramétrage de python-setuptools (5.5.1-1) ...
- Paramétrage de python-pip (1.5.6-5) ...
- Paramétrage de python-pyasn1 (0.1.7-1) ...
- Paramétrage de python-wheel (0.24.0-1) ...
- Paramétrage de rsync (3.1.1-3) ...
- Paramétrage de i2c-tools (3.1.1+svn-2) ...
- /run/udev or .udevdb or .udev presence implies active udev. Aborting MAKEDEV invocation.
- Paramétrage de python-smbus (3.1.1+svn-2) ...
- Traitement des actions différées (« triggers ») pour python-support (1.0.15) ...
- Traitement des actions différées (« triggers ») pour systemd (215-17+deb8u7) ...
- pi@SmartPlantPi:~ 11:18 $ git clone https://github.com/adafruit/Adafruit_Python_GPIO.git
- Clonage dans 'Adafruit_Python_GPIO'...
- remote: Counting objects: 373, done.
- remote: Total 373 (delta 0), reused 0 (delta 0), pack-reused 373
- Réception d'objets: 100% (373/373), 147.36 KiB | 0 bytes/s, fait.
- Résolution des deltas: 100% (226/226), fait.
- Vérification de la connectivité... fait.
- pi@SmartPlantPi:~ 11:24 $ cd Adafruit_Python_GPIO
- pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:24 $ sudo python setup.py install
- running install
- running bdist_egg
- running egg_info
- creating Adafruit_GPIO.egg-info
- writing requirements to Adafruit_GPIO.egg-info/requires.txt
- writing Adafruit_GPIO.egg-info/PKG-INFO
- writing top-level names to Adafruit_GPIO.egg-info/top_level.txt
- writing dependency_links to Adafruit_GPIO.egg-info/dependency_links.txt
- writing manifest file 'Adafruit_GPIO.egg-info/SOURCES.txt'
- reading manifest file 'Adafruit_GPIO.egg-info/SOURCES.txt'
- writing manifest file 'Adafruit_GPIO.egg-info/SOURCES.txt'
- installing library code to build/bdist.linux-armv7l/egg
- running install_lib
- running build_py
- creating build
- creating build/lib.linux-armv7l-2.7
- creating build/lib.linux-armv7l-2.7/tests
- copying tests/test_Platform.py -> build/lib.linux-armv7l-2.7/tests
- copying tests/test_SPI.py -> build/lib.linux-armv7l-2.7/tests
- copying tests/test_I2C.py -> build/lib.linux-armv7l-2.7/tests
- copying tests/MockGPIO.py -> build/lib.linux-armv7l-2.7/tests
- copying tests/test_PWM.py -> build/lib.linux-armv7l-2.7/tests
- copying tests/test_GPIO.py -> build/lib.linux-armv7l-2.7/tests
- copying tests/__init__.py -> build/lib.linux-armv7l-2.7/tests
- creating build/lib.linux-armv7l-2.7/Adafruit_GPIO
- copying Adafruit_GPIO/MCP230xx.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
- copying Adafruit_GPIO/PCF8574.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
- copying Adafruit_GPIO/SPI.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
- copying Adafruit_GPIO/GPIO.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
- copying Adafruit_GPIO/FT232H.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
- copying Adafruit_GPIO/Platform.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
- copying Adafruit_GPIO/PWM.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
- copying Adafruit_GPIO/__init__.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
- copying Adafruit_GPIO/I2C.py -> build/lib.linux-armv7l-2.7/Adafruit_GPIO
- creating build/bdist.linux-armv7l
- creating build/bdist.linux-armv7l/egg
- creating build/bdist.linux-armv7l/egg/tests
- copying build/lib.linux-armv7l-2.7/tests/test_Platform.py -> build/bdist.linux-armv7l/egg/tests
- copying build/lib.linux-armv7l-2.7/tests/test_SPI.py -> build/bdist.linux-armv7l/egg/tests
- copying build/lib.linux-armv7l-2.7/tests/test_I2C.py -> build/bdist.linux-armv7l/egg/tests
- copying build/lib.linux-armv7l-2.7/tests/MockGPIO.py -> build/bdist.linux-armv7l/egg/tests
- copying build/lib.linux-armv7l-2.7/tests/test_PWM.py -> build/bdist.linux-armv7l/egg/tests
- copying build/lib.linux-armv7l-2.7/tests/test_GPIO.py -> build/bdist.linux-armv7l/egg/tests
- copying build/lib.linux-armv7l-2.7/tests/__init__.py -> build/bdist.linux-armv7l/egg/tests
- creating build/bdist.linux-armv7l/egg/Adafruit_GPIO
- copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/MCP230xx.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
- copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/PCF8574.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
- copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/SPI.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
- copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/GPIO.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
- copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/FT232H.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
- copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/Platform.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
- copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/PWM.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
- copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/__init__.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
- copying build/lib.linux-armv7l-2.7/Adafruit_GPIO/I2C.py -> build/bdist.linux-armv7l/egg/Adafruit_GPIO
- byte-compiling build/bdist.linux-armv7l/egg/tests/test_Platform.py to test_Platform.pyc
- byte-compiling build/bdist.linux-armv7l/egg/tests/test_SPI.py to test_SPI.pyc
- byte-compiling build/bdist.linux-armv7l/egg/tests/test_I2C.py to test_I2C.pyc
- byte-compiling build/bdist.linux-armv7l/egg/tests/MockGPIO.py to MockGPIO.pyc
- byte-compiling build/bdist.linux-armv7l/egg/tests/test_PWM.py to test_PWM.pyc
- byte-compiling build/bdist.linux-armv7l/egg/tests/test_GPIO.py to test_GPIO.pyc
- byte-compiling build/bdist.linux-armv7l/egg/tests/__init__.py to __init__.pyc
- byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/MCP230xx.py to MCP230xx.pyc
- byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/PCF8574.py to PCF8574.pyc
- byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/SPI.py to SPI.pyc
- byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/GPIO.py to GPIO.pyc
- byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/FT232H.py to FT232H.pyc
- byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/Platform.py to Platform.pyc
- byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/PWM.py to PWM.pyc
- byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/__init__.py to __init__.pyc
- byte-compiling build/bdist.linux-armv7l/egg/Adafruit_GPIO/I2C.py to I2C.pyc
- creating build/bdist.linux-armv7l/egg/EGG-INFO
- copying Adafruit_GPIO.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
- copying Adafruit_GPIO.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
- copying Adafruit_GPIO.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
- copying Adafruit_GPIO.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
- copying Adafruit_GPIO.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
- zip_safe flag not set; analyzing archive contents...
- creating dist
- creating 'dist/Adafruit_GPIO-1.0.3-py2.7.egg' and adding 'build/bdist.linux-armv7l/egg' to it
- removing 'build/bdist.linux-armv7l/egg' (and everything under it)
- Processing Adafruit_GPIO-1.0.3-py2.7.egg
- Copying Adafruit_GPIO-1.0.3-py2.7.egg to /usr/local/lib/python2.7/dist-packages
- Adding Adafruit-GPIO 1.0.3 to easy-install.pth file
- Installed /usr/local/lib/python2.7/dist-packages/Adafruit_GPIO-1.0.3-py2.7.egg
- Processing dependencies for Adafruit-GPIO==1.0.3
- Searching for spidev
- Reading https://pypi.python.org/simple/spidev/
- Best match: spidev 3.2
- Downloading https://pypi.python.org/packages/36/83/73748b6e1819b57d8e1df8090200195cdae33aaa22a49a91ded16785eedd/spidev-3.2.tar.gz#md5=f601676f1bb48b9aa3b3897f95216365
- Processing spidev-3.2.tar.gz
- Writing /tmp/easy_install-9ruspr/spidev-3.2/setup.cfg
- Running spidev-3.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-9ruspr/spidev-3.2/egg-dist-tmp-Rj0zBy
- zip_safe flag not set; analyzing archive contents...
- Adding spidev 3.2 to easy-install.pth file
- Installed /usr/local/lib/python2.7/dist-packages/spidev-3.2-py2.7-linux-armv7l.egg
- Searching for adafruit-pureio
- Reading https://pypi.python.org/simple/adafruit-pureio/
- Best match: Adafruit-PureIO 0.2.1
- Downloading https://pypi.python.org/packages/55/fa/99b1006fb4bb356762357b297d8db6ec9ffa13af480692ab72aa4a0dd0c4/Adafruit_PureIO-0.2.1.tar.gz#md5=5b3276059eb55d6c37429a8413a92029
- Processing Adafruit_PureIO-0.2.1.tar.gz
- Writing /tmp/easy_install-cikCei/Adafruit_PureIO-0.2.1/setup.cfg
- 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
- zip_safe flag not set; analyzing archive contents...
- Adding Adafruit-PureIO 0.2.1 to easy-install.pth file
- Installed /usr/local/lib/python2.7/dist-packages/Adafruit_PureIO-0.2.1-py2.7.egg
- Finished processing dependencies for Adafruit-GPIO==1.0.3
- pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:24 $ sudo aptitude install -y python-smbus i2c-tools
- Aucun paquet ne va être installé, mis à jour ou enlevé.
- 0 paquets mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
- Il est nécessaire de télécharger 0 o d'archives. Après dépaquetage, 0 o seront utilisés.
- pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:24 $ sudo -i
- root@SmartPlantPi:~# echo 'i2c-bcm2708' >> /etc/modules
- root@SmartPlantPi:~# echo 'i2c-dev' >> /etc/modules
- root@SmartPlantPi:~# echo 'dtparam=i2c1=on' >> /boot/config.txt
- root@SmartPlantPi:~# echo 'dtparam=i2c_arm=on' >> /boot/config.txt
- root@SmartPlantPi:~# exit
- déconnexion
- pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:25 $ sudo nano /etc/mod
- modprobe.d/ modules modules-load.d/
- pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:25 $ sudo nano /etc/modules
- pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:25 $ sudo nano /boot/config.txt
- pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:26 $ sudo reboot
- Broadcast message from pi@SmartPlantPi on pts/0 (dim. 2017-08-06 23:26:13 CEST):
- The system is going down for reboot NOW!
- pi@SmartPlantPi:~/Adafruit_Python_GPIO 11:26 $
- Using username "pi".
- Authenticating with public key "Cl▒ RSA pour SSH CP"
- Last login: Sun Aug 6 23:03:03 2017 from 10.0.0.50
- pi@SmartPlantPi:~ 11:31 $ sudo i2cdetect -y 1
- 0 1 2 3 4 5 6 7 8 9 a b c d e f
- 00: -- -- -- -- -- -- -- -- -- -- -- -- --
- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
- 40: 40 -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 60: 60 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 70: -- -- -- -- -- -- -- --
- pi@SmartPlantPi:~ 11:31 $ sudo aptitude install python-pip python-pil
- Les NOUVEAUX paquets suivants vont être installés :
- libjbig0{a} liblcms2-2{a} libtiff5{a} libwebp5{a} libwebpdemux1{a} libwebpmux1{a} python-pil
- 0 paquets mis à jour, 7 nouvellement installés, 0 à enlever et 0 non mis à jour.
- Il est nécessaire de télécharger 891 ko d'archives. Après dépaquetage, 2 413 ko seront utilisés.
- Voulez-vous continuer ? [Y/n/?] n
- Abandon.
- pi@SmartPlantPi:~ 11:35 $ sudo aptitude install -y python-pil
- Les NOUVEAUX paquets suivants vont être installés :
- libjbig0{a} liblcms2-2{a} libtiff5{a} libwebp5{a} libwebpdemux1{a} libwebpmux1{a} python-pil
- 0 paquets mis à jour, 7 nouvellement installés, 0 à enlever et 0 non mis à jour.
- Il est nécessaire de télécharger 891 ko d'archives. Après dépaquetage, 2 413 ko seront utilisés.
- Prendre : 1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libjbig0 armhf 2.1-3.1 [27,5 kB]
- Prendre : 2 http://mirrordirector.raspbian.org/raspbian/ jessie/main liblcms2-2 armhf 2.6-3+deb8u1 [116 kB]
- Prendre : 3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libtiff5 armhf 4.0.3-12.3+deb8u4 [202 kB]
- Prendre : 4 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwebp5 armhf 0.4.1-1.2 [164 kB]
- Prendre : 5 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwebpdemux1 armhf 0.4.1-1.2 [49,4 kB]
- Prendre : 6 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwebpmux1 armhf 0.4.1-1.2 [54,6 kB]
- Prendre : 7 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pil armhf 2.6.1-2+deb8u3 [278 kB]
- 891 ko téléchargés en 6s (134 ko/s)
- Sélection du paquet libjbig0:armhf précédemment désélectionné.
- (Lecture de la base de données... 33163 fichiers et répertoires déjà installés.)
- Préparation du dépaquetage de .../libjbig0_2.1-3.1_armhf.deb ...
- Dépaquetage de libjbig0:armhf (2.1-3.1) ...
- Sélection du paquet liblcms2-2:armhf précédemment désélectionné.
- Préparation du dépaquetage de .../liblcms2-2_2.6-3+deb8u1_armhf.deb ...
- Dépaquetage de liblcms2-2:armhf (2.6-3+deb8u1) ...
- Sélection du paquet libtiff5:armhf précédemment désélectionné.
- Préparation du dépaquetage de .../libtiff5_4.0.3-12.3+deb8u4_armhf.deb ...
- Dépaquetage de libtiff5:armhf (4.0.3-12.3+deb8u4) ...
- Sélection du paquet libwebp5:armhf précédemment désélectionné.
- Préparation du dépaquetage de .../libwebp5_0.4.1-1.2_armhf.deb ...
- Dépaquetage de libwebp5:armhf (0.4.1-1.2) ...
- Sélection du paquet libwebpdemux1:armhf précédemment désélectionné.
- Préparation du dépaquetage de .../libwebpdemux1_0.4.1-1.2_armhf.deb ...
- Dépaquetage de libwebpdemux1:armhf (0.4.1-1.2) ...
- Sélection du paquet libwebpmux1:armhf précédemment désélectionné.
- Préparation du dépaquetage de .../libwebpmux1_0.4.1-1.2_armhf.deb ...
- Dépaquetage de libwebpmux1:armhf (0.4.1-1.2) ...
- Sélection du paquet python-pil:armhf précédemment désélectionné.
- Préparation du dépaquetage de .../python-pil_2.6.1-2+deb8u3_armhf.deb ...
- Dépaquetage de python-pil:armhf (2.6.1-2+deb8u3) ...
- Paramétrage de libjbig0:armhf (2.1-3.1) ...
- Paramétrage de liblcms2-2:armhf (2.6-3+deb8u1) ...
- Paramétrage de libtiff5:armhf (4.0.3-12.3+deb8u4) ...
- Paramétrage de libwebp5:armhf (0.4.1-1.2) ...
- Paramétrage de libwebpdemux1:armhf (0.4.1-1.2) ...
- Paramétrage de libwebpmux1:armhf (0.4.1-1.2) ...
- Paramétrage de python-pil:armhf (2.6.1-2+deb8u3) ...
- Traitement des actions différées (« triggers ») pour libc-bin (2.19-18+deb8u10) ...
- pi@SmartPlantPi:~ 11:37 $ sudo pip install --upgrade setuptools pip
- Downloading/unpacking setuptools from https://pypi.python.org/packages/f6/d0/926c904249bee08b7c92848cb015cc8204cc4a36c4e0f9132e32109f8ab1/setuptools-36.2.7-py2.py3-none-any.whl#md5=f943653dd68916d5a34129627bbe57da
- Downloading setuptools-36.2.7-py2.py3-none-any.whl (477kB): 477kB downloaded
- Downloading/unpacking pip from https://pypi.python.org/packages/b6/ac/7015eb97dc749283ffdec1c3a88ddb8ae03b8fad0f0e611408f196358da3/pip-9.0.1-py2.py3-none-any.whl#md5=297dbd16ef53bcef0447d245815f5144
- Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB): 1.3MB downloaded
- Installing collected packages: setuptools, pip
- Found existing installation: setuptools 5.5.1
- Not uninstalling setuptools at /usr/lib/python2.7/dist-packages, owned by OS
- Found existing installation: pip 1.5.6
- Not uninstalling pip at /usr/lib/python2.7/dist-packages, owned by OS
- Successfully installed setuptools pip
- Cleaning up...
- pi@SmartPlantPi:~ 11:37 $ sudo pip install setuptools --upgrade
- Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages
- pi@SmartPlantPi:~ 11:38 $ sudo pip install apscheduler
- Collecting apscheduler
- Downloading APScheduler-3.3.1-py2.py3-none-any.whl (56kB)
- 100% |████████████████████████████████| 61kB 571kB/s
- Collecting pytz (from apscheduler)
- Downloading pytz-2017.2-py2.py3-none-any.whl (484kB)
- 100% |████████████████████████████████| 491kB 501kB/s
- Collecting funcsigs; python_version == "2.7" (from apscheduler)
- Downloading funcsigs-1.0.2-py2.py3-none-any.whl
- Requirement already satisfied: six>=1.4.0 in /usr/lib/python2.7/dist-packages (from apscheduler)
- Collecting tzlocal>=1.2 (from apscheduler)
- Downloading tzlocal-1.4.tar.gz
- Requirement already satisfied: setuptools>=0.7 in /usr/local/lib/python2.7/dist-packages (from apscheduler)
- Collecting futures; python_version == "2.7" (from apscheduler)
- Downloading futures-3.1.1-py2-none-any.whl
- Building wheels for collected packages: tzlocal
- Running setup.py bdist_wheel for tzlocal ... done
- Stored in directory: /root/.cache/pip/wheels/dc/d6/f0/84194ccbdd3e2551bdb207e1fc1925efd32956c5767328103b
- Successfully built tzlocal
- Installing collected packages: pytz, funcsigs, tzlocal, futures, apscheduler
- Successfully installed apscheduler-3.3.1 funcsigs-1.0.2 futures-3.1.1 pytz-2017.2 tzlocal-1.4
- pi@SmartPlantPi:~ 11:38 $ sudo pip install 'pubnub>=4.0.5'
- Collecting pubnub>=4.0.5
- Downloading pubnub-4.0.13-py2-none-any.whl (68kB)
- 100% |████████████████████████████████| 71kB 644kB/s
- Requirement already satisfied: requests>=2.4 in /usr/lib/python2.7/dist-packages (from pubnub>=4.0.5)
- Collecting six>=1.10 (from pubnub>=4.0.5)
- Downloading six-1.10.0-py2.py3-none-any.whl
- Collecting pycryptodomex>=3.3 (from pubnub>=4.0.5)
- Downloading pycryptodomex-3.4.6.tar.gz (6.5MB)
- 100% |████████████████████████████████| 6.5MB 39kB/s
- Building wheels for collected packages: pycryptodomex
- Running setup.py bdist_wheel for pycryptodomex ... done
- Stored in directory: /root/.cache/pip/wheels/76/28/aa/d08cf510d56c3f0be340ef6a5453e970ce14ca82c1c2a899d9
- Successfully built pycryptodomex
- Installing collected packages: six, pycryptodomex, pubnub
- Found existing installation: six 1.8.0
- Uninstalling six-1.8.0:
- Successfully uninstalled six-1.8.0
- Successfully installed pubnub-4.0.13 pycryptodomex-3.4.6 six-1.10.0
- pi@SmartPlantPi:~ 11:40 $ cd ~
- pi@SmartPlantPi:~ 11:40 $ sudo git clone https://github.com/switchdoclabs/SDL_Pi_SmartPlantPi
- Clonage dans 'SDL_Pi_SmartPlantPi'...
- remote: Counting objects: 172, done.
- remote: Total 172 (delta 0), reused 0 (delta 0), pack-reused 172
- Réception d'objets: 100% (172/172), 126.78 KiB | 0 bytes/s, fait.
- Résolution des deltas: 100% (65/65), fait.
- Vérification de la connectivité... fait.
- pi@SmartPlantPi:~ 11:40 $ cd SDL_Pi_SmartPlantPi
- pi@SmartPlantPi:~/SDL_Pi_SmartPlantPi 11:40 $ sudo python testAll.py
- Traceback (most recent call last):
- File "testAll.py", line 32, in <module>
- import Scroll_SSD1306
- File "/home/pi/SDL_Pi_SmartPlantPi/Scroll_SSD1306.py", line 29, in <module>
- font = ImageFont.truetype('/usr/share/fonts/truetype/roboto/Roboto-Regular.ttf', 10)
- File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 240, in truetype
- return FreeTypeFont(font, size, index, encoding)
- File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 137, in __init__
- self.font = core.getfont(font, size, index, encoding)
- IOError: cannot open resource
- pi@SmartPlantPi:~/SDL_Pi_SmartPlantPi 12:14 $ uname -a
- Linux SmartPlantPi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
- pi@SmartPlantPi:~/SDL_Pi_SmartPlantPi 12:16 $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement