『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: neroxps

HASSIO 安装一键脚本

   关闭 [复制链接]

0

主题

36

帖子

105

积分

注册会员

Rank: 2

积分
105
金钱
69
HASS币
0
发表于 2020-1-11 18:07:13 | 显示全部楼层
neroxps 发表于 2020-1-11 12:02
################# 发到论坛时,请把上方日志也一并粘贴发送 ################

已经上传
回复

使用道具 举报

0

主题

2

帖子

20

积分

新手上路

Rank: 1

积分
20
金钱
18
HASS币
0
发表于 2020-1-18 17:06:44 | 显示全部楼层
root@aml:~# curl -sL -o install.sh https://raw.githubusercontent.co ... l/master/install.sh
chmod a+x install.sh
./install.shroot@aml:~# chmod a+x install.sh
root@aml:~# ./install.sh
(1). 是否将系统源切换为中科大(USTC)源(目前支持 Debian Ubuntu Raspbian 三款系统)
请输入 y or n(默认 yes):


(2). 在你系统内找到 hassio 用户,是否将其添加至 docker 用户组。
请输入 yes 或者 no (默认 yes):
将hassio用户添加至 docker 用户组。


(3).是否需要替换 docker 默认源?
请输入 yes 或者 no(默认:yes):

1. docker-cn (docker 官方中国镜像源,阿里云提供服务,但流量大可能会卡)
2. 七牛云 docker 镜像源
3. 163 docker 镜像源(无 SSL)
请选择 docker 加速器(默认:七牛云):


(4).请选择你设备类型(默认:qemux86-64)
    [1]: intel-nuc: 英特尔的nuc小主机
    [2]: odroid-c2: 韩国odroid-c2
    [3]: odroid-xu: 韩国odroid-xu
    [4]: orangepi-prime: 香橙派
    [5]: qemuarm-64: 通用arm设备(例如斐讯N1) 64位系统
    [6]: qemux86-64: 通用X86(普通的PC机电脑)64位系统
    [7]: raspberrypi3-64: 树莓派三代64位系统
    [8]: raspberrypi4-64: 树莓派四代64位系统
    [9]: tinker: 华硕tinker
输入数字 (1-9):5
你选择了 qemuarm-64


(5).是否需要设置 hassio 数据保存路径(默认:/usr/share/hassio)
请输入 yes 或 no (默认:no):
hassio 数据路径为默认路径: /usr/share/hassio
################################################################################
# 1. 是否将系统源切换为中科大(USTC)源: 是
# 2. 是否将用户添加至 Docker 用户组:   是,添加用户为 hassio
# 3. 是否将 Docker 源切换至国内源:     是,切换源选择:七牛云
# 4. 您的设备类型为:                   qemuarm-64
# 5. 您的 hassio 数据路径为:           /usr/share/hassio
################################################################################
请确认以上信息,继续请按任意键,如需修改请输入 Ctrl+C 结束任务重新执行脚本。

[info]: 切换系统网络源.....
Ign:1 http://mirrors.ustc.edu.cn/debian stretch InRelease
Hit:2 http://mirrors.ustc.edu.cn/debian stretch-updates InRelease
Hit:3 http://mirrors.ustc.edu.cn/debian stretch-backports InRelease
Hit:4 http://mirrors.ustc.edu.cn/debian-security stretch/updates InRelease
Hit:5 http://mirrors.ustc.edu.cn/debian stretch Release
Hit:6 https://mirror.azure.cn/docker-ce/linux/debian stretch InRelease
Reading package lists... Done
Building dependency tree      
Reading state information... Done
All packages are up to date.
N: Ignoring file 'hassio_install.sh' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'install.sh' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
[info]: 安装 hassio 必要依赖.....
Reading package lists... Done
Building dependency tree      
Reading state information... Done
avahi-daemon is already the newest version (0.6.32-2).
curl is already the newest version (7.52.1-5+deb9u9).
jq is already the newest version (1.5+dfsg-1.3).
net-tools is already the newest version (1.60+git20161116.90da8a0-1).
network-manager is already the newest version (1.6.2-3+deb9u2).
socat is already the newest version (1.7.3.1-2+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
N: Ignoring file 'hassio_install.sh' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'install.sh' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
/usr/bin/docker
[info]: 发现系统已安装 docker,跳过 docker 安装
[info]: 切换 Docker 源为国内源....
[info]: 切换国内源完成
[info]: 安装 hassio......
从 hub.docker.com 下载 homeassistant/qemuarm-64-homeassistant:0.103.2......
0.103.2: Pulling from homeassistant/qemuarm-64-homeassistant
Digest: sha256:33b2c442f863cf7849a62f902d9898aebc1d0a463f3c25e2e130f3cdec5c51a2
Status: Image is up to date for homeassistant/qemuarm-64-homeassistant:0.103.2
docker.io/homeassistant/qemuarm-64-homeassistant:0.103.2
开始 hassio 安装流程。(如出现 [Warning] 请忽略,无须理会)
[Warning] No AppArmor support on host.
[Info] Install supervisor Docker container
[Info] Install supervisor startup scripts
[Info] Run Hass.io
等待 homeassistant 启动.............................................................................................................................................................................................................................................................................................................fail
########################### Docker images ###########################
REPOSITORY                                TAG                 IMAGE ID            CREATED             SIZE
homeassistant/aarch64-hassio-supervisor   195                 38e9c216957b        8 days ago          263MB
homeassistant/aarch64-hassio-supervisor   latest              38e9c216957b        8 days ago          263MB
homeassistant/qemuarm-64-homeassistant    0.103.2             fc7c2751f2a6        4 weeks ago         1.11GB
homeassistant/qemuarm-64-homeassistant    latest              fc7c2751f2a6        4 weeks ago         1.11GB
portainer/portainer                       linux-arm64         db652f354716        6 weeks ago         70.7MB
homeassistant/aarch64-hassio-supervisor   193                 e6081d0b10d3        2 months ago        263MB
homeassistant/aarch64-hassio-dns          1                   e5edbd61b477        5 months ago        59.8MB
########################### Docker ps ###########################
CONTAINER ID        IMAGE                                COMMAND                  CREATED             STATUS                     PORTS               NAMES
e86309860344        homeassistant/aarch64-hassio-dns:1   "coredns -conf /conf…"   5 minutes ago       Up 4 minutes                                   hassio_dns
7f235abebb9f        e6081d0b10d3                         "/bin/entry.sh pytho…"   5 minutes ago       Up 5 minutes                                   hassio_supervisor
d2725cfe30d7        portainer/portainer:linux-arm64      "/portainer"             3 days ago          Exited (2) 6 minutes ago                       portainer
########################### hassio log ###########################
20-01-18 08:48:39 INFO (MainThread) [__main__] Initialize Hass.io setup
20-01-18 08:48:40 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to Supervisor homeassistant/aarch64-hassio-supervisor with version 193
20-01-18 08:48:40 INFO (SyncWorker_0) [hassio.docker.supervisor] Connect Supervisor to Hass.io Network
20-01-18 08:48:40 INFO (SyncWorker_0) [hassio.docker.interface] Cleanup images: ['homeassistant/aarch64-hassio-supervisor:195']
20-01-18 08:48:41 INFO (MainThread) [__main__] Setup HassIO
20-01-18 08:48:41 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
20-01-18 08:48:42 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
20-01-18 08:48:42 WARNING (MainThread) [hassio.dbus.rauc] Host has no rauc support. OTA updates have been disabled.
20-01-18 08:48:42 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.NetworkManager - /org/freedesktop/NetworkManager/DnsManager
20-01-18 08:48:42 INFO (MainThread) [hassio.host.info] Update local host information
20-01-18 08:48:42 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-01-18 08:48:42 INFO (MainThread) [hassio.host.services] Update service information
20-01-18 08:48:42 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-01-18 08:48:42 INFO (MainThread) [hassio.host.network] Update local network DNS information
20-01-18 08:48:42 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-01-18 08:48:42 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: set()
20-01-18 08:48:42 INFO (MainThread) [hassio.host.apparmor] AppArmor is not enabled on host
20-01-18 08:48:42 INFO (SyncWorker_1) [hassio.docker.interface] Attach to homeassistant/aarch64-hassio-dns with version 1
20-01-18 08:48:42 INFO (MainThread) [hassio.dns] Update resolv from Supervisor
20-01-18 08:48:42 INFO (MainThread) [hassio.dns] Start CoreDNS plugin
20-01-18 08:48:42 INFO (MainThread) [hassio.misc.forwarder] Start DNS port forwarding to 172.30.32.3
20-01-18 08:48:44 INFO (SyncWorker_1) [hassio.docker.dns] Start DNS homeassistant/aarch64-hassio-dns with version 1
20-01-18 08:48:44 INFO (SyncWorker_0) [hassio.docker.interface] Attach to homeassistant/qemuarm-64-homeassistant with version 0.103.2
20-01-18 08:48:44 INFO (MainThread) [hassio.store.git] Load add-on /data/addons/git/a0d7b954 repository
20-01-18 08:48:44 INFO (MainThread) [hassio.store.git] Load add-on /data/addons/core repository
20-01-18 08:48:44 INFO (MainThread) [hassio.store] Load add-ons from store: 63 all - 63 new - 0 remove
20-01-18 08:48:44 INFO (MainThread) [hassio.addons] Found 0 installed add-ons
20-01-18 08:48:44 INFO (MainThread) [hassio.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-01-18 08:48:45 INFO (MainThread) [hassio.snapshots] Found 0 snapshot files
20-01-18 08:48:45 INFO (MainThread) [hassio.discovery] Load 0 messages
20-01-18 08:48:45 INFO (MainThread) [hassio.ingress] Load 0 ingress session
20-01-18 08:48:45 INFO (MainThread) [hassio.secrets] Load Home Assistant secrets: 0
20-01-18 08:48:45 INFO (MainThread) [__main__] Run Hass.io
20-01-18 08:48:45 INFO (MainThread) [hassio.api] Start API on 172.30.32.2
20-01-18 08:48:45 INFO (MainThread) [hassio.supervisor] Update Supervisor to version 195
20-01-18 08:48:45 INFO (SyncWorker_5) [hassio.docker.interface] Update image homeassistant/aarch64-hassio-supervisor:193 to homeassistant/aarch64-hassio-supervisor:195
20-01-18 08:48:45 INFO (SyncWorker_5) [hassio.docker.interface] Pull image homeassistant/aarch64-hassio-supervisor tag 195.
20-01-18 08:53:19 INFO (SyncWorker_5) [hassio.docker.interface] Tag image homeassistant/aarch64-hassio-supervisor with version 195 as latest
20-01-18 08:53:20 INFO (SyncWorker_5) [hassio.docker.interface] Stop hassio_supervisor application
20-01-18 08:53:20 INFO (MainThread) [__main__] Stopping Hass.io
20-01-18 08:53:20 INFO (MainThread) [hassio.api] Stop API on 172.30.32.2
20-01-18 08:53:20 INFO (MainThread) [hassio.misc.forwarder] Stop DNS forwarding
20-01-18 08:53:20 INFO (MainThread) [hassio.core] Hass.io is down
20-01-18 08:53:20 INFO (MainThread) [__main__] Close Hass.io
########################### homeassistant log ###########################
Error: No such container: homeassistant
########################### END ###########################
homeassistant 启动超时,请检查上方日志....或者重启操作系统
相关问题可以访问https://bbs.iobroker.cn或者加QQ群776817275咨询
回复

使用道具 举报

0

主题

2

帖子

20

积分

新手上路

Rank: 1

积分
20
金钱
18
HASS币
0
发表于 2020-1-18 17:12:09 | 显示全部楼层
lvjieshuai 发表于 2020-1-18 17:06
root@aml:~# curl -sL -o install.sh https://raw.githubusercontent.com/neroxps/hassio_install/master/i ...

镜像都下好了

镜像都是下好的

镜像都是下好的
回复

使用道具 举报

0

主题

10

帖子

42

积分

新手上路

Rank: 1

积分
42
金钱
32
HASS币
0
发表于 2020-1-19 03:01:01 | 显示全部楼层
新手福音,感谢楼主
回复

使用道具 举报

3

主题

89

帖子

1624

积分

金牌会员

Rank: 6Rank: 6

积分
1624
金钱
1535
HASS币
0
发表于 2020-1-23 20:42:21 | 显示全部楼层
hassio 数据路径为默认路径: /usr/share/hassio
################################################################################
# 1. 是否将系统源切换为中科大(USTC)源: 否
# 2. 是否将用户添加至 Docker 用户组:   是,添加用户为 pi
# 3. 是否将 Docker 源切换至国内源:     否
# 4. 您的设备类型为:                   raspberrypi3
# 5. 您的 hassio 数据路径为:           /usr/share/hassio
################################################################################
请确认以上信息,继续请按任意键,如需修改请输入 Ctrl+C 结束任务重新执行脚本。

[info]: 跳过切换系统源。
[info]: 安装 hassio 必要依赖.....
Get:1 http://archive.raspberrypi.org/debian buster InRelease [25.3 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Reading package lists... Done                                       
E: Release file for http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease is not valid yet (invalid for another 119d 10h 7min 27s). Updates for this repository will not be applied.
E: Release file for http://archive.raspberrypi.org/debian/dists/buster/InRelease is not valid yet (invalid for another 118d 15h 54min 3s). Updates for this repository will not be applied.
Reading package lists... Done
Building dependency tree      
Reading state information... Done
avahi-daemon is already the newest version (0.7-4+b1).
curl is already the newest version (7.64.0-4).
net-tools is already the newest version (1.60+git20180626.aebd88e-1).
The following additional packages will be installed:
  dns-root-data dnsmasq-base libjq1 libmbim-glib4 libmbim-proxy libmm-glib0 libndp0 libnm0
  libonig5 libpcap0.8 libqmi-glib5 libqmi-proxy libteamdctl0 modemmanager ppp
Suggested packages:
  libteam-utils
The following NEW packages will be installed:
  dns-root-data dnsmasq-base jq libjq1 libmbim-glib4 libmbim-proxy libmm-glib0 libndp0 libnm0
  libonig5 libpcap0.8 libqmi-glib5 libqmi-proxy libteamdctl0 modemmanager network-manager ppp
  socat
0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,430 kB/6,875 kB of archives.
After this operation, 23.8 MB of additional disk space will be used.
Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libnm0 armhf 1.14.6-2
  404  Not Found [IP: 93.93.128.193 80]
Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf network-manager armhf 1.14.6-2
  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/ ... _1.14.6-2_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/ ... _1.14.6-2_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID:        Raspbian
Description:        Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:        buster
########################### System version 2 ###########################
Linux version 4.19.75-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1270 SMP Tue Sep 24 18:45:11 BST 2019
########################### System info ###########################
Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m

相关问题可以访问https://bbs.iobroker.cn或者加QQ群776817275咨询
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-1-23 21:01:25 | 显示全部楼层
hellowxufang 发表于 2020-1-23 20:42
hassio 数据路径为默认路径: /usr/share/hassio
###################################################### ...

你无法连上 http://raspbian.raspberrypi.org/raspbian 源。
Nero
回复

使用道具 举报

3

主题

89

帖子

1624

积分

金牌会员

Rank: 6Rank: 6

积分
1624
金钱
1535
HASS币
0
发表于 2020-1-23 23:04:18 | 显示全部楼层

大神你好,我现在可以连上源了,但是我试了好多遍,每次都到这一步出错,ssh直接断开,路由器里面看树莓派的ip都变了,而且再连接也连不上,要重新刷系统才能连上树莓派。。
Setting up libnm0:armhf (1.14.6-2+deb10u1) ...
Setting up ppp (2.4.7-2+4.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/pppd-dns.service → /lib/systemd/system/pppd-dns.service.
Setting up libmm-glib0:armhf (1.10.0-1) ...
Setting up libndp0:armhf (1.6-1) ...
Setting up libonig5:armhf (6.9.1-1) ...
Setting up libmbim-glib4:armhf (1.18.0-1) ...
Setting up libjq1:armhf (1.5+dfsg-2+b1) ...
Setting up network-manager (1.14.6-2+deb10u1) ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service → /lib/systemd/system/NetworkManager-dispatcher.service.
Created symlink /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service → /lib/systemd/system/NetworkManager-wait-online.service.
Created symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service → /lib/systemd/system/NetworkManager.service.
Setting up libmbim-proxy (1.18.0-1) ...
Setting up jq (1.5+dfsg-2+b1) ...
Setting up libqmi-glib5:armhf (1.22.0-1.2) ...
Setting up libqmi-proxy (1.22.0-1.2) ...
Setting up modemmanager (1.10.0-1) ...

Socket error Event: 32 Error: 10053.
Connection closing...Socket close.

Connection closed by foreign host.

Disconnected from remote host(192.168.50.148) at 23:02:44.##########################################...]

Type `help' to learn how to use Xshell prompt.


回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-1-24 12:46:11 | 显示全部楼层
hellowxufang 发表于 2020-1-23 23:04
大神你好,我现在可以连上源了,但是我试了好多遍,每次都到这一步出错,ssh直接断开,路由器里面看树莓派 ...

还是网络问题 连不上源装不了依赖包
Nero
回复

使用道具 举报

9

主题

214

帖子

1097

积分

金牌会员

Rank: 6Rank: 6

积分
1097
金钱
883
HASS币
0
发表于 2020-1-24 16:58:27 | 显示全部楼层
大神帮忙看看
Get:9 http://mirrors.ustc.edu.cn/debian buster/main arm64 jq arm64 1.5+dfsg-2+b1 [58.7 kB]
Get:10 http://mirrors.ustc.edu.cn/debian buster/main arm64 socat arm64 1.7.3.2-2 [339 kB]
Fetched 3,624 kB in 5s (804 kB/s)
dpkg: unrecoverable fatal error, aborting:
loading files list file for package 'base-passwd': cannot open /var/lib/dpkg/info/base-passwd.list (Bad message)
E: Sub-process /usr/bin/dpkg returned an error code (2)
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - pkgDPkgPM::Go (30: Read-only file system)

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
########################### System version 2 ###########################
Linux version 5.1.15-aml-s905 (root@vbox) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #5.91 SMP PREEMPT Wed Jul 10 17:44:15 MSK 2019
########################### System info ###########################
Linux aml 5.1.15-aml-s905 #5.91 SMP PREEMPT Wed Jul 10 17:44:15 MSK 2019 aarch64 GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m

回复

使用道具 举报

3

主题

76

帖子

352

积分

论坛积极会员

积分
352
金钱
276
HASS币
0
发表于 2020-1-25 16:34:23 | 显示全部楼层
本帖最后由 ml9612 于 2020-1-26 11:28 编辑

目前已解决,有网友指点说19.8.24更新的新增依赖network-manager问题。然后我把它删除后安装就可以正常安装了。
谢谢N大把hassio安装写得非常方便了。祝新年快乐。
——————————————————————————————————————————————————
抱歉N大,我跟940楼的同学是一样的情况。安装进度97%自动卡死,ip地址乱跳,putty和vnc连不上,必须重刷系统才行。
请问您说的连不上源,装不了依赖包是可以通过换源解决吗?实在小白不懂,麻烦了。
我是raspberry 3b+,半年前装过一次hassio成功了。最近tf卡坏了,重装一下。
——————————————————————————————————————————————————

(1). 是否将系统源切换为中科大(USTC)源(目前支持 Debian Ubuntu Raspbian 三款系统)
请输入 y or n(默认 yes):n


(2). 找到该系统中有以下用户名
如下方列表未显示你的用户名,请切换回你用户账号后输入 sudo usermod -aG docker $USER 添加用户到 docker 用户组。
    [1]: pi
    [2]: systemd-coredump
    : 跳过
请输入你需要使用 docker 的用户名序号,以加入 docker 用户组:1
将pi用户添加至 docker 用户组。


(3).是否需要替换 docker 默认源?
请输入 yes 或者 no(默认:yes):

1. docker-cn (docker 官方中国镜像源,阿里云提供服务,但流量大可能会卡)
2. 七牛云 docker 镜像源
3. 163 docker 镜像源(无 SSL)
请选择 docker 加速器(默认:七牛云):


(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]: 跳过切换系统源。
[info]: 安装 hassio 必要依赖.....
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian buster InRelease [25.3 kB]
Get:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [263 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Fetched 13.3 MB in 25min 50s (8,586 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
168 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).
curl is already the newest version (7.64.0-4).
net-tools is already the newest version (1.60+git20180626.aebd88e-1).
The following additional packages will be installed:
  dns-root-data dnsmasq-base libjq1 libmbim-glib4 libmbim-proxy libmm-glib0
  libndp0 libnm0 libonig5 libpcap0.8 libqmi-glib5 libqmi-proxy libteamdctl0
  modemmanager ppp
Suggested packages:
  libteam-utils
The following NEW packages will be installed:
  dns-root-data dnsmasq-base jq libjq1 libmbim-glib4 libmbim-proxy libmm-glib0
  libndp0 libnm0 libonig5 libpcap0.8 libqmi-glib5 libqmi-proxy libteamdctl0
  modemmanager network-manager ppp socat
0 upgraded, 18 newly installed, 0 to remove and 168 not upgraded.
Need to get 6,875 kB of archives.
After this operation, 23.8 MB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian buster/main armhf dnsmasq-base armhf 2.80-1+rpt1 [400 kB]
Get:2 http://mirrors.nju.edu.cn/raspbian/raspbian buster/main armhf libmm-glib0 armhf 1.10.0-1 [903 kB]
Get:3 http://mirrors.nju.edu.cn/raspbian/raspbian buster/main armhf libndp0 armhf 1.6-1 [9,328 B]
Get:4 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/main armhf libnm0 armhf 1.14.6-2+deb10u1 [295 kB]
Get:5 http://mirrors.nju.edu.cn/raspbian/raspbian buster/main armhf libteamdctl0 armhf 1.28-1 [10.1 kB]
Get:6 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/main armhf network-manager armhf 1.14.6-2+deb10u1 [2,136 kB]
Get:7 http://mirrors.nju.edu.cn/raspbian/raspbian buster/main armhf dns-root-data all 2019031302 [5,396 B]
Get:8 http://mirrors.nju.edu.cn/raspbian/raspbian buster/main armhf libonig5 armhf 6.9.1-1 [150 kB]
Get:9 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/main armhf libjq1 armhf 1.5+dfsg-2+b1 [119 kB]
Get:10 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/main armhf jq armhf 1.5+dfsg-2+b1 [59.3 kB]
Get:11 http://mirrors.nju.edu.cn/raspbian/raspbian buster/main armhf libmbim-glib4 armhf 1.18.0-1 [142 kB]
Get:12 http://mirrors.nju.edu.cn/raspbian/raspbian buster/main armhf libmbim-proxy armhf 1.18.0-1 [70.7 kB]
Get:13 http://mirrors.nju.edu.cn/raspbian/raspbian buster/main armhf libpcap0.8 armhf 1.8.1-6 [124 kB]
Get:14 http://mirrors.nju.edu.cn/raspbian/raspbian buster/main armhf libqmi-glib5 armhf 1.22.0-1.2 [443 kB]
Get:15 http://mirrors.nju.edu.cn/raspbian/raspbian buster/main armhf libqmi-proxy armhf 1.22.0-1.2 [9,032 B]
Get:16 http://mirrors.nju.edu.cn/raspbian/raspbian buster/main armhf modemmanager armhf 1.10.0-1 [1,363 kB]
Get:17 http://mirrors.ustc.edu.cn/raspbian/raspbian buster/main armhf ppp armhf 2.4.7-2+4.1 [312 kB]
Get:18 http://mirrors.nju.edu.cn/raspbian/raspbian buster/main armhf socat armhf 1.7.3.2-2 [324 kB]
Fetched 6,875 kB in 19s (371 kB/s)
Selecting previously unselected package libmm-glib0:armhf.
(Reading database ... 93828 files and directories currently installed.)
Preparing to unpack .../00-libmm-glib0_1.10.0-1_armhf.deb ...
Unpacking libmm-glib0:armhf (1.10.0-1) ...
Selecting previously unselected package libndp0:armhf.
Preparing to unpack .../01-libndp0_1.6-1_armhf.deb ...
Unpacking libndp0:armhf (1.6-1) ...
Selecting previously unselected package libnm0:armhf.
Preparing to unpack .../02-libnm0_1.14.6-2+deb10u1_armhf.deb ...
Unpacking libnm0:armhf (1.14.6-2+deb10u1) ...
Selecting previously unselected package libteamdctl0:armhf.
Preparing to unpack .../03-libteamdctl0_1.28-1_armhf.deb ...
Unpacking libteamdctl0:armhf (1.28-1) ...
Selecting previously unselected package network-manager.
Preparing to unpack .../04-network-manager_1.14.6-2+deb10u1_armhf.deb ...
Unpacking network-manager (1.14.6-2+deb10u1) ...
Selecting previously unselected package dns-root-data.
Preparing to unpack .../05-dns-root-data_2019031302_all.deb ...
Unpacking dns-root-data (2019031302) ...
Selecting previously unselected package dnsmasq-base.
Preparing to unpack .../06-dnsmasq-base_2.80-1+rpt1_armhf.deb ...
Unpacking dnsmasq-base (2.80-1+rpt1) ...
Selecting previously unselected package libonig5:armhf.
Preparing to unpack .../07-libonig5_6.9.1-1_armhf.deb ...
Unpacking libonig5:armhf (6.9.1-1) ...
Selecting previously unselected package libjq1:armhf.
Preparing to unpack .../08-libjq1_1.5+dfsg-2+b1_armhf.deb ...
Unpacking libjq1:armhf (1.5+dfsg-2+b1) ...
Selecting previously unselected package jq.
Preparing to unpack .../09-jq_1.5+dfsg-2+b1_armhf.deb ...
Unpacking jq (1.5+dfsg-2+b1) ...
Selecting previously unselected package libmbim-glib4:armhf.
Preparing to unpack .../10-libmbim-glib4_1.18.0-1_armhf.deb ...
Unpacking libmbim-glib4:armhf (1.18.0-1) ...
Selecting previously unselected package libmbim-proxy.
Preparing to unpack .../11-libmbim-proxy_1.18.0-1_armhf.deb ...
Unpacking libmbim-proxy (1.18.0-1) ...
Selecting previously unselected package libpcap0.8:armhf.
Preparing to unpack .../12-libpcap0.8_1.8.1-6_armhf.deb ...
Unpacking libpcap0.8:armhf (1.8.1-6) ...
Selecting previously unselected package libqmi-glib5:armhf.
Preparing to unpack .../13-libqmi-glib5_1.22.0-1.2_armhf.deb ...
Unpacking libqmi-glib5:armhf (1.22.0-1.2) ...
Selecting previously unselected package libqmi-proxy.
Preparing to unpack .../14-libqmi-proxy_1.22.0-1.2_armhf.deb ...
Unpacking libqmi-proxy (1.22.0-1.2) ...
Selecting previously unselected package modemmanager.
Preparing to unpack .../15-modemmanager_1.10.0-1_armhf.deb ...
Unpacking modemmanager (1.10.0-1) ...
Selecting previously unselected package ppp.
Preparing to unpack .../16-ppp_2.4.7-2+4.1_armhf.deb ...
Unpacking ppp (2.4.7-2+4.1) ...
Selecting previously unselected package socat.
Preparing to unpack .../17-socat_1.7.3.2-2_armhf.deb ...
Unpacking socat (1.7.3.2-2) ...
Setting up dnsmasq-base (2.80-1+rpt1) ...
Setting up dns-root-data (2019031302) ...
Setting up libpcap0.8:armhf (1.8.1-6) ...
Setting up libteamdctl0:armhf (1.28-1) ...
Setting up socat (1.7.3.2-2) ...
Setting up libnm0:armhf (1.14.6-2+deb10u1) ...
Setting up ppp (2.4.7-2+4.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/pppd-dns.service → /lib/systemd/system/pppd-dns.service.
Setting up libmm-glib0:armhf (1.10.0-1) ...
Setting up libndp0:armhf (1.6-1) ...
Setting up libonig5:armhf (6.9.1-1) ...
Setting up libmbim-glib4:armhf (1.18.0-1) ...
Setting up libjq1:armhf (1.5+dfsg-2+b1) ...
Setting up network-manager (1.14.6-2+deb10u1) ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service → /lib/systemd/system/NetworkManager-dispatcher.service.
Created symlink /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service → /lib/systemd/system/NetworkManager-wait-online.service.
Created symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service → /lib/systemd/system/NetworkManager.service.
Setting up libmbim-proxy (1.18.0-1) ...
Setting up jq (1.5+dfsg-2+b1) ...
Setting up libqmi-glib5:armhf (1.22.0-1.2) ...
Setting up libqmi-proxy (1.22.0-1.2) ...
Setting up modemmanager (1.10.0-1) ...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-25 01:02 , Processed in 0.063537 second(s), 38 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表