Advertisement
Guest User

Untitled

a guest
Dec 26th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 34.20 KB | None | 0 0
  1. pi@habnode-master ~ % sudo apt purge openhab2 openhab2-addons  
  2. Reading package lists... Done
  3. Building dependency tree      
  4. Reading state information... Done
  5. Package 'openhab2-addons' is not installed, so not removed
  6. The following packages will be REMOVED:
  7.   openhab2*
  8. 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
  9. After this operation, 94.4 MB disk space will be freed.
  10. Do you want to continue? [Y/n] y
  11. (Reading database ... 84677 files and directories currently installed.)
  12. Removing openhab2 (2.5.0-1) ...
  13. Processing triggers for systemd (241-7~deb10u2+rpi1) ...
  14. (Reading database ... 83454 files and directories currently installed.)
  15. Purging configuration files for openhab2 (2.5.0-1) ...
  16. pi@habnode-master ~ % sudo apt install openhab2                  
  17. Reading package lists... Done
  18. Building dependency tree      
  19. Reading state information... Done
  20. The following NEW packages will be installed:
  21.   openhab2
  22. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  23. Need to get 0 B/82.6 MB of archives.
  24. After this operation, 94.4 MB of additional disk space will be used.
  25. Selecting previously unselected package openhab2.
  26. (Reading database ... 83401 files and directories currently installed.)
  27. Preparing to unpack .../openhab2_2.5.0-1_all.deb ...
  28. Unpacking openhab2 (2.5.0-1) ...
  29. Setting up openhab2 (2.5.0-1) ...
  30. [openHAB] Please use the following commands to launch openHAB on a system restart.
  31.             sudo /bin/systemctl daemon-reload
  32.             sudo /bin/systemctl enable openhab2.service
  33.  
  34. [openHAB] You can start openhab2 manually by executing the command:
  35.             sudo /bin/systemctl start openhab2.service
  36.  
  37. Processing triggers for systemd (241-7~deb10u2+rpi1) ...
  38. pi@habnode-master ~ % sudo /bin/systemctl daemon-reload          
  39. pi@habnode-master ~ % sudo /bin/systemctl enable openhab2.service
  40. Synchronizing state of openhab2.service with SysV service script with /lib/systemd/systemd-sysv-install.
  41. Executing: /lib/systemd/systemd-sysv-install enable openhab2
  42. Created symlink /etc/systemd/system/multi-user.target.wants/openhab2.service → /usr/lib/systemd/system/openhab2.service.
  43. pi@habnode-master ~ % sudo /bin/systemctl start openhab2.service
  44. pi@habnode-master ~ % sudo git clone https://github.com/openhab/openhabian.git /opt/openhabian
  45. Cloning into '/opt/openhabian'...
  46. remote: Enumerating objects: 2468, done.
  47. remote: Total 2468 (delta 0), reused 0 (delta 0), pack-reused 2468
  48. Receiving objects: 100% (2468/2468), 1.26 MiB | 3.51 MiB/s, done.
  49. Resolving deltas: 100% (1652/1652), done.
  50. pi@habnode-master ~ % sudo ln -s /opt/openhabian/openhabian-setup.sh /usr/local/bin/openhabian-config
  51. pi@habnode-master ~ % sudo /bin/systemctl stop openhab2.service                                
  52. pi@habnode-master ~ % sudo openhabian-config                                                        
  53. 2019-12-24_14:54:31_GMT [openHABian] Checking for root privileges... OK
  54. Ign:1 http://download.webmin.com/download/repository sarge InRelease
  55. Hit:2 http://download.webmin.com/download/repository sarge Release                                                                                
  56. Hit:3 http://archive.raspberrypi.org/debian buster InRelease                                                                                      
  57. Hit:4 http://raspbian.raspberrypi.org/raspbian buster InRelease                            
  58. Ign:5 https://dl.bintray.com/openhab/apt-repo2 stable InRelease      
  59. Get:7 https://dl.bintray.com/openhab/apt-repo2 stable Release [6,051 B]
  60. Fetched 6,051 B in 1s (4,071 B/s)
  61. Reading package lists... Done
  62. 2019-12-24_14:54:42_GMT [openHABian] Setting up and loading configuration file '/etc/openhabian.conf' in manual setup... OK
  63. 2019-12-24_14:54:50_GMT [openHABian] openHABian configuration tool version: [master]v1.5-541(5158a5f)
  64. 2019-12-24_14:54:50_GMT [openHABian] Checking for changes in origin... OK
  65. 2019-12-24_14:54:59_GMT [openHABian] Updating myself... OK - No remote changes detected. You are up to date!
  66. 2019-12-24_14:55:02_GMT [openHABian] Updating repositories and upgrading installed packages...
  67. $ wget -O openhab-key.asc https://bintray.com/user/downloadSubjectPublicKey?username=openhab
  68. --2019-12-24 14:55:02--  https://bintray.com/user/downloadSubjectPublicKey?username=openhab
  69. Resolving bintray.com (bintray.com)... 108.168.194.93
  70. Connecting to bintray.com (bintray.com)|108.168.194.93|:443... connected.
  71. HTTP request sent, awaiting response... 200 OK
  72. Length: unspecified [application/octet-stream]
  73. Saving to: ‘openhab-key.asc’
  74.  
  75. openhab-key.asc                                   [ <=>                                                                                           ]   3.14K  --.-KB/s    in 0.001s  
  76.  
  77. 2019-12-24 14:55:03 (4.84 MB/s) - ‘openhab-key.asc’ saved [3219]
  78.  
  79.  
  80. $ apt-key add openhab-key.asc
  81. OK
  82.  
  83. $ apt-get --yes upgrade
  84. Reading package lists... Done
  85. Building dependency tree      
  86. Reading state information... Done
  87. Calculating upgrade... Done
  88. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  89.  
  90. $ java_install_or_update  
  91. openjdk version "1.8.0_212"
  92. OpenJDK Runtime Environment (build 1.8.0_212-8u212-b01-1+rpi1-b01)
  93. OpenJDK Client VM (build 25.212-b01, mixed mode)
  94.  
  95. $ systemctl stop openhab2.service
  96. Reading package lists... Done
  97. Building dependency tree      
  98. Reading state information... Done
  99. The following additional packages will be installed:
  100.   libjq1 libonig5
  101. The following NEW packages will be installed:
  102.   jq libjq1 libonig5
  103. 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
  104. Need to get 329 kB of archives.
  105. After this operation, 982 kB of additional disk space will be used.
  106. Get:1 http://mirror.umd.edu/raspbian/raspbian buster/main armhf libonig5 armhf 6.9.1-1 [150 kB]
  107. Get:2 http://mirror.umd.edu/raspbian/raspbian buster/main armhf libjq1 armhf 1.5+dfsg-2+b1 [119 kB]
  108. Get:3 http://mirror.umd.edu/raspbian/raspbian buster/main armhf jq armhf 1.5+dfsg-2+b1 [59.3 kB]
  109. Fetched 329 kB in 1s (269 kB/s)
  110. Selecting previously unselected package libonig5:armhf.
  111. (Reading database ... 84677 files and directories currently installed.)
  112. Preparing to unpack .../libonig5_6.9.1-1_armhf.deb ...
  113. Unpacking libonig5:armhf (6.9.1-1) ...
  114. Selecting previously unselected package libjq1:armhf.
  115. Preparing to unpack .../libjq1_1.5+dfsg-2+b1_armhf.deb ...
  116. Unpacking libjq1:armhf (1.5+dfsg-2+b1) ...
  117. Selecting previously unselected package jq.
  118. Preparing to unpack .../jq_1.5+dfsg-2+b1_armhf.deb ...
  119. Unpacking jq (1.5+dfsg-2+b1) ...
  120. Setting up libonig5:armhf (6.9.1-1) ...
  121. Setting up libjq1:armhf (1.5+dfsg-2+b1) ...
  122. Setting up jq (1.5+dfsg-2+b1) ...
  123. Processing triggers for man-db (2.8.5-2) ...
  124. Processing triggers for libc-bin (2.28-10+rpi1) ...
  125. openjdk version "1.8.0_212"
  126. OpenJDK Runtime Environment (build 1.8.0_212-8u212-b01-1+rpi1-b01)
  127. OpenJDK Client VM (build 25.212-b01, mixed mode)
  128. 2019-12-24_14:55:14_GMT [openHABian] Installing Java Zulu 32-Bit OpenJDK...
  129. $ wget -nv -O /tmp/openhabian.0WFg7/zulu8.tar.gz https://cdn.azul.com/zulu-embedded/bin/zulu8.40.0.178-ca-jdk1.8.0_222-linux_aarch32hf.tar.gz
  130. 2019-12-24 14:55:56 URL:https://cdn.azul.com/zulu-embedded/bin/zulu8.40.0.178-ca-jdk1.8.0_222-linux_aarch32hf.tar.gz [175560479/175560479] -> "/tmp/openhabian.0WFg7/zulu8.tar.gz" [1]
  131.  
  132. $ update-alternatives --remove-all java
  133.  
  134. $ update-alternatives --remove-all javac
  135.  
  136. $ update-alternatives --install /usr/bin/java java /opt/jdk/zulu8.40.0.178-ca-jdk1.8.0_222-linux_aarch32hf/bin/java 1083000
  137. update-alternatives: using /opt/jdk/zulu8.40.0.178-ca-jdk1.8.0_222-linux_aarch32hf/bin/java to provide /usr/bin/java (java) in auto mode
  138.  
  139. $ update-alternatives --install /usr/bin/javac javac /opt/jdk/zulu8.40.0.178-ca-jdk1.8.0_222-linux_aarch32hf/bin/javac 1083000
  140. update-alternatives: using /opt/jdk/zulu8.40.0.178-ca-jdk1.8.0_222-linux_aarch32hf/bin/javac to provide /usr/bin/javac (javac) in auto mode
  141.  
  142. $ wget -nv -O /tmp/openhabian.fgl0V/crypto.zip http://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip
  143. 2019-12-24 14:56:10 URL:http://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip [12181/12181] -> "/tmp/openhabian.fgl0V/crypto.zip" [1]
  144.  
  145. $ unzip /tmp/openhabian.fgl0V/crypto.zip -d /tmp/openhabian.fgl0V
  146. Archive:  /tmp/openhabian.fgl0V/crypto.zip
  147.    creating: /tmp/openhabian.fgl0V/ZuluJCEPolicies/
  148.   inflating: /tmp/openhabian.fgl0V/ZuluJCEPolicies/LICENSE  
  149.   inflating: /tmp/openhabian.fgl0V/ZuluJCEPolicies/README.txt  
  150.   inflating: /tmp/openhabian.fgl0V/ZuluJCEPolicies/DISCLAIMER  
  151.   inflating: /tmp/openhabian.fgl0V/ZuluJCEPolicies/local_policy.jar  
  152.   inflating: /tmp/openhabian.fgl0V/ZuluJCEPolicies/US_export_policy.jar  
  153. OK
  154.  
  155. $ systemctl start openhab2.service
  156. OK
  157.  
  158. $ apt-get -y install apt-transport-https
  159. Reading package lists... Done
  160. Building dependency tree      
  161. Reading state information... Done
  162. apt-transport-https is already the newest version (1.8.2).
  163. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  164. 2019-12-24_14:56:20_GMT [openHABian] Installing or upgrading to latest openHAB release (stable)...
  165. $ wget -O openhab-key.asc https://bintray.com/user/downloadSubjectPublicKey?username=openhab
  166. --2019-12-24 14:56:28--  https://bintray.com/user/downloadSubjectPublicKey?username=openhab
  167. Resolving bintray.com (bintray.com)... 108.168.194.93
  168. Connecting to bintray.com (bintray.com)|108.168.194.93|:443... connected.
  169. HTTP request sent, awaiting response... 200 OK
  170. Length: unspecified [application/octet-stream]
  171. Saving to: ‘openhab-key.asc’
  172.  
  173. openhab-key.asc                                   [ <=>                                                                                           ]   3.14K  --.-KB/s    in 0.001s  
  174.  
  175. 2019-12-24 14:56:28 (4.16 MB/s) - ‘openhab-key.asc’ saved [3219]
  176.  
  177.  
  178. $ apt-key add openhab-key.asc
  179. OK
  180.  
  181. $ apt-get update
  182. Ign:1 http://download.webmin.com/download/repository sarge InRelease
  183. Hit:2 http://download.webmin.com/download/repository sarge Release                                                                                                
  184. Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease                                                                                                  
  185. Hit:4 http://archive.raspberrypi.org/debian buster InRelease                                
  186. Ign:5 https://dl.bintray.com/openhab/apt-repo2 stable InRelease      
  187. Get:7 https://dl.bintray.com/openhab/apt-repo2 stable Release [6,051 B]
  188. Fetched 6,051 B in 1s (4,250 B/s)
  189. Reading package lists... Done
  190.  
  191. $ apt-get -y --allow-downgrades install openhab2=2.5.0-1
  192. Reading package lists... Done
  193. Building dependency tree      
  194. Reading state information... Done
  195. openhab2 is already the newest version (2.5.0-1).
  196. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  197.  
  198. $ adduser openhab gpio
  199. Adding user `openhab' to group `gpio' ...
  200. Adding user openhab to group gpio
  201. Done.
  202.  
  203. $ systemctl daemon-reload
  204.  
  205. $ systemctl enable openhab2.service
  206. Synchronizing state of openhab2.service with SysV service script with /lib/systemd/systemd-sysv-install.
  207. Executing: /lib/systemd/systemd-sysv-install enable openhab2
  208. OK
  209.  
  210. $ systemctl restart openhab2.service
  211. Optimizing Java to run on low memory single board computers...
  212. 2019-12-24_14:57:01_GMT [openHABian] Adding an openHAB dashboard tile for 'openhabiandocs'... OK
  213. 2019-12-24_14:57:08_GMT [openHABian] Installing basic cant-be-wrong packages (screen, vim, ...)...
  214. $ apt-get -y install screen vim nano mc vfu bash-completion htop curl wget multitail git bzip2 zip unzip xz-utils software-properties-common man-db whiptail acl usbutils dirmngr arping
  215. Reading package lists... Done
  216. Building dependency tree      
  217. Reading state information... Done
  218. bash-completion is already the newest version (1:2.8-6).
  219. bzip2 is already the newest version (1.0.6-9.2~deb10u1).
  220. bzip2 set to manually installed.
  221. curl is already the newest version (7.64.0-4).
  222. dirmngr is already the newest version (2.2.12-1+rpi1+deb10u1).
  223. git is already the newest version (1:2.20.1-2+deb10u1).
  224. htop is already the newest version (2.2.0-1).
  225. man-db is already the newest version (2.8.5-2).
  226. mc is already the newest version (3:4.8.22-1).
  227. nano is already the newest version (3.2-3).
  228. screen is already the newest version (4.6.2-3).
  229. software-properties-common is already the newest version (0.96.20.2-2).
  230. unzip is already the newest version (6.0-23+deb10u1).
  231. usbutils is already the newest version (1:010-3).
  232. vim is already the newest version (2:8.1.0875-5).
  233. wget is already the newest version (1.20.1-1.1).
  234. wget set to manually installed.
  235. whiptail is already the newest version (0.52.20-8).
  236. whiptail set to manually installed.
  237. xz-utils is already the newest version (5.2.4-1).
  238. xz-utils set to manually installed.
  239. zip is already the newest version (3.0-11).
  240. zip set to manually installed.
  241. The following package was automatically installed and is no longer required:
  242.   triggerhappy
  243. Use 'sudo apt autoremove' to remove it.
  244. The following additional packages will be installed:
  245.   libncurses5 libnet1 libpcap0.8
  246. The following NEW packages will be installed:
  247.   acl arping libncurses5 libnet1 libpcap0.8 multitail vfu
  248. 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
  249. Need to get 581 kB of archives.
  250. After this operation, 1,560 kB of additional disk space will be used.
  251. Get:1 http://mirror.umd.edu/raspbian/raspbian buster/main armhf acl armhf 2.2.53-4 [56.0 kB]
  252. Get:2 http://mirror.umd.edu/raspbian/raspbian buster/main armhf libnet1 armhf 1.1.6+dfsg-3.1 [53.9 kB]
  253. Get:3 http://mirror.umd.edu/raspbian/raspbian buster/main armhf libpcap0.8 armhf 1.8.1-6 [124 kB]
  254. Get:4 http://mirror.umd.edu/raspbian/raspbian buster/main armhf arping armhf 2.19-6 [28.5 kB]
  255. Get:5 http://mirror.umd.edu/raspbian/raspbian buster/main armhf libncurses5 armhf 6.1+20181013-2+deb10u2 [75.3 kB]
  256. Get:6 http://mirror.umd.edu/raspbian/raspbian buster/main armhf multitail armhf 6.4.2-3 [106 kB]
  257. Get:7 http://mirror.umd.edu/raspbian/raspbian buster/main armhf vfu armhf 4.16+repack-1 [137 kB]
  258. Fetched 581 kB in 3s (208 kB/s)
  259. Selecting previously unselected package acl.
  260. (Reading database ... 84691 files and directories currently installed.)
  261. Preparing to unpack .../0-acl_2.2.53-4_armhf.deb ...
  262. Unpacking acl (2.2.53-4) ...
  263. Selecting previously unselected package libnet1:armhf.
  264. Preparing to unpack .../1-libnet1_1.1.6+dfsg-3.1_armhf.deb ...
  265. Unpacking libnet1:armhf (1.1.6+dfsg-3.1) ...
  266. Selecting previously unselected package libpcap0.8:armhf.
  267. Preparing to unpack .../2-libpcap0.8_1.8.1-6_armhf.deb ...
  268. Unpacking libpcap0.8:armhf (1.8.1-6) ...
  269. Selecting previously unselected package arping.
  270. Preparing to unpack .../3-arping_2.19-6_armhf.deb ...
  271. Unpacking arping (2.19-6) ...
  272. Selecting previously unselected package libncurses5:armhf.
  273. Preparing to unpack .../4-libncurses5_6.1+20181013-2+deb10u2_armhf.deb ...
  274. Unpacking libncurses5:armhf (6.1+20181013-2+deb10u2) ...
  275. Selecting previously unselected package multitail.
  276. Preparing to unpack .../5-multitail_6.4.2-3_armhf.deb ...
  277. Unpacking multitail (6.4.2-3) ...
  278. Selecting previously unselected package vfu.
  279. Preparing to unpack .../6-vfu_4.16+repack-1_armhf.deb ...
  280. Unpacking vfu (4.16+repack-1) ...
  281. Setting up libnet1:armhf (1.1.6+dfsg-3.1) ...
  282. Setting up libncurses5:armhf (6.1+20181013-2+deb10u2) ...
  283. Setting up acl (2.2.53-4) ...
  284. Setting up vfu (4.16+repack-1) ...
  285. Setting up libpcap0.8:armhf (1.8.1-6) ...
  286. Setting up multitail (6.4.2-3) ...
  287. Setting up arping (2.19-6) ...
  288. Processing triggers for man-db (2.8.5-2) ...
  289. Processing triggers for libc-bin (2.28-10+rpi1) ...
  290. OK
  291. 2019-12-24_14:57:22_GMT [openHABian] Installing additional needed packages...
  292. $ apt-get -y install apt-transport-https bc sysstat avahi-daemon python python-pip avahi-autoipd fontconfig
  293. Reading package lists... Done
  294. Building dependency tree      
  295. Reading state information... Done
  296. apt-transport-https is already the newest version (1.8.2).
  297. avahi-daemon is already the newest version (0.7-4+b1).
  298. fontconfig is already the newest version (2.13.1-2).
  299. fontconfig set to manually installed.
  300. python is already the newest version (2.7.16-1).
  301. The following package was automatically installed and is no longer required:
  302.   triggerhappy
  303. Use 'sudo apt autoremove' to remove it.
  304. The following additional packages will be installed:
  305.   libexpat1-dev libjs-sphinxdoc libjs-underscore libpython-all-dev libpython-dev libpython2-dev libpython2.7 libpython2.7-dev python-all python-all-dev python-asn1crypto
  306.   python-cffi-backend python-configparser python-crypto python-cryptography python-dbus python-dev python-entrypoints python-enum34 python-gi python-ipaddress python-keyring
  307.   python-keyrings.alt python-pip-whl python-pkg-resources python-secretstorage python-setuptools python-six python-wheel python-xdg python2-dev python2.7-dev
  308. Suggested packages:
  309.   python-crypto-doc python-cryptography-doc python-cryptography-vectors python-dbus-dbg python-dbus-doc python-enum34-doc python-gi-cairo gnome-keyring libkf5wallet-bin
  310.   gir1.2-gnomekeyring-1.0 python-gdata python-keyczar python-secretstorage-doc python-setuptools-doc isag
  311. The following NEW packages will be installed:
  312.   avahi-autoipd bc libexpat1-dev libjs-sphinxdoc libjs-underscore libpython-all-dev libpython-dev libpython2-dev libpython2.7 libpython2.7-dev python-all python-all-dev
  313.   python-asn1crypto python-cffi-backend python-configparser python-crypto python-cryptography python-dbus python-dev python-entrypoints python-enum34 python-gi python-ipaddress
  314.   python-keyring python-keyrings.alt python-pip python-pip-whl python-pkg-resources python-secretstorage python-setuptools python-six python-wheel python-xdg python2-dev
  315.   python2.7-dev sysstat
  316. 0 upgraded, 36 newly installed, 0 to remove and 0 not upgraded.
  317. Need to get 36.6 MB of archives.
  318. After this operation, 63.6 MB of additional disk space will be used.
  319. Get:1 http://archive.raspberrypi.org/debian buster/main armhf python-pip-whl all 18.1-5+rpt1 [1,591 kB]
  320. Get:2 http://mirror.umd.edu/raspbian/raspbian buster/main armhf bc armhf 1.07.1-2 [101 kB]
  321. Get:3 http://mirror.umd.edu/raspbian/raspbian buster/main armhf avahi-autoipd armhf 0.7-4+b1 [53.4 kB]
  322. Get:4 http://mirror.umd.edu/raspbian/raspbian buster/main armhf libexpat1-dev armhf 2.2.6-2+deb10u1 [127 kB]                          
  323. Get:5 http://archive.raspberrypi.org/debian buster/main armhf python-pip all 18.1-5+rpt1 [215 kB]                    
  324. Get:6 http://mirror.umd.edu/raspbian/raspbian buster/main armhf libjs-underscore all 1.9.1~dfsg-1 [99.4 kB]                  
  325. Get:7 http://mirror.umd.edu/raspbian/raspbian buster/main armhf libjs-sphinxdoc all 1.8.4-1 [95.9 kB]
  326. Get:8 http://mirror.umd.edu/raspbian/raspbian buster/main armhf libpython2.7 armhf 2.7.16-2+deb10u1 [873 kB]
  327. Get:9 http://mirror.umd.edu/raspbian/raspbian buster/main armhf libpython2.7-dev armhf 2.7.16-2+deb10u1 [30.9 MB]
  328. Get:12 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpython-all-dev armhf 2.7.16-1 [1,064 B]
  329. Get:13 http://raspbian.raspberrypi.org/raspbian buster/main armhf python-all armhf 2.7.16-1 [1,044 B]
  330. Get:15 http://raspbian.raspberrypi.org/raspbian buster/main armhf python2-dev armhf 2.7.16-1 [1,216 B]                                                                              
  331. Get:16 http://raspbian.raspberrypi.org/raspbian buster/main armhf python-dev armhf 2.7.16-1 [1,192 B]                                                                              
  332. Get:17 http://raspbian.raspberrypi.org/raspbian buster/main armhf python-all-dev armhf 2.7.16-1 [1,068 B]                                                                          
  333. Get:10 http://mirror.umd.edu/raspbian/raspbian buster/main armhf libpython2-dev armhf 2.7.16-1 [20.9 kB]                                                                            
  334. Get:11 http://mirror.umd.edu/raspbian/raspbian buster/main armhf libpython-dev armhf 2.7.16-1 [20.9 kB]                                                                            
  335. Get:14 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python2.7-dev armhf 2.7.16-2+deb10u1 [291 kB]                                                                      
  336. Get:18 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-asn1crypto all 0.24.0-1 [78.1 kB]                                                                          
  337. Get:19 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-cffi-backend armhf 1.12.2-1 [69.4 kB]                                                                      
  338. Get:20 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-configparser all 3.5.0b2-1 [59.2 kB]                                                                        
  339. Get:21 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-crypto armhf 2.6.1-9+b1 [248 kB]                                                                            
  340. Get:22 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-enum34 all 1.1.6-2 [35.3 kB]                                                                                
  341. Get:23 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-ipaddress all 1.0.17-1 [18.1 kB]                                                                            
  342. Get:24 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-six all 1.12.0-1 [15.7 kB]                                                                                  
  343. Get:25 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-cryptography armhf 2.6.1-3+deb10u2 [184 kB]                                                                
  344. Get:26 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-dbus armhf 1.2.8-3 [95.7 kB]                                                                                
  345. Get:27 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-entrypoints all 0.3-1 [5,444 B]                                                                            
  346. Get:28 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-gi armhf 3.30.4-1 [208 kB]                                                                                  
  347. Get:29 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-secretstorage all 2.3.1-2 [13.8 kB]                                                                        
  348. Get:30 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-keyring all 17.1.1-1 [47.1 kB]                                                                              
  349. Get:31 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-keyrings.alt all 3.1.1-1 [18.3 kB]                                                                          
  350. Get:32 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-pkg-resources all 40.8.0-1 [182 kB]                                                                        
  351. Get:33 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-setuptools all 40.8.0-1 [382 kB]                                                                            
  352. Get:34 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-wheel all 0.32.3-2 [19.3 kB]                                                                                
  353. Get:35 http://mirror.umd.edu/raspbian/raspbian buster/main armhf python-xdg all 0.25-5 [35.9 kB]                                                                                    
  354. Get:36 http://mirror.umd.edu/raspbian/raspbian buster/main armhf sysstat armhf 12.0.3-2 [513 kB]                                                                                    
  355. Fetched 36.6 MB in 17s (2,173 kB/s)                                                                                                                                                
  356. Extracting templates from packages: 100%
  357. Preconfiguring packages ...
  358. Selecting previously unselected package bc.
  359. (Reading database ... 84782 files and directories currently installed.)
  360. Preparing to unpack .../00-bc_1.07.1-2_armhf.deb ...
  361. Unpacking bc (1.07.1-2) ...
  362. Selecting previously unselected package avahi-autoipd.
  363. Preparing to unpack .../01-avahi-autoipd_0.7-4+b1_armhf.deb ...
  364. Unpacking avahi-autoipd (0.7-4+b1) ...
  365. Selecting previously unselected package libexpat1-dev:armhf.
  366. Preparing to unpack .../02-libexpat1-dev_2.2.6-2+deb10u1_armhf.deb ...
  367. Unpacking libexpat1-dev:armhf (2.2.6-2+deb10u1) ...
  368. Selecting previously unselected package libjs-underscore.
  369. Preparing to unpack .../03-libjs-underscore_1.9.1~dfsg-1_all.deb ...
  370. Unpacking libjs-underscore (1.9.1~dfsg-1) ...
  371. Selecting previously unselected package libjs-sphinxdoc.
  372. Preparing to unpack .../04-libjs-sphinxdoc_1.8.4-1_all.deb ...
  373. Unpacking libjs-sphinxdoc (1.8.4-1) ...
  374. Selecting previously unselected package libpython2.7:armhf.
  375. Preparing to unpack .../05-libpython2.7_2.7.16-2+deb10u1_armhf.deb ...
  376. Unpacking libpython2.7:armhf (2.7.16-2+deb10u1) ...
  377. Selecting previously unselected package libpython2.7-dev:armhf.
  378. Preparing to unpack .../06-libpython2.7-dev_2.7.16-2+deb10u1_armhf.deb ...
  379. Unpacking libpython2.7-dev:armhf (2.7.16-2+deb10u1) ...
  380. Selecting previously unselected package libpython2-dev:armhf.
  381. Preparing to unpack .../07-libpython2-dev_2.7.16-1_armhf.deb ...
  382. Unpacking libpython2-dev:armhf (2.7.16-1) ...
  383. Selecting previously unselected package libpython-dev:armhf.
  384. Preparing to unpack .../08-libpython-dev_2.7.16-1_armhf.deb ...
  385. Unpacking libpython-dev:armhf (2.7.16-1) ...
  386. Selecting previously unselected package libpython-all-dev:armhf.
  387. Preparing to unpack .../09-libpython-all-dev_2.7.16-1_armhf.deb ...
  388. Unpacking libpython-all-dev:armhf (2.7.16-1) ...
  389. Selecting previously unselected package python-all.
  390. Preparing to unpack .../10-python-all_2.7.16-1_armhf.deb ...
  391. Unpacking python-all (2.7.16-1) ...
  392. Selecting previously unselected package python2.7-dev.
  393. Preparing to unpack .../11-python2.7-dev_2.7.16-2+deb10u1_armhf.deb ...
  394. Unpacking python2.7-dev (2.7.16-2+deb10u1) ...
  395. Selecting previously unselected package python2-dev.
  396. Preparing to unpack .../12-python2-dev_2.7.16-1_armhf.deb ...
  397. Unpacking python2-dev (2.7.16-1) ...
  398. Selecting previously unselected package python-dev.
  399. Preparing to unpack .../13-python-dev_2.7.16-1_armhf.deb ...
  400. Unpacking python-dev (2.7.16-1) ...
  401. Selecting previously unselected package python-all-dev.
  402. Preparing to unpack .../14-python-all-dev_2.7.16-1_armhf.deb ...
  403. Unpacking python-all-dev (2.7.16-1) ...
  404. Selecting previously unselected package python-asn1crypto.
  405. Preparing to unpack .../15-python-asn1crypto_0.24.0-1_all.deb ...
  406. Unpacking python-asn1crypto (0.24.0-1) ...
  407. Selecting previously unselected package python-cffi-backend.
  408. Preparing to unpack .../16-python-cffi-backend_1.12.2-1_armhf.deb ...
  409. Unpacking python-cffi-backend (1.12.2-1) ...
  410. Selecting previously unselected package python-configparser.
  411. Preparing to unpack .../17-python-configparser_3.5.0b2-1_all.deb ...
  412. Unpacking python-configparser (3.5.0b2-1) ...
  413. Selecting previously unselected package python-crypto.
  414. Preparing to unpack .../18-python-crypto_2.6.1-9+b1_armhf.deb ...
  415. Unpacking python-crypto (2.6.1-9+b1) ...
  416. Selecting previously unselected package python-enum34.
  417. Preparing to unpack .../19-python-enum34_1.1.6-2_all.deb ...
  418. Unpacking python-enum34 (1.1.6-2) ...
  419. Selecting previously unselected package python-ipaddress.
  420. Preparing to unpack .../20-python-ipaddress_1.0.17-1_all.deb ...
  421. Unpacking python-ipaddress (1.0.17-1) ...
  422. Selecting previously unselected package python-six.
  423. Preparing to unpack .../21-python-six_1.12.0-1_all.deb ...
  424. Unpacking python-six (1.12.0-1) ...
  425. Selecting previously unselected package python-cryptography.
  426. Preparing to unpack .../22-python-cryptography_2.6.1-3+deb10u2_armhf.deb ...
  427. Unpacking python-cryptography (2.6.1-3+deb10u2) ...
  428. Selecting previously unselected package python-dbus.
  429. Preparing to unpack .../23-python-dbus_1.2.8-3_armhf.deb ...
  430. Unpacking python-dbus (1.2.8-3) ...
  431. Selecting previously unselected package python-entrypoints.
  432. Preparing to unpack .../24-python-entrypoints_0.3-1_all.deb ...
  433. Unpacking python-entrypoints (0.3-1) ...
  434. Selecting previously unselected package python-gi.
  435. Preparing to unpack .../25-python-gi_3.30.4-1_armhf.deb ...
  436. Unpacking python-gi (3.30.4-1) ...
  437. Selecting previously unselected package python-secretstorage.
  438. Preparing to unpack .../26-python-secretstorage_2.3.1-2_all.deb ...
  439. Unpacking python-secretstorage (2.3.1-2) ...
  440. Selecting previously unselected package python-keyring.
  441. Preparing to unpack .../27-python-keyring_17.1.1-1_all.deb ...
  442. Unpacking python-keyring (17.1.1-1) ...
  443. Selecting previously unselected package python-keyrings.alt.
  444. Preparing to unpack .../28-python-keyrings.alt_3.1.1-1_all.deb ...
  445. Unpacking python-keyrings.alt (3.1.1-1) ...
  446. Selecting previously unselected package python-pip-whl.
  447. Preparing to unpack .../29-python-pip-whl_18.1-5+rpt1_all.deb ...
  448. Unpacking python-pip-whl (18.1-5+rpt1) ...
  449. Selecting previously unselected package python-pip.
  450. Preparing to unpack .../30-python-pip_18.1-5+rpt1_all.deb ...
  451. Unpacking python-pip (18.1-5+rpt1) ...
  452. Selecting previously unselected package python-pkg-resources.
  453. Preparing to unpack .../31-python-pkg-resources_40.8.0-1_all.deb ...
  454. Unpacking python-pkg-resources (40.8.0-1) ...
  455. Selecting previously unselected package python-setuptools.
  456. Preparing to unpack .../32-python-setuptools_40.8.0-1_all.deb ...
  457. Unpacking python-setuptools (40.8.0-1) ...
  458. Selecting previously unselected package python-wheel.
  459. Preparing to unpack .../33-python-wheel_0.32.3-2_all.deb ...
  460. Unpacking python-wheel (0.32.3-2) ...
  461. Selecting previously unselected package python-xdg.
  462. Preparing to unpack .../34-python-xdg_0.25-5_all.deb ...
  463. Unpacking python-xdg (0.25-5) ...
  464. Selecting previously unselected package sysstat.
  465. Preparing to unpack .../35-sysstat_12.0.3-2_armhf.deb ...
  466. Unpacking sysstat (12.0.3-2) ...
  467. Setting up python-enum34 (1.1.6-2) ...
  468. Setting up python-crypto (2.6.1-9+b1) ...
  469. Setting up python-gi (3.30.4-1) ...
  470. Setting up libpython2.7:armhf (2.7.16-2+deb10u1) ...
  471. Setting up python-wheel (0.32.3-2) ...
  472. Setting up python-pkg-resources (40.8.0-1) ...
  473. Setting up bc (1.07.1-2) ...
  474. Setting up python-asn1crypto (0.24.0-1) ...
  475. Setting up python-all (2.7.16-1) ...
  476. Setting up python-six (1.12.0-1) ...
  477. Setting up python-xdg (0.25-5) ...
  478. Setting up python-dbus (1.2.8-3) ...
  479. Setting up libexpat1-dev:armhf (2.2.6-2+deb10u1) ...
  480. Setting up python-setuptools (40.8.0-1) ...
  481. Setting up avahi-autoipd (0.7-4+b1) ...
  482. Setting up python-pip-whl (18.1-5+rpt1) ...
  483. Setting up sysstat (12.0.3-2) ...
  484.  
  485. Creating config file /etc/default/sysstat with new version
  486. update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode
  487. Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /lib/systemd/system/sysstat.service.
  488. Setting up python-ipaddress (1.0.17-1) ...
  489. Setting up libjs-underscore (1.9.1~dfsg-1) ...
  490. Setting up python-cffi-backend (1.12.2-1) ...
  491. Setting up libpython2.7-dev:armhf (2.7.16-2+deb10u1) ...
  492. Setting up python-keyrings.alt (3.1.1-1) ...
  493. Setting up python-cryptography (2.6.1-3+deb10u2) ...
  494. Setting up python-pip (18.1-5+rpt1) ...
  495. Setting up libjs-sphinxdoc (1.8.4-1) ...
  496. Setting up libpython2-dev:armhf (2.7.16-1) ...
  497. Setting up python2.7-dev (2.7.16-2+deb10u1) ...
  498. Setting up python2-dev (2.7.16-1) ...
  499. Setting up python-secretstorage (2.3.1-2) ...
  500. Setting up libpython-dev:armhf (2.7.16-1) ...
  501. Setting up python-configparser (3.5.0b2-1) ...
  502. Setting up python-dev (2.7.16-1) ...
  503. Setting up libpython-all-dev:armhf (2.7.16-1) ...
  504. Setting up python-entrypoints (0.3-1) ...
  505. Setting up python-all-dev (2.7.16-1) ...
  506. Setting up python-keyring (17.1.1-1) ...
  507. Processing triggers for systemd (241-7~deb10u2+rpi1) ...
  508. Processing triggers for man-db (2.8.5-2) ...
  509. Processing triggers for install-info (6.5.0.dfsg.1-4+b1) ...
  510. Processing triggers for libc-bin (2.28-10+rpi1) ...
  511. OK
  512. 2019-12-24_14:58:16_GMT [openHABian] Installing Node.js for arm (prerequisite for other packages)...
  513. $ wget -O /tmp/nodejs-arm.tar.gz https://nodejs.org/download/release/latest-dubnium/node-v10.18.0-linux-armv7l.tar.gz
  514. --2019-12-24 14:58:16--  https://nodejs.org/download/release/latest-dubnium/node-v10.18.0-linux-armv7l.tar.gz
  515. Resolving nodejs.org (nodejs.org)... 104.20.23.46, 104.20.22.46, 2606:4700:10::6814:162e, ...
  516. Connecting to nodejs.org (nodejs.org)|104.20.23.46|:443... connected.
  517. HTTP request sent, awaiting response... 200 OK
  518. Length: 20003138 (19M) [application/gzip]
  519. Saving to: ‘/tmp/nodejs-arm.tar.gz’
  520.  
  521. /tmp/nodejs-arm.tar.gz                        100%[==============================================================================================>]  19.08M  3.52MB/s    in 5.5s    
  522.  
  523. 2019-12-24 14:58:21 (3.49 MB/s) - ‘/tmp/nodejs-arm.tar.gz’ saved [20003138/20003138]
  524.  
  525.  
  526. $ tar -zxf /tmp/nodejs-arm.tar.gz --strip-components=1 -C /usr
  527.  
  528. $ rm /tmp/nodejs-arm.tar.gz
  529. OK
  530. 2019-12-24_14:58:28_GMT [openHABian] Installing the openHAB Log Viewer (frontail) relative to nodejs base /usr/lib...
  531. $ npm install -g frontail
  532. /usr/bin/frontail -> /usr/lib/node_modules/frontail/bin/frontail
  533. + frontail@4.8.0
  534. added 153 packages from 117 contributors in 11.637s
  535.  
  536. $ npm update -g frontail
  537.  
  538. $ systemctl daemon-reload
  539.  
  540. $ systemctl enable frontail.service
  541. Created symlink /etc/systemd/system/multi-user.target.wants/frontail.service → /etc/systemd/system/frontail.service.
  542.  
  543. $ systemctl restart frontail
  544. OK
  545. 2019-12-24_14:58:46_GMT [openHABian] Adding an openHAB dashboard tile for 'frontail'... OK
  546. CANCELED
  547. 2019-12-24_15:00:50_GMT [openHABian] Checking for default openHABian username:password combination... OK
  548. 2019-12-24_15:00:50_GMT [openHABian] We hope you got what you came for! See you again soon ;)
  549. pi@habnode-master ~ % sudo /bin/systemctl stop openhab2.service                                      
  550. pi@habnode-master ~ % sudo apt install openhab2-addons      
  551. Reading package lists... Done
  552. Building dependency tree      
  553. Reading state information... Done
  554. The following package was automatically installed and is no longer required:
  555.   triggerhappy
  556. Use 'sudo apt autoremove' to remove it.
  557. The following NEW packages will be installed:
  558.   openhab2-addons
  559. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  560. Need to get 0 B/190 MB of archives.
  561. After this operation, 190 MB of additional disk space will be used.
  562. Selecting previously unselected package openhab2-addons.
  563. (Reading database ... 86039 files and directories currently installed.)
  564. Preparing to unpack .../openhab2-addons_2.5.0-1_all.deb ...
  565. Unpacking openhab2-addons (2.5.0-1) ...
  566. Setting up openhab2-addons (2.5.0-1) ...
  567. pi@habnode-master ~ % sudo /bin/systemctl start openhab2.service
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement