硬件:树莓派3B硬件,
系统:2020-02-13-raspbian-buster-lite
报错如下
pi@raspberrypi:~ $ sudo su
root@raspberrypi:/home/pi# wget https://code.aliyun.com/neroxps/hassio_install/raw/master/install.sh
--2020-04-25 07:03:15-- https://code.aliyun.com/neroxps/hassio_install/raw/master/install.sh
Resolving code.aliyun.com (code.aliyun.com)... 120.55.150.20
Connecting to code.aliyun.com (code.aliyun.com)|120.55.150.20|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: ‘install.sh’
install.sh [ <=> ] 22.26K --.-KB/s in 0.01s
2020-04-25 07:03:15 (2.27 MB/s) - ‘install.sh’ saved [22794]
root@raspberrypi:/home/pi# chmod a+x install.sh
root@raspberrypi:/home/pi# ./install.sh
(1). 是否将系统源切换为中科大(USTC)源(目前支持 Debian Ubuntu Raspbian 三款系统)
请输入 y or n(默认 yes):
(2). 找到该系统中有以下用户名
如下方列表未显示你的用户名,请切换回你用户账号后输入 sudo usermod -aG docker $USER 添加用户到 docker 用户组。
[1]: pi
[2]: systemd-coredump
[s]: 跳过
请输入你需要使用 docker 的用户名序号,以加入 docker 用户组:1
将pi用户添加至 docker 用户组。
(3).是否需要替换 docker 默认源?
请输入 yes 或者 no(默认:yes):
(4).请选择你设备类型(默认:qemux86)
[1]: intel-nuc: 英特尔的nuc小主机
[2]: odroid-c2: 韩国odroid-c2
[3]: odroid-xu: 韩国odroid-xu
[4]: orangepi-prime: 香橙派
[5]: qemuarm: 通用arm设备(例如斐讯N1)
[6]: qemux86: 通用X86(普通的PC机电脑)
[7]: raspberrypi: 树莓派一代
[8]: raspberrypi2: 树莓派二代
[9]: raspberrypi3: 树莓派三代
[10]: raspberrypi4: 树莓派四代
[11]: tinker: 华硕tinker
输入数字 (1-11):9
你选择了 raspberrypi3
(5).是否需要设置 hassio 数据保存路径(默认:/usr/share/hassio)
请输入 yes 或 no (默认:no):
hassio 数据路径为默认路径: /usr/share/hassio
################################################################################
# 1. 是否将系统源切换为中科大(USTC)源: 是
# 2. 是否将用户添加至 Docker 用户组: 是,添加用户为 pi
# 3. 是否将 Docker 源切换至国内源: 是,切换源选择:
# 4. 您的设备类型为: raspberrypi3
# 5. 您的 hassio 数据路径为: /usr/share/hassio
################################################################################
请确认以上信息,继续请按任意键,如需修改请输入 Ctrl+C 结束任务重新执行脚本。
[info]: 切换系统网络源.....
备份系统源文件为 /etc/apt/sources.list.bak
Get:1 http://archive.raspberrypi.org/debian buster InRelease [25.1 kB]
Get:2 http://mirrors.ustc.edu.cn/raspbian/raspbian buster InRelease [15.0 kB]
Get:3 http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian buster InRelease [25.1 kB]
Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [326 kB]
Get:5 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/main armhf Packages [13.0 MB]
Get:6 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/contrib armhf Packages [58.7 kB]
Get:7 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/non-free armhf Packages [103 kB]
Get:8 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/rpi armhf Packages [1,360 B]
Get:9 http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian buster/main armhf Packages [326 kB]
Fetched 13.9 MB in 25s (560 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
26 packages can be upgraded. Run 'apt list --upgradable' to see them.
[info]: 安装 hassio 必要依赖.....
Hit:1 http://mirrors.ustc.edu.cn/raspbian/raspbian buster InRelease
Hit:2 http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian buster InRelease
Hit:3 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
26 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
avahi-daemon is already the newest version (0.7-4+b1).
net-tools is already the newest version (1.60+git20180626.aebd88e-1).
The following additional packages will be installed:
libcurl4 libjq1 libonig5 libqrencode4
The following NEW packages will be installed:
jq libjq1 libonig5 libqrencode4 qrencode socat
The following packages will be upgraded:
curl libcurl4
2 upgraded, 6 newly installed, 0 to remove and 24 not upgraded.
Need to get 1,272 kB of archives.
After this operation, 1,990 kB of additional disk space will be used.
Get:1 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/main armhf curl armhf 7.64.0-4+deb10u1 [254 kB]
Get:2 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/main armhf libcurl4 armhf 7.64.0-4+deb10u1 [294 kB]
Get:3 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/main armhf libonig5 armhf 6.9.1-1 [150 kB]
Get:4 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/main armhf libjq1 armhf 1.5+dfsg-2+b1 [119 kB]
Get:5 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/main armhf jq armhf 1.5+dfsg-2+b1 [59.3 kB]
Get:6 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/main armhf libqrencode4 armhf 4.0.2-1 [33.9 kB]
Get:7 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/main armhf qrencode armhf 4.0.2-1 [37.8 kB]
Get:8 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/main armhf socat armhf 1.7.3.2-2 [324 kB]
Fetched 1,272 kB in 1s (1,741 kB/s)
apt-listchanges: Reading changelogs...
(Reading database ... 39839 files and directories currently installed.)
Preparing to unpack .../0-curl_7.64.0-4+deb10u1_armhf.deb ...
Unpacking curl (7.64.0-4+deb10u1) over (7.64.0-4) ...
Preparing to unpack .../1-libcurl4_7.64.0-4+deb10u1_armhf.deb ...
Unpacking libcurl4:armhf (7.64.0-4+deb10u1) over (7.64.0-4) ...
Selecting previously unselected package libonig5:armhf.
Preparing to unpack .../2-libonig5_6.9.1-1_armhf.deb ...
Unpacking libonig5:armhf (6.9.1-1) ...
Selecting previously unselected package libjq1:armhf.
Preparing to unpack .../3-libjq1_1.5+dfsg-2+b1_armhf.deb ...
Unpacking libjq1:armhf (1.5+dfsg-2+b1) ...
Selecting previously unselected package jq.
Preparing to unpack .../4-jq_1.5+dfsg-2+b1_armhf.deb ...
Unpacking jq (1.5+dfsg-2+b1) ...
Selecting previously unselected package libqrencode4:armhf.
Preparing to unpack .../5-libqrencode4_4.0.2-1_armhf.deb ...
Unpacking libqrencode4:armhf (4.0.2-1) ...
Selecting previously unselected package qrencode.
Preparing to unpack .../6-qrencode_4.0.2-1_armhf.deb ...
Unpacking qrencode (4.0.2-1) ...
Selecting previously unselected package socat.
Preparing to unpack .../7-socat_1.7.3.2-2_armhf.deb ...
Unpacking socat (1.7.3.2-2) ...
Setting up libqrencode4:armhf (4.0.2-1) ...
Setting up qrencode (4.0.2-1) ...
Setting up socat (1.7.3.2-2) ...
Setting up libcurl4:armhf (7.64.0-4+deb10u1) ...
Setting up curl (7.64.0-4+deb10u1) ...
Setting up libonig5:armhf (6.9.1-1) ...
Setting up libjq1:armhf (1.5+dfsg-2+b1) ...
Setting up jq (1.5+dfsg-2+b1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
[info]: 安装 Docker 引擎.....
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.618733] Internal error: Oops - BUG: 0 [#2] SMP ARM
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.629665] Process kworker/u8:2 (pid: 111, stack limit = 0xb09492ac)
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.633688] Stack: (0xb7c7b8b0 to 0xb7c7c000)
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.637701] b8a0: 801397b4 8014e874 b7c7b8ec b7c7b8c8
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.645930] b8c0: 80139828 80139788 80849228 80155074 b7c88f80 b7902bc1 4ec7df88 b522d000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.654380] b8e0: b9dd4c00 b522d000 b7c7ba48 b9dd4800 b9dd4800 0000000c b7c7b97c b7c7b908
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.662792] b900: 8039e250 8039d668 00000800 80d04d48 b7c7ba58 b9dd4c00 00000000 b0b49350
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.667610] b920: b7c7b97c b7c7b930 8039a218 8036cfd0 b522d040 b522d03c 00001000 00000000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.672067] b940: 00000800 00000000 00000000 b7902bc1 ba386480 b7c7ba58 b9dd4c00 b522d000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.676535] b960: b7c7ba48 b9dd4800 b85c6118 80e40c24 b7c7b9ec b7c7b980 803a09ec 8039e1f0
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.680869] b980: 00000800 00000000 b7c7b9ec b7c7b998 80372bdc 80377488 b947da00 ba386400
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.685195] b9a0: b7c7b9dc 80155d28 8014d6b4 80155798 00000000 00000000 00000000 00000000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.689643] b9c0: b7c7b9f4 b0b491c0 b7c7bc70 00000000 00000800 00000800 00000800 00000000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.694218] b9e0: b7c7bac4 b7c7b9f0 803778f0 803a01e0 b7c7ba44 8016d540 b947da80 b7c7ba08
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.698859] ba00: 80158e64 8016d540 b7c88f80 80191770 b7c7ba2c b7c7ba20 0005f800 00000000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.703651] ba20: ba386480 b85c6118 b9dd4c00 b7902bc1 00000000 00000000 80d04d48 00000425
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.708593] ba40: b2c95300 00000000 00000000 00000800 ba380800 8085d710 b0b491c0 00000800
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.713585] ba60: 00000800 000007ff 00000800 b7c7bba8 00060000 00000000 0005ffff 00000000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.718644] ba80: 00000000 00000000 00002420 b0b49190 b7c7baac b7902bc1 8085e11c b7c7bc70
curl: (7) Failed to connect to localhost port 80: Connection refused
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.723713] baa0: b0b491c0 80d04d48 00000425 b85c6118 b0b49190 00000000 b7c7bb34 b7c7bac8
[ERROR]: 下载 get.docker.com 失败,请检查网络与其连接是否正常。
root@raspberrypi:/home/pi#
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.728780] bac0: 8038c4ec 80376c74 0000000f b7c7bba8 b7c7bbc0 ba85348c 0000000f b7c7bb14
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.733849] bae0: b7c7bb4c b7c7baf0 8026f7d0 00000800 00001576 80d04d48 ffffffff a7ffffff
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.738911] bb00: b7c7bb1c b7902bc1 00001020 0000000c 00000000 00000000 b0b491c0 b7c7bd58
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.743974] bb20: b7c7a000 b7c7bc58 b7c7bbf4 b7c7bb38 80390770 8038c3d4 b0b492bc b7c7bc58
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.749036] bb40: b7c7bb64 b7c7bb50 80270ff4 b7c7bc3f 80d04d48 80d912a0 b0b491c0 80d04d70
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.754090] bb60: b7c7a000 b85c6118 b7c7bc70 00000008 80d04d48 00000000 ffffffff 00000000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.759148] bb80: 00001007 b7c70100 ba85336c ba853390 ba8533b4 ba8533d8 ba8533fc ba853420
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.764206] bba0: ba853444 ba853468 ba85348c ba8534b0 ba8534d4 ba8534f8 ba85351c ba853540
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.769256] bbc0: ba853564 b7902bc1 00000002 b0b491c0 00000000 00000000 b85c6118 b7c7bd58
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.774305] bbe0: b7c7a000 b7c7bd58 b7c7bcdc b7c7bbf8 80391588 8039067c 00000000 8084e750
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.779355] bc00: b7c7bc1c b9677040 80da42a4 00000001 80d04d48 80d912b8 b9dd4c00 b0b492bc
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.784405] bc20: 00000000 80d04d70 00000001 00000000 b9dd4f58 00001800 00000003 00d04d48
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.789456] bc40: b7c7bc6c b7c7bc50 8020336c 80204570 80000013 00000001 b0b491c0 b7c7bd58
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.794508] bc60: 00000800 00001001 ffffffff 80203328 00000000 00000000 00000800 00000800
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.799558] bc80: 00000000 80863594 b7c7bd58 00000000 b5365240 80d04d48 00060000 00000000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.804608] bca0: 00000001 b7c7bca4 b7c7bca4 b7902bc1 80c94400 b7c7bd58 b0b492bc b7c7bd58
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.809662] bcc0: 00001800 b9dd4800 b0b492bc 80d04d48 b7c7bcf4 b7c7bce0 8026d510 80390ea4
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.814718] bce0: b0b491c0 b0b49268 b7c7bd2c b7c7bcf8 80302fa0 8026d4ec a5e4412c 00000007
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.819776] bd00: 00000000 b9676838 b0b49268 b0b491c0 b967684c b9dd4800 b7c7bea8 80d04d48
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.824835] bd20: b7c7bdcc b7c7bd30 8030390c 80302f68 a5e4412c 00001800 b0b49228 80d90538
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.829898] bd40: 80d04d70 80e1b658 fffff357 80d03d00 b7c7a030 000000a1 00001000 00000000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.834959] bd60: 00000000 00000000 ffffffff 7fffffff 00000000 00000011 00000000 00000000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.840023] bd80: 00000000 00000000 00000000 00000000 00000000 00000000 00000007 b7902bc1
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.845088] bda0: b7c7be04 b9676838 b9dd4800 00000000 b7c7bea8 b967684c 80d03d00 b5336ed8
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.850155] bdc0: b7c7be04 b7c7bdd0 80303c64 803036e8 00000000 fffff361 00000000 b9676838
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.855218] bde0: b7c7bea8 b7c7a000 fffff357 80d04d70 00000007 80d1b0ec b7c7be6c b7c7be08
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.860286] be00: 80303efc 80303be0 80d04d48 00007355 b9676864 80d90538 80d03d00 fffff158
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.865353] be20: ffffe79f b7c7be24 b7c7be24 b9774e30 b9774e30 b7c7be34 b7c7be34 b7902bc1
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.870417] be40: ffffeed0 00000000 b9676838 b967691c ffffeed0 b9676910 b9676920 00007355
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.875484] be60: b7c7befc b7c7be70 80304868 80303cb0 801445a8 80d04d48 80d03d00 80d1b0e8
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.880550] be80: b967683c 80d90538 80d04d70 b9676914 00000000 b5574000 0000003b ba386400
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.885615] bea0: b7c88f00 80d04d48 0000734c 00000000 b7c7be20 00000000 00000006 00000003
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.890678] bec0: 00000000 00000000 00000000 b7902bc1 b7c7befc b93c2380 b967691c b9c18400
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.895743] bee0: b9c1fa00 00000000 b9676920 00000000 b7c7bf34 b7c7bf00 8013c44c 8030468c
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.900807] bf00: 40000093 b9c18400 b9c18400 b9c18400 b93c2394 b9c18400 b9c18418 80d03d00
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.905868] bf20: 00000088 b93c2380 b7c7bf7c b7c7bf38 8013c790 8013c2e8 b7c7bf5c b7c7bf48
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.910930] bf40: 808635c4 80d03d00 80d8ef7a b7c7a038 b7c7bf7c b936a640 b936a600 00000000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.915992] bf60: b93c2380 8013c734 b936a65c b9fd1e74 b7c7bfac b7c7bf80 80142ac4 8013c740
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.921055] bf80: 801043d8 b936a600 8014298c 00000000 00000000 00000000 00000000 00000000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.926120] bfa0: 00000000 b7c7bfb0 801010ac 80142998 00000000 00000000 00000000 00000000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.931186] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 267.936250] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
Message from syslogd@raspberrypi at Apr 25 07:04:46 ...
kernel:[ 268.037765] Code: e596301c e1520003 0a000020 e7f001f2 (e7f001f2)
复制代码