-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirst-boot.log
executable file
·8186 lines (7993 loc) · 577 KB
/
first-boot.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2020-08-20_11:48:00_BST [openHABian] Starting the openHABian initial setup.
2020-08-20_11:48:00_BST [openHABian] Storing configuration... OK
2020-08-20_11:48:00_BST [openHABian] Enable maximum debugging output
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-08-20_11:48:00_BST [openHABian] Starting webserver with installation log... '
2020-08-20_11:48:00_BST [openHABian] Starting webserver with installation log... ++ command -v python3
+ [[ -x /usr/bin/python3 ]]
+ bash /boot/webserver.bash start
+ sleep 5
++ ps -ef
++ pgrep python3
+ isWebRunning=796
+ [[ -n 796 ]]
+ echo OK
OK
+ defaultUserAndGroup=openhabian
+ userName=openhabadm
+ groupName=openhabadm
+ is_raspbian
+ [[ '' == \r\a\s\p\b\i\a\n ]]
++ cat /etc/os-release
+ [[ PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" =~ Raspbian ]]
+ return 0
+ defaultUserAndGroup=pi
+ rm -f /etc/sudoers.d/010_pi-nopasswd
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-08-20_11:48:06_BST [openHABian] Changing default username and password... '
2020-08-20_11:48:06_BST [openHABian] Changing default username and password... + [[ -v openhabadm ]]
+ id pi
+ id openhabadm
+ usermod -l openhabadm pi
+ usermod -m -d /home/openhabadm openhabadm
+ groupmod -n openhabadm pi
+ chpasswd
+ echo openhabadm:abcd
+ echo OK
OK
+ echo 'watch cat /boot/first-boot.log'
+ apt install --yes network-manager
+ [[ -z '' ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:43:07_GMT [openHABian] Setting up Ethernet connection... '
2020-12-14_21:43:07_GMT [openHABian] Setting up Ethernet connection... + grep -qs up /sys/class/net/eth0/operstate
+ echo OK
OK
+ tryUntil 'ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\''' 5 1
+ local cmd
+ local attempts
+ local interval
+ cmd='ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\'''
+ attempts=5
+ interval=1
+ [[ 5 -le 0 ]]
+ cond_echo '\nexecuting ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ ping -c1 8.8.8.8
+ out=0
+ [[ 0 -eq 0 ]]
+ break
+ [[ -z 1 ]]
+ return 5
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:43:07_GMT [openHABian] Ensuring network connectivity... '
2020-12-14_21:43:07_GMT [openHABian] Ensuring network connectivity... + tryUntil 'ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\''' 86400 1
+ local cmd
+ local attempts
+ local interval
+ cmd='ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\'''
+ attempts=86400
+ interval=1
+ [[ 86400 -le 0 ]]
+ cond_echo '\nexecuting ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ ping -c1 8.8.8.8
+ out=0
+ [[ 0 -eq 0 ]]
+ break
+ [[ -z 1 ]]
+ return 86400
+ echo OK
OK
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:43:07_GMT [openHABian] Waiting for dpkg/apt to get ready... '
2020-12-14_21:43:07_GMT [openHABian] Waiting for dpkg/apt to get ready... + wait_for_apt_to_be_ready
+ local attempts
+ local interval
+ local pid
+ attempts=10
+ interval=1
+ [[ 10 -le 0 ]]
+ pid=1779
+ apt-get update
+++ tail --pid=1779 -f /dev/null
++ eval ''
+ [[ '' -eq 0 ]]
+ return 0
+ echo OK
OK
++ dpkg -s raspberrypi-kernel
++ grep 'Version:[[:space:]]'
+ firmwareBefore='Version: 1.20201022-1'
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:43:21_GMT [openHABian] Updating repositories and upgrading installed packages... '
2020-12-14_21:43:21_GMT [openHABian] Updating repositories and upgrading installed packages... + apt-get install --fix-broken --yes
+++ apt-get --yes upgrade
++ eval ''
+ [[ '' -eq 100 ]]
++ dpkg -s raspberrypi-kernel
++ grep 'Version:[[:space:]]'
+ [[ Version: 1.20201022-1 != \V\e\r\s\i\o\n\:\ \1\.\2\0\2\0\1\2\0\1\-\1 ]]
+ echo 'OK (rebooting)'
OK (rebooting)
+ reboot
++ command -v python3
+ [[ -x /usr/bin/python3 ]]
+ bash /boot/webserver.bash reinsure_running
++ command -v git
+ [[ -x '' ]]
++ timestamp
++ date +%F_%T_%Z
2020-12-14_21:46:28_GMT [openHABian] Starting the openHABian initial setup.
2020-12-14_21:46:28_GMT [openHABian] Storing configuration... OK
2020-12-14_21:46:28_GMT [openHABian] Enable maximum debugging output
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:46:28_GMT [openHABian] Starting webserver with installation log... '
2020-12-14_21:46:28_GMT [openHABian] Starting webserver with installation log... ++ command -v python3
+ [[ -x /usr/bin/python3 ]]
+ bash /boot/webserver.bash start
+ sleep 5
++ ps -ef
++ pgrep python3
+ isWebRunning=841
+ [[ -n 841 ]]
+ echo OK
OK
+ defaultUserAndGroup=openhabian
+ userName=openhabadm
+ groupName=openhabadm
+ is_raspbian
+ [[ '' == \r\a\s\p\b\i\a\n ]]
++ cat /etc/os-release
+ [[ PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" =~ Raspbian ]]
+ return 0
+ defaultUserAndGroup=pi
+ rm -f /etc/sudoers.d/010_pi-nopasswd
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:46:34_GMT [openHABian] Changing default username and password... '
2020-12-14_21:46:34_GMT [openHABian] Changing default username and password... + [[ -v openhabadm ]]
+ id pi
+ echo SKIPPED
SKIPPED
+ echo 'watch cat /boot/first-boot.log'
+ apt install --yes network-manager
+ [[ -z '' ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:46:36_GMT [openHABian] Setting up Ethernet connection... '
2020-12-14_21:46:36_GMT [openHABian] Setting up Ethernet connection... + grep -qs up /sys/class/net/eth0/operstate
+ echo OK
OK
+ tryUntil 'ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\''' 5 1
+ local cmd
+ local attempts
+ local interval
+ cmd='ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\'''
+ attempts=5
+ interval=1
+ [[ 5 -le 0 ]]
+ cond_echo '\nexecuting ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ ping -c1 8.8.8.8
+ out=0
+ [[ 0 -eq 0 ]]
+ break
+ [[ -z 1 ]]
+ return 5
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:46:36_GMT [openHABian] Ensuring network connectivity... '
2020-12-14_21:46:36_GMT [openHABian] Ensuring network connectivity... + tryUntil 'ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\''' 86400 1
+ local cmd
+ local attempts
+ local interval
+ cmd='ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\'''
+ attempts=86400
+ interval=1
+ [[ 86400 -le 0 ]]
+ cond_echo '\nexecuting ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'ping -c1 8.8.8.8 &> /dev/null || curl --silent --head http://www.openhab.org/docs |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ ping -c1 8.8.8.8
+ out=0
+ [[ 0 -eq 0 ]]
+ break
+ [[ -z 1 ]]
+ return 86400
+ echo OK
OK
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:46:36_GMT [openHABian] Waiting for dpkg/apt to get ready... '
2020-12-14_21:46:36_GMT [openHABian] Waiting for dpkg/apt to get ready... + wait_for_apt_to_be_ready
+ local attempts
+ local interval
+ local pid
+ attempts=10
+ interval=1
+ [[ 10 -le 0 ]]
+ pid=935
+ apt-get update
+++ tail --pid=935 -f /dev/null
++ eval ''
+ [[ '' -eq 0 ]]
+ return 0
+ echo OK
OK
++ dpkg -s raspberrypi-kernel
++ grep 'Version:[[:space:]]'
+ firmwareBefore='Version: 1.20201201-1'
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:46:43_GMT [openHABian] Updating repositories and upgrading installed packages... '
2020-12-14_21:46:43_GMT [openHABian] Updating repositories and upgrading installed packages... + apt-get install --fix-broken --yes
+++ apt-get --yes upgrade
++ eval ''
+ [[ '' -eq 100 ]]
++ dpkg -s raspberrypi-kernel
++ grep 'Version:[[:space:]]'
+ [[ Version: 1.20201201-1 != \V\e\r\s\i\o\n\:\ \1\.\2\0\2\0\1\2\0\1\-\1 ]]
+ echo OK
OK
++ command -v python3
+ [[ -x /usr/bin/python3 ]]
+ bash /boot/webserver.bash reinsure_running
++ command -v git
+ [[ -x '' ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:46:46_GMT [openHABian] Installing git package... '
2020-12-14_21:46:46_GMT [openHABian] Installing git package... + apt-get install --yes git
+ echo OK
OK
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:47:16_GMT [openHABian] Updating myself from https://github.com/openhab/openhabian, master branch... '
2020-12-14_21:47:16_GMT [openHABian] Updating myself from https://github.com/openhab/openhabian, master branch... + type openhabian_update
+ openhabian_update
+ echo OK
OK
+ ln -sfn /opt/openhabian/openhabian-setup.sh /usr/local/bin/openhabian-config
++ timestamp
++ date +%F_%T_%Z
+ echo '2020-12-14_21:47:19_GMT [openHABian] Starting execution of '\''openhabian-config unattended'\''... OK'
2020-12-14_21:47:19_GMT [openHABian] Starting execution of 'openhabian-config unattended'... OK
+ openhabian-config unattended
2020-12-14_21:47:19_GMT [openHABian] Checking for root privileges... OK
+ export UNATTENDED MIGRATION SILENT DEBUGMAX INTERACTIVE
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/auth.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/backup.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/config.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/ext-storage.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/find.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/helpers.bash
++ ESC='\033['
++ COL_DEF='\033[39;49;00m'
++ COL_RED='\033[31;01m'
++ COL_GREEN='\033[32;01m'
++ COL_YELLOW='\033[33;01m'
++ COL_BLUE='\033[34;01m'
++ COL_MAGENTA='\033[35;01m'
++ COL_CYAN='\033[36;01m'
++ COL_LGRAY='\033[37;01m'
++ COL_DGRAY='\033[90;01m'
++ export COL_DEF COL_RED COL_GREEN COL_YELLOW COL_BLUE COL_MAGENTA COL_CYAN COL_LGRAY COL_DGRAY
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/influxdb+grafana.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/java-jre.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/menu.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/nodejs-apps.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/openhab.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/openhabian.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/packages.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/system.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/vpn.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/wifi.bash
+ for shfile in "${BASEDIR:-/opt/openhabian}"/functions/*.bash
+ source /opt/openhabian/functions/zram.bash
++ pwd
+ OLDWD=/
+ cd /opt
+ config_ipv6
+ local aptConf=/etc/apt/apt.conf/S90force-ipv4
+ local sysctlConf=/etc/sysctl.d/99-sysctl.conf
+ [[ enable == \d\i\s\a\b\l\e ]]
+ [[ enable == \e\n\a\b\l\e ]]
+ grep -qs '^[[:space:]]*# Disable all IPv6 functionality' /etc/sysctl.d/99-sysctl.conf
+ [[ -n 1 ]]
+ export DEBIAN_FRONTEND=noninteractive
+ DEBIAN_FRONTEND=noninteractive
+ wait_for_apt_to_finish_update
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:47:19_GMT [openHABian] Updating Linux package information... '
2020-12-14_21:47:19_GMT [openHABian] Updating Linux package information... + [[ -z '' ]]
+ apt_update
+ PID_APT=2079
+ apt-get update
+ tail --pid=2079 -f /dev/null
+ echo OK
OK
+ load_create_config
+ local 'questionText=\nWelcome to openHABian!\n\nPlease provide the name of your Linux user i.e. the account you normally log in with.\n\nTypical user names are '\''pi'\'' or '\''ubuntu'\''.'
+ local input
+ [[ -f /etc/openhabian.conf ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:47:24_GMT [openHABian] Loading configuration file '\''/etc/openhabian.conf'\''... '
2020-12-14_21:47:24_GMT [openHABian] Loading configuration file '/etc/openhabian.conf'... ++ getent group openhabadm
+ [[ ! -n openhabadm:x:1000: ]]
+ id -u openhabadm
+ source /etc/openhabian.conf
++ hostname=openHAB
++ username=openhabadm
++ userpw=abcd
++ timezone=Europe/Berlin
++ locales='en_US.UTF-8 de_DE.UTF-8'
++ system_default_locale=en_US.UTF-8
++ wifi_ssid=
++ wifi_psk=
++ wifi_country=
++ ipv6=enable
++ repositoryurl=https://github.com/openhab/openhabian
++ clonebranch=master
++ debugmode=maximum
++ cached_java_opt=Zulu11-32
++ java_opt=Zulu11-32
++ zraminstall=enable
++ hotspot=enable
+ echo OK
OK
+ change_swapsize
+ is_pi
+ is_pifour
+ [[ '' == \p\i\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo
+ return 0
+ return 0
+ local free
+ local minFree
+ local swap
+ local totalMemory
++ awk '/MemTotal/ {print $2}' /proc/meminfo
+ totalMemory=3919796
+ [[ -z 3919796 ]]
+ swap=7839592
+ minFree=15679184
++ df -hk /
++ awk '/dev/ { print $4 }'
+ free=12083776
+ [[ 12083776 -ge 15679184 ]]
+ [[ 12083776 -ge 7839592 ]]
+ size=3919796
+ (( size/=1024 ))
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:47:25_GMT [openHABian] Adjusting swap size to 3827 MB... '
2020-12-14_21:47:25_GMT [openHABian] Adjusting swap size to 3827 MB... + cond_redirect dphys-swapfile swapoff
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ dphys-swapfile swapoff \033[39;49;00m'
[90;01m$ dphys-swapfile swapoff [39;49;00m
+ dphys-swapfile swapoff
+ return 0
+ cond_redirect sed -i 's|^#*.*CONF_SWAPSIZE=.*$|CONF_SWAPSIZE=3827|g' /etc/dphys-swapfile
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ sed -i s|^#*.*CONF_SWAPSIZE=.*$|CONF_SWAPSIZE=3827|g /etc/dphys-swapfile \033[39;49;00m'
[90;01m$ sed -i s|^#*.*CONF_SWAPSIZE=.*$|CONF_SWAPSIZE=3827|g /etc/dphys-swapfile [39;49;00m
+ sed -i 's|^#*.*CONF_SWAPSIZE=.*$|CONF_SWAPSIZE=3827|g' /etc/dphys-swapfile
+ return 0
+ cond_redirect dphys-swapfile swapon
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ dphys-swapfile swapon \033[39;49;00m'
[90;01m$ dphys-swapfile swapon [39;49;00m
+ dphys-swapfile swapon
+ return 0
+ echo 'OK (reboot required)'
OK (reboot required)
+ timezone_setting
+ [[ -n '' ]]
+ [[ -n Europe/Berlin ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_21:47:25_GMT [openHABian] Setting timezone based on openhabian.conf... '
2020-12-14_21:47:25_GMT [openHABian] Setting timezone based on openhabian.conf... + running_in_docker
+ grep -q 'docker\|lxc' /proc/1/cgroup
+ running_on_github
+ [[ -n '' ]]
+ return 1
+ cond_redirect timedatectl set-timezone Europe/Berlin
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ timedatectl set-timezone Europe/Berlin \033[39;49;00m'
[90;01m$ timedatectl set-timezone Europe/Berlin [39;49;00m
+ timedatectl set-timezone Europe/Berlin
+ return 0
++ cat /etc/timezone
+ echo 'OK (Europe/Berlin)'
OK (Europe/Berlin)
+ setup_ntp enable
+ running_in_docker
+ grep -q 'docker\|lxc' /proc/1/cgroup
+ is_raspbian
+ [[ '' == \r\a\s\p\b\i\a\n ]]
++ cat /etc/os-release
+ [[ PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" =~ Raspbian ]]
+ return 0
+ [[ enable == \e\n\a\b\l\e ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_22:47:26_CET [openHABian] Enabling time synchronization using NTP... '
2020-12-14_22:47:26_CET [openHABian] Enabling time synchronization using NTP... + cond_redirect cp /opt/openhabian/includes/50-timesyncd.conf /lib/dhcpcd/dhcpcd-hooks/
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ cp /opt/openhabian/includes/50-timesyncd.conf /lib/dhcpcd/dhcpcd-hooks/ \033[39;49;00m'
[90;01m$ cp /opt/openhabian/includes/50-timesyncd.conf /lib/dhcpcd/dhcpcd-hooks/ [39;49;00m
+ cp /opt/openhabian/includes/50-timesyncd.conf /lib/dhcpcd/dhcpcd-hooks/
+ return 0
+ cond_redirect timedatectl set-ntp true
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ timedatectl set-ntp true \033[39;49;00m'
[90;01m$ timedatectl set-ntp true [39;49;00m
+ timedatectl set-ntp true
+ return 0
+ echo OK
OK
+ locale_setting
+ local locale
+ dpkg -s locales
+ [[ -n '' ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_22:47:26_CET [openHABian] Setting locale based on openhabian.conf... '
2020-12-14_22:47:26_CET [openHABian] Setting locale based on openhabian.conf... + is_ubuntu
+ [[ '' == \u\b\u\n\t\u ]]
++ cat /etc/os-release
+ [[ PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" =~ Ubuntu ]]
+ return 1
+ for loc in $locales
+ sed -i '/^#[[:space:]]en_US.UTF-8/s/^#[[:space:]]//' /etc/locale.gen
+ for loc in $locales
+ sed -i '/^#[[:space:]]de_DE.UTF-8/s/^#[[:space:]]//' /etc/locale.gen
+ cond_redirect locale-gen
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ locale-gen \033[39;49;00m'
[90;01m$ locale-gen [39;49;00m
+ locale-gen
Generating locales (this might take a while)...
de_DE.UTF-8... done
en_GB.UTF-8... done
en_US.UTF-8... done
Generation complete.
+ return 0
+ cond_redirect dpkg-reconfigure --frontend=noninteractive locales
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ dpkg-reconfigure --frontend=noninteractive locales \033[39;49;00m'
[90;01m$ dpkg-reconfigure --frontend=noninteractive locales [39;49;00m
+ dpkg-reconfigure --frontend=noninteractive locales
Generating locales (this might take a while)...
de_DE.UTF-8... done
en_GB.UTF-8... done
en_US.UTF-8... done
Generation complete.
+ return 0
++ grep '^[[:space:]]*LANG=' /etc/default/locale
++ sed 's|LANG=||g'
+ locale=en_GB.UTF-8
+ cond_redirect update-locale LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LANGUAGE=en_GB.UTF-8
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ update-locale LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LANGUAGE=en_GB.UTF-8 \033[39;49;00m'
[90;01m$ update-locale LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LANGUAGE=en_GB.UTF-8 [39;49;00m
+ update-locale LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_CTYPE=en_GB.UTF-8 LANGUAGE=en_GB.UTF-8
+ return 0
+ echo 'OK (reboot required)'
OK (reboot required)
+ [[ -n '' ]]
+ hostname_change
+ running_in_docker
+ grep -q 'docker\|lxc' /proc/1/cgroup
+ local newHostname
+ [[ -n '' ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_22:48:02_CET [openHABian] Setting hostname of the base system based on openhabian.conf... '
2020-12-14_22:48:02_CET [openHABian] Setting hostname of the base system based on openhabian.conf... + newHostname=openHAB
+ cond_redirect hostnamectl set-hostname openHAB
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ hostnamectl set-hostname openHAB \033[39;49;00m'
[90;01m$ hostnamectl set-hostname openHAB [39;49;00m
+ hostnamectl set-hostname openHAB
+ return 0
+ sed -i 's|127.0.1.1.*$|127.0.1.1 openHAB|g' /etc/hosts
+ echo OK
OK
+ [[ -n '' ]]
+ memory_split
+ is_pi
+ is_pifour
+ [[ '' == \p\i\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo
+ return 0
+ return 0
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_22:48:02_CET [openHABian] Setting the GPU memory split down to 16MB for headless system... '
2020-12-14_22:48:02_CET [openHABian] Setting the GPU memory split down to 16MB for headless system... + grep -qs '^[[:space:]]*gpu_mem' /boot/config.txt
+ echo gpu_mem=16
+ echo OK
OK
+ enable_rpi_audio
+ is_pi
+ is_pifour
+ [[ '' == \p\i\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo
+ return 0
+ return 0
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_22:48:02_CET [openHABian] Enabling Audio output... '
2020-12-14_22:48:02_CET [openHABian] Enabling Audio output... + grep -qs '^[[:space:]]*dtparam=audio' /boot/config.txt
+ cond_redirect sed -i 's|dtparam=audio.*$|dtparam=audio=on|g' /boot/config.txt
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ sed -i s|dtparam=audio.*$|dtparam=audio=on|g /boot/config.txt \033[39;49;00m'
[90;01m$ sed -i s|dtparam=audio.*$|dtparam=audio=on|g /boot/config.txt [39;49;00m
+ sed -i 's|dtparam=audio.*$|dtparam=audio=on|g' /boot/config.txt
+ return 0
+ cond_redirect adduser openhabadm audio
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ adduser openhabadm audio \033[39;49;00m'
[90;01m$ adduser openhabadm audio [39;49;00m
+ adduser openhabadm audio
The user `openhabadm' is already a member of `audio'.
+ return 0
+ echo OK
OK
+ basic_packages
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_22:48:02_CET [openHABian] Installing basic can'\''t-be-wrong packages (screen, vim, ...)... '
2020-12-14_22:48:02_CET [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... ++ command -v raspi-config
+ [[ -x /usr/bin/raspi-config ]]
+ cond_redirect apt-get purge --yes raspi-config
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ apt-get purge --yes raspi-config \033[39;49;00m'
[90;01m$ apt-get purge --yes raspi-config [39;49;00m
+ apt-get purge --yes raspi-config
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
triggerhappy
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
raspi-config*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 124 kB disk space will be freed.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 46642 files and directories currently installed.)
Removing raspi-config (20201108) ...
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 46634 files and directories currently installed.)
Purging configuration files for raspi-config (20201108) ...
Processing triggers for systemd (241-7~deb10u5+rpi1) ...
+ return 0
+ cond_redirect apt-get install --yes screen vim nano mc vfu bash-completion htop curl wget multitail git util-linux bzip2 zip unzip xz-utils software-properties-common man-db whiptail acl usbutils dirmngr arping
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ apt-get install --yes screen vim nano mc vfu bash-completion htop curl wget multitail git util-linux bzip2 zip unzip xz-utils software-properties-common man-db whiptail acl usbutils dirmngr arping \033[39;49;00m'
[90;01m$ apt-get install --yes screen vim nano mc vfu bash-completion htop curl wget multitail git util-linux bzip2 zip unzip xz-utils software-properties-common man-db whiptail acl usbutils dirmngr arping [39;49;00m
+ apt-get install --yes screen vim nano mc vfu bash-completion htop curl wget multitail git util-linux bzip2 zip unzip xz-utils software-properties-common man-db whiptail acl usbutils dirmngr arping
Reading package lists...
Building dependency tree...
Reading state information...
bash-completion is already the newest version (1:2.8-6).
bzip2 is already the newest version (1.0.6-9.2~deb10u1).
bzip2 set to manually installed.
curl is already the newest version (7.64.0-4+deb10u1).
dirmngr is already the newest version (2.2.12-1+rpi1+deb10u1).
git is already the newest version (1:2.20.1-2+deb10u3).
htop is already the newest version (2.2.0-1).
man-db is already the newest version (2.8.5-2).
nano is already the newest version (3.2-3).
unzip is already the newest version (6.0-23+deb10u1).
usbutils is already the newest version (1:010-3).
util-linux is already the newest version (2.33.1-0.1).
wget is already the newest version (1.20.1-1.1).
wget set to manually installed.
whiptail is already the newest version (0.52.20-8).
whiptail set to manually installed.
xz-utils is already the newest version (5.2.4-1).
xz-utils set to manually installed.
The following package was automatically installed and is no longer required:
triggerhappy
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 libappstream4
libgirepository-1.0-1 libglib2.0-bin libgstreamer1.0-0 libncurses5 libnet1
libpackagekit-glib2-18 libstemmer0d libutempter0 libyaml-0-2 mc-data
packagekit packagekit-tools python3-dbus python3-distro-info python3-gi
python3-pycurl python3-software-properties unattended-upgrades vim-runtime
Suggested packages:
gstreamer1.0-tools arj catdvi | texlive-binaries dbview djvulibre-bin
epub-utils genisoimage gv imagemagick libaspell-dev links | w3m | lynx
odt2txt poppler-utils python-boto python-tz xpdf | pdf-viewer appstream
python-dbus-doc python3-dbus-dbg libcurl4-gnutls-dev python-pycurl-doc
python3-pycurl-dbg byobu | screenie | iselect bsd-mailx default-mta
| mail-transport-agent needrestart powermgmt-base ctags vim-doc vim-scripts
The following NEW packages will be installed:
acl arping gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 libappstream4
libgirepository-1.0-1 libglib2.0-bin libgstreamer1.0-0 libncurses5 libnet1
libpackagekit-glib2-18 libstemmer0d libutempter0 libyaml-0-2 mc mc-data
multitail packagekit packagekit-tools python3-dbus python3-distro-info
python3-gi python3-pycurl python3-software-properties screen
software-properties-common unattended-upgrades vfu vim vim-runtime zip
Preconfiguring packages ...
0 upgraded, 31 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/13.5 MB of archives.
After this operation, 55.1 MB of additional disk space will be used.
Selecting previously unselected package libstemmer0d:armhf.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 46631 files and directories currently installed.)
Preparing to unpack .../00-libstemmer0d_0+svn585-1_armhf.deb ...
Unpacking libstemmer0d:armhf (0+svn585-1) ...
Selecting previously unselected package libutempter0:armhf.
Preparing to unpack .../01-libutempter0_1.1.6-3_armhf.deb ...
Unpacking libutempter0:armhf (1.1.6-3) ...
Selecting previously unselected package screen.
Preparing to unpack .../02-screen_4.6.2-3_armhf.deb ...
Unpacking screen (4.6.2-3) ...
Selecting previously unselected package acl.
Preparing to unpack .../03-acl_2.2.53-4_armhf.deb ...
Unpacking acl (2.2.53-4) ...
Selecting previously unselected package libnet1:armhf.
Preparing to unpack .../04-libnet1_1.1.6+dfsg-3.1_armhf.deb ...
Unpacking libnet1:armhf (1.1.6+dfsg-3.1) ...
Selecting previously unselected package arping.
Preparing to unpack .../05-arping_2.19-6_armhf.deb ...
Unpacking arping (2.19-6) ...
Selecting previously unselected package libgirepository-1.0-1:armhf.
Preparing to unpack .../06-libgirepository-1.0-1_1.58.3-2_armhf.deb ...
Unpacking libgirepository-1.0-1:armhf (1.58.3-2) ...
Selecting previously unselected package gir1.2-glib-2.0:armhf.
Preparing to unpack .../07-gir1.2-glib-2.0_1.58.3-2_armhf.deb ...
Unpacking gir1.2-glib-2.0:armhf (1.58.3-2) ...
Selecting previously unselected package libpackagekit-glib2-18:armhf.
Preparing to unpack .../08-libpackagekit-glib2-18_1.1.12-5_armhf.deb ...
Unpacking libpackagekit-glib2-18:armhf (1.1.12-5) ...
Selecting previously unselected package gir1.2-packagekitglib-1.0.
Preparing to unpack .../09-gir1.2-packagekitglib-1.0_1.1.12-5_armhf.deb ...
Unpacking gir1.2-packagekitglib-1.0 (1.1.12-5) ...
Selecting previously unselected package libyaml-0-2:armhf.
Preparing to unpack .../10-libyaml-0-2_0.2.1-1_armhf.deb ...
Unpacking libyaml-0-2:armhf (0.2.1-1) ...
Selecting previously unselected package libappstream4:armhf.
Preparing to unpack .../11-libappstream4_0.12.5-1_armhf.deb ...
Unpacking libappstream4:armhf (0.12.5-1) ...
Selecting previously unselected package libglib2.0-bin.
Preparing to unpack .../12-libglib2.0-bin_2.58.3-2+deb10u2_armhf.deb ...
Unpacking libglib2.0-bin (2.58.3-2+deb10u2) ...
Selecting previously unselected package libgstreamer1.0-0:armhf.
Preparing to unpack .../13-libgstreamer1.0-0_1.14.4-1_armhf.deb ...
Unpacking libgstreamer1.0-0:armhf (1.14.4-1) ...
Selecting previously unselected package libncurses5:armhf.
Preparing to unpack .../14-libncurses5_6.1+20181013-2+deb10u2_armhf.deb ...
Unpacking libncurses5:armhf (6.1+20181013-2+deb10u2) ...
Selecting previously unselected package mc-data.
Preparing to unpack .../15-mc-data_3%3a4.8.22-1_all.deb ...
Unpacking mc-data (3:4.8.22-1) ...
Selecting previously unselected package mc.
Preparing to unpack .../16-mc_3%3a4.8.22-1_armhf.deb ...
Unpacking mc (3:4.8.22-1) ...
Selecting previously unselected package multitail.
Preparing to unpack .../17-multitail_6.4.2-3_armhf.deb ...
Unpacking multitail (6.4.2-3) ...
Selecting previously unselected package packagekit.
Preparing to unpack .../18-packagekit_1.1.12-5_armhf.deb ...
Unpacking packagekit (1.1.12-5) ...
Selecting previously unselected package packagekit-tools.
Preparing to unpack .../19-packagekit-tools_1.1.12-5_armhf.deb ...
Unpacking packagekit-tools (1.1.12-5) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../20-python3-dbus_1.2.8-3_armhf.deb ...
Unpacking python3-dbus (1.2.8-3) ...
Selecting previously unselected package python3-distro-info.
Preparing to unpack .../21-python3-distro-info_0.21_all.deb ...
Unpacking python3-distro-info (0.21) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../22-python3-gi_3.30.4-1_armhf.deb ...
Unpacking python3-gi (3.30.4-1) ...
Selecting previously unselected package python3-pycurl.
Preparing to unpack .../23-python3-pycurl_7.43.0.2-0.1_armhf.deb ...
Unpacking python3-pycurl (7.43.0.2-0.1) ...
Selecting previously unselected package python3-software-properties.
Preparing to unpack .../24-python3-software-properties_0.96.20.2-2_all.deb ...
Unpacking python3-software-properties (0.96.20.2-2) ...
Selecting previously unselected package software-properties-common.
Preparing to unpack .../25-software-properties-common_0.96.20.2-2_all.deb ...
Unpacking software-properties-common (0.96.20.2-2) ...
Selecting previously unselected package unattended-upgrades.
Preparing to unpack .../26-unattended-upgrades_1.11.2_all.deb ...
Unpacking unattended-upgrades (1.11.2) ...
Selecting previously unselected package vfu.
Preparing to unpack .../27-vfu_4.16+repack-1_armhf.deb ...
Unpacking vfu (4.16+repack-1) ...
Selecting previously unselected package vim-runtime.
Preparing to unpack .../28-vim-runtime_2%3a8.1.0875-5_all.deb ...
Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime'
Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime'
Unpacking vim-runtime (2:8.1.0875-5) ...
Selecting previously unselected package vim.
Preparing to unpack .../29-vim_2%3a8.1.0875-5_armhf.deb ...
Unpacking vim (2:8.1.0875-5) ...
Selecting previously unselected package zip.
Preparing to unpack .../30-zip_3.0-11_armhf.deb ...
Unpacking zip (3.0-11) ...
Setting up python3-dbus (1.2.8-3) ...
Setting up libyaml-0-2:armhf (0.2.1-1) ...
Setting up libglib2.0-bin (2.58.3-2+deb10u2) ...
Setting up libpackagekit-glib2-18:armhf (1.1.12-5) ...
Setting up libnet1:armhf (1.1.6+dfsg-3.1) ...
Setting up libncurses5:armhf (6.1+20181013-2+deb10u2) ...
Setting up acl (2.2.53-4) ...
Setting up vfu (4.16+repack-1) ...
Setting up zip (3.0-11) ...
Setting up python3-pycurl (7.43.0.2-0.1) ...
Setting up python3-software-properties (0.96.20.2-2) ...
Setting up mc-data (3:4.8.22-1) ...
Setting up libutempter0:armhf (1.1.6-3) ...
Setting up multitail (6.4.2-3) ...
Setting up libgirepository-1.0-1:armhf (1.58.3-2) ...
Setting up libstemmer0d:armhf (0+svn585-1) ...
Setting up vim-runtime (2:8.1.0875-5) ...
Setting up python3-distro-info (0.21) ...
Setting up libgstreamer1.0-0:armhf (1.14.4-1) ...
Setcap worked! gst-ptp-helper is not suid!
Setting up vim (2:8.1.0875-5) ...
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode
Setting up arping (2.19-6) ...
Setting up mc (3:4.8.22-1) ...
Setting up screen (4.6.2-3) ...
Setting up libappstream4:armhf (0.12.5-1) ...
Setting up unattended-upgrades (1.11.2) ...
Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version
Creating config file /etc/apt/apt.conf.d/50unattended-upgrades with new version
Created symlink /etc/systemd/system/multi-user.target.wants/unattended-upgrades.service → /lib/systemd/system/unattended-upgrades.service.
Synchronizing state of unattended-upgrades.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable unattended-upgrades
Setting up gir1.2-glib-2.0:armhf (1.58.3-2) ...
Setting up packagekit (1.1.12-5) ...
Setting up packagekit-tools (1.1.12-5) ...
Setting up gir1.2-packagekitglib-1.0 (1.1.12-5) ...
Setting up python3-gi (3.30.4-1) ...
Setting up software-properties-common (0.96.20.2-2) ...
Processing triggers for install-info (6.5.0.dfsg.1-4+b1) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for systemd (241-7~deb10u5+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.20-0+deb10u1) ...
+ return 0
+ echo OK
OK
+ needed_packages
+ local 'bluetoothPackages=bluez python3-dev libbluetooth-dev raspberrypi-sys-mods pi-bluetooth'
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-14_22:48:37_CET [openHABian] Installing additional needed packages... '
2020-12-14_22:48:37_CET [openHABian] Installing additional needed packages... + cond_redirect apt-get install --yes apt-transport-https bc sysstat jq moreutils avahi-daemon python3 python3-pip python3-wheel python3-setuptools avahi-autoipd fontconfig
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ apt-get install --yes apt-transport-https bc sysstat jq moreutils avahi-daemon python3 python3-pip python3-wheel python3-setuptools avahi-autoipd fontconfig \033[39;49;00m'
[90;01m$ apt-get install --yes apt-transport-https bc sysstat jq moreutils avahi-daemon python3 python3-pip python3-wheel python3-setuptools avahi-autoipd fontconfig [39;49;00m
+ apt-get install --yes apt-transport-https bc sysstat jq moreutils avahi-daemon python3 python3-pip python3-wheel python3-setuptools avahi-autoipd fontconfig
Reading package lists...
Building dependency tree...
Reading state information...
avahi-daemon is already the newest version (0.7-4+b1).
python3 is already the newest version (3.7.3-1).
python3 set to manually installed.
The following package was automatically installed and is no longer required:
triggerhappy
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
dh-python fontconfig-config fonts-dejavu-core libexpat1-dev libfontconfig1
libio-pty-perl libipc-run-perl libjq1 libonig5 libpython3-dev
libpython3.7-dev libsensors-config libsensors5 python-pip-whl
python3-asn1crypto python3-cffi-backend python3-crypto python3-cryptography
python3-dev python3-distutils python3-entrypoints python3-keyring
python3-keyrings.alt python3-lib2to3 python3-secretstorage python3-xdg
python3.7-dev
Suggested packages:
lm-sensors libtime-duration-perl libtimedate-perl python-crypto-doc
python-cryptography-doc python3-cryptography-vectors gnome-keyring
libkf5wallet-bin gir1.2-gnomekeyring-1.0 python-secretstorage-doc
python-setuptools-doc isag
The following NEW packages will be installed:
apt-transport-https avahi-autoipd bc dh-python fontconfig fontconfig-config
fonts-dejavu-core jq libexpat1-dev libfontconfig1 libio-pty-perl
libipc-run-perl libjq1 libonig5 libpython3-dev libpython3.7-dev
libsensors-config libsensors5 moreutils python-pip-whl python3-asn1crypto
python3-cffi-backend python3-crypto python3-cryptography python3-dev
python3-distutils python3-entrypoints python3-keyring python3-keyrings.alt
python3-lib2to3 python3-pip python3-secretstorage python3-setuptools
python3-wheel python3-xdg python3.7-dev sysstat
0 upgraded, 37 newly installed, 0 to remove and 1 not upgraded.
Need to get 149 kB/54.5 MB of archives.
After this operation, 90.3 MB of additional disk space will be used.
Get:1 http://mirror.de.leaseweb.net/raspbian/raspbian buster/main armhf apt-transport-https all 1.8.2.2 [149 kB]
Preconfiguring packages ...
Fetched 149 kB in 0s (459 kB/s)
Selecting previously unselected package bc.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 49478 files and directories currently installed.)
Preparing to unpack .../00-bc_1.07.1-2_armhf.deb ...
Unpacking bc (1.07.1-2) ...
Selecting previously unselected package apt-transport-https.
Preparing to unpack .../01-apt-transport-https_1.8.2.2_all.deb ...
Unpacking apt-transport-https (1.8.2.2) ...
Selecting previously unselected package avahi-autoipd.
Preparing to unpack .../02-avahi-autoipd_0.7-4+b1_armhf.deb ...
Unpacking avahi-autoipd (0.7-4+b1) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../03-python3-lib2to3_3.7.3-1_all.deb ...
Unpacking python3-lib2to3 (3.7.3-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../04-python3-distutils_3.7.3-1_all.deb ...
Unpacking python3-distutils (3.7.3-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../05-dh-python_3.20190308_all.deb ...
Unpacking dh-python (3.20190308) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../06-fonts-dejavu-core_2.37-1_all.deb ...
Unpacking fonts-dejavu-core (2.37-1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../07-fontconfig-config_2.13.1-2_all.deb ...
Unpacking fontconfig-config (2.13.1-2) ...
Selecting previously unselected package libfontconfig1:armhf.
Preparing to unpack .../08-libfontconfig1_2.13.1-2_armhf.deb ...
Unpacking libfontconfig1:armhf (2.13.1-2) ...
Selecting previously unselected package fontconfig.
Preparing to unpack .../09-fontconfig_2.13.1-2_armhf.deb ...
Unpacking fontconfig (2.13.1-2) ...
Selecting previously unselected package libonig5:armhf.
Preparing to unpack .../10-libonig5_6.9.1-1_armhf.deb ...
Unpacking libonig5:armhf (6.9.1-1) ...
Selecting previously unselected package libjq1:armhf.
Preparing to unpack .../11-libjq1_1.5+dfsg-2+b1_armhf.deb ...
Unpacking libjq1:armhf (1.5+dfsg-2+b1) ...
Selecting previously unselected package jq.
Preparing to unpack .../12-jq_1.5+dfsg-2+b1_armhf.deb ...
Unpacking jq (1.5+dfsg-2+b1) ...
Selecting previously unselected package libexpat1-dev:armhf.
Preparing to unpack .../13-libexpat1-dev_2.2.6-2+deb10u1_armhf.deb ...
Unpacking libexpat1-dev:armhf (2.2.6-2+deb10u1) ...
Selecting previously unselected package libio-pty-perl.
Preparing to unpack .../14-libio-pty-perl_1%3a1.08-1.1+b4_armhf.deb ...
Unpacking libio-pty-perl (1:1.08-1.1+b4) ...
Selecting previously unselected package libipc-run-perl.
Preparing to unpack .../15-libipc-run-perl_20180523.0-1_all.deb ...
Unpacking libipc-run-perl (20180523.0-1) ...
Selecting previously unselected package libpython3.7-dev:armhf.
Preparing to unpack .../16-libpython3.7-dev_3.7.3-2+deb10u2_armhf.deb ...
Unpacking libpython3.7-dev:armhf (3.7.3-2+deb10u2) ...
Selecting previously unselected package libpython3-dev:armhf.
Preparing to unpack .../17-libpython3-dev_3.7.3-1_armhf.deb ...
Unpacking libpython3-dev:armhf (3.7.3-1) ...
Selecting previously unselected package libsensors-config.
Preparing to unpack .../18-libsensors-config_1%3a3.5.0-3_all.deb ...
Unpacking libsensors-config (1:3.5.0-3) ...
Selecting previously unselected package libsensors5:armhf.
Preparing to unpack .../19-libsensors5_1%3a3.5.0-3_armhf.deb ...
Unpacking libsensors5:armhf (1:3.5.0-3) ...
Selecting previously unselected package moreutils.
Preparing to unpack .../20-moreutils_0.62-1+b1_armhf.deb ...
Unpacking moreutils (0.62-1+b1) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../21-python-pip-whl_18.1-5+rpt1_all.deb ...
Unpacking python-pip-whl (18.1-5+rpt1) ...
Selecting previously unselected package python3-asn1crypto.
Preparing to unpack .../22-python3-asn1crypto_0.24.0-1_all.deb ...
Unpacking python3-asn1crypto (0.24.0-1) ...
Selecting previously unselected package python3-cffi-backend.
Preparing to unpack .../23-python3-cffi-backend_1.12.2-1_armhf.deb ...
Unpacking python3-cffi-backend (1.12.2-1) ...
Selecting previously unselected package python3-crypto.
Preparing to unpack .../24-python3-crypto_2.6.1-9+b1_armhf.deb ...
Unpacking python3-crypto (2.6.1-9+b1) ...
Selecting previously unselected package python3-cryptography.
Preparing to unpack .../25-python3-cryptography_2.6.1-3+deb10u2_armhf.deb ...
Unpacking python3-cryptography (2.6.1-3+deb10u2) ...
Selecting previously unselected package python3.7-dev.
Preparing to unpack .../26-python3.7-dev_3.7.3-2+deb10u2_armhf.deb ...
Unpacking python3.7-dev (3.7.3-2+deb10u2) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../27-python3-dev_3.7.3-1_armhf.deb ...
Unpacking python3-dev (3.7.3-1) ...
Selecting previously unselected package python3-entrypoints.
Preparing to unpack .../28-python3-entrypoints_0.3-1_all.deb ...
Unpacking python3-entrypoints (0.3-1) ...
Selecting previously unselected package python3-secretstorage.
Preparing to unpack .../29-python3-secretstorage_2.3.1-2_all.deb ...
Unpacking python3-secretstorage (2.3.1-2) ...
Selecting previously unselected package python3-keyring.
Preparing to unpack .../30-python3-keyring_17.1.1-1_all.deb ...
Unpacking python3-keyring (17.1.1-1) ...
Selecting previously unselected package python3-keyrings.alt.
Preparing to unpack .../31-python3-keyrings.alt_3.1.1-1_all.deb ...
Unpacking python3-keyrings.alt (3.1.1-1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../32-python3-pip_18.1-5+rpt1_all.deb ...
Unpacking python3-pip (18.1-5+rpt1) ...