请选择 进入手机版 | 继续访问电脑版

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

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

HASSIO 安装一键脚本

   关闭 [复制链接]

40

主题

3057

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11135
金钱
8028
HASS币
182
 楼主| 发表于 2020-9-17 17:33:35 | 显示全部楼层
seon 发表于 2020-9-17 15:16
能看到supervisor的进度日志么?homeassistant这个容器是supervisor负责创建的么?能不能在supervisor上 ...

你刚发的就是supervisor的日志。怎么看我帖子里面写了。
Nero
回复

使用道具 举报

4

主题

107

帖子

843

积分

论坛技术达人

积分
843
金钱
726
HASS币
40
发表于 2020-9-17 23:29:15 | 显示全部楼层
neroxps 发表于 2020-9-17 14:36
等一下,没那么快。你 supervisor 貌似再更新。

我的日志里面有ERROR信息,等到现在也没创建homeassistant容器

20-09-17 06:06:30 ERROR (MainThread) [supervisor.core] Detected unsupported OS: Raspbian GNU/Linux 10 (buster)
20-09-17 06:11:26 ERROR (MainThread) [supervisor.docker] Docker logging driver json-file is not supported!
[06:16:25] ERROR: Requested resource /supervisor/ping was not found
回复

使用道具 举报

0

主题

90

帖子

691

积分

论坛积极会员

积分
691
金钱
601
HASS币
0
发表于 2020-9-24 16:57:37 | 显示全部楼层
qjiang 发表于 2020-9-14 15:04
dpkg: 处理软件包 xxx (--configure)时出错 解决办法

第一步:备份

感谢分享!!!!!
回复

使用道具 举报

1

主题

56

帖子

571

积分

高级会员

Rank: 4

积分
571
金钱
515
HASS币
0
发表于 2020-9-29 00:55:13 | 显示全部楼层
开始 hassio 安装流程。(如出现 [Warning] 请忽略,无须理会)
[warn]
[warn] If you want more control over your own system, run
[warn] Home Assistant as a VM or run Home Assistant Core
[warn] via a Docker container.
[warn]
[warn] If you want to abort, hit ctrl+c within 10 seconds...
[warn]
[warn] ModemManager service is enabled. This might cause issue when using serial                                                                        devices.
[warn] Docker is using json-file and not 'journald' as the logging driver, this                                                                        is not supported.
[info] Creating NetworkManager configuration
[info] Restarting NetworkManager
[info] Install supervisor Docker container

read tcp 192.168.2.104:38214->104.18.124.25:443: read: connection reset by peer
Unit hassio-supervisor.service could not be found.

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
########################### System version 2 ###########################
Linux version 5.4.51-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crossto                                                                       ol-ng-1.22.0-88-g8460611)) #1333 SMP Mon Aug 10 16:45:19 BST 2020
########################### System info ###########################
Linux raspberrypi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l GNU/L                                                                       inux
########################### END ###########################
安装 hassio 失败,请将上方安装信息发送到论坛询问。脚本退出...

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

使用道具 举报

5

主题

252

帖子

1930

积分

金牌会员

Rank: 6Rank: 6

积分
1930
金钱
1678
HASS币
0
发表于 2020-10-1 00:52:00 | 显示全部楼层
大侠,能不能把HACS也添加进去呀
回复

使用道具 举报

8

主题

229

帖子

1994

积分

金牌会员

Rank: 6Rank: 6

积分
1994
金钱
1765
HASS币
0
发表于 2020-10-7 15:33:03 | 显示全部楼层
本帖最后由 xiaopi 于 2020-10-7 19:08 编辑

安装成功,没有提示错误。但是进去插件安装地方显示:Error while loading page addon.
       进入设备选项显示:Error while loading page devices.


回复

使用道具 举报

3

主题

43

帖子

316

积分

论坛分享达人

积分
316
金钱
273
HASS币
0
发表于 2020-10-8 09:25:49 | 显示全部楼层
niji@L440:~$ sudo su
[sudo] niji 的密码: 
root@L440:/home/niji# ls
BaiduNetdiskDownload  Documents  homebridge  Music     Public  Templates
Desktop               Downloads  install.sh  Pictures  snap    Videos
root@L440:/home/niji# chmod a+x install.sh 
root@L440:/home/niji# ./install.sh 
(1). 是否将系统源切换为清华源(目前支持 Debian Ubuntu Raspbian 三款系统)
请输入 y or n(默认 yes):


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


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


(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):6
你选择了 qemux86-64


(5).是否需要设置 hassio 数据保存路径(默认:/usr/share/hassio)
请输入 yes 或 no (默认:no):yes
请输入路径:
mkdir: 缺少操作数
请尝试执行 "mkdir --help" 来获取更多信息。
[ERROR] 无法设置改目录为 hassio 数据目录,权限不够。
请输入路径:/usr/share/hassio
[INFO] 设置路径 /usr/share/hassio 成功。
 ################################################################################
 # 1. 是否将系统源切换为清华源: 是
 # 2. 是否将用户添加至 Docker 用户组:   是,添加用户为 niji 
 # 3. 是否将 Docker 源切换至国内源:     是,切换源选择:
 # 4. 您的设备类型为:                   qemux86-64
 # 5. 您的 hassio 数据路径为:           /usr/share/hassio
 ################################################################################
请确认以上信息,继续请按任意键,如需修改请输入 Ctrl+C 结束任务重新执行脚本。
sfddsd
[info]: 切换系统网络源.....
备份系统源文件为 /etc/apt/sources.list.bak
获取:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal InRelease [265 kB]     
获取:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRelease [111 kB]
获取:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease [98.3 kB]
获取:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRelease [107 kB]
获取:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main i386 Packages [718 kB]
获取:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 Packages [970 kB]
获取:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main Translation-zh_CN [113 kB]
获取:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main Translation-en [506 kB]
获取:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 DEP-11 Metadata [494 kB]
获取:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main DEP-11 48x48 Icons [98.4 kB]
获取:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main DEP-11 64x64 Icons [163 kB]
获取:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main DEP-11 64x64@2 Icons [15.8 kB]
获取:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]
获取:14 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/restricted i386 Packages [8,112 B]
获取:15 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/restricted amd64 Packages [22.0 kB]
获取:16 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/restricted Translation-en [6,212 B]
获取:17 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/restricted Translation-zh_CN [1,324 B]
获取:18 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]
获取:19 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe i386 Packages [4,642 kB]
忽略:20 https://deepin-wine.i-m.dev  InRelease                                 
命中:21 https://deb.nodesource.com/node_12.x focal InRelease                   
命中:22 https://deepin-wine.i-m.dev  Release                                   
忽略:23 https://deepin-wine.i-m.dev  Release.gpg                               
获取:24 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 Packages [8,628 kB]
获取:25 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe Translation-zh_CN [388 kB]
获取:26 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe Translation-en [5,124 kB]
获取:27 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 DEP-11 Metadata [3,603 kB]
获取:28 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe DEP-11 48x48 Icons [3,016 kB]
获取:29 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe DEP-11 64x64 Icons [7,794 kB]
获取:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe DEP-11 64x64@2 Icons [44.3 kB]
获取:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]
获取:32 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse i386 Packages [74.7 kB]
获取:33 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 Packages [144 kB]
获取:34 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse Translation-en [104 kB]
获取:35 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse Translation-zh_CN [4,612 B]
获取:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 DEP-11 Metadata [48.4 kB]
获取:37 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse DEP-11 48x48 Icons [23.1 kB]
获取:38 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse DEP-11 64x64 Icons [192 kB]
获取:39 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse DEP-11 64x64@2 Icons [214 B]
获取:40 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 c-n-f Metadata [9,136 B]
获取:41 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main i386 Packages [347 kB]
获取:42 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 Packages [588 kB]
获取:43 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main Translation-en [150 kB]
获取:44 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 DEP-11 Metadata [209 kB]
获取:45 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main DEP-11 48x48 Icons [48.9 kB]
获取:46 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main DEP-11 64x64 Icons [79.3 kB]
获取:47 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main DEP-11 64x64@2 Icons [29 B]
获取:48 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 c-n-f Metadata [10.3 kB]
获取:49 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/restricted i386 Packages [12.1 kB]
获取:50 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/restricted amd64 Packages [67.1 kB]
获取:51 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/restricted Translation-en [10.8 kB]
获取:52 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/restricted amd64 c-n-f Metadata [352 B]
获取:53 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 Packages [666 kB]
获取:54 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe i386 Packages [501 kB]
获取:55 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe Translation-en [124 kB]
获取:56 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 DEP-11 Metadata [200 kB]
获取:57 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe DEP-11 48x48 Icons [104 kB]
获取:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe DEP-11 64x64 Icons [182 kB]
获取:59 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe DEP-11 64x64@2 Icons [29 B]
获取:60 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 c-n-f Metadata [12.0 kB]
获取:61 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse amd64 Packages [15.1 kB]
获取:62 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse i386 Packages [4,372 B]
获取:63 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse Translation-en [3,892 B]
获取:64 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
获取:65 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse DEP-11 48x48 Icons [29 B]
获取:66 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse DEP-11 64x64 Icons [2,638 B]
获取:67 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse DEP-11 64x64@2 Icons [29 B]
获取:68 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [480 B]
获取:69 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/main amd64 c-n-f Metadata [112 B]
获取:70 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]
获取:71 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe i386 Packages [2,904 B]
获取:72 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe amd64 Packages [4,012 B]
获取:73 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe Translation-en [1,448 B]
获取:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1,768 B]
获取:75 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe DEP-11 48x48 Icons [2,809 B]
获取:76 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe DEP-11 64x64 Icons [3,944 B]
获取:77 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe DEP-11 64x64@2 Icons [29 B]
获取:78 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe amd64 c-n-f Metadata [224 B]
获取:79 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]
获取:80 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main amd64 Packages [324 kB]
获取:81 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main i386 Packages [136 kB]
获取:82 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main Translation-en [75.5 kB]
获取:83 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main amd64 DEP-11 Metadata [24.3 kB]
获取:84 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main DEP-11 48x48 Icons [11.0 kB]
获取:85 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main DEP-11 64x64 Icons [16.5 kB]
获取:86 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main DEP-11 64x64@2 Icons [29 B]
获取:87 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main amd64 c-n-f Metadata [5,000 B]
获取:88 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/restricted i386 Packages [8,920 B]
获取:89 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/restricted amd64 Packages [59.2 kB]
获取:90 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/restricted Translation-en [9,856 B]
获取:91 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/restricted amd64 c-n-f Metadata [324 B]
获取:92 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe amd64 Packages [506 kB]
获取:93 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe i386 Packages [405 kB]
获取:94 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe Translation-en [62.8 kB]
获取:95 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe amd64 DEP-11 Metadata [55.7 kB]
获取:96 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe DEP-11 48x48 Icons [21.4 kB]
获取:97 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe DEP-11 64x64 Icons [32.5 kB]
获取:98 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe DEP-11 64x64@2 Icons [29 B]
获取:99 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe amd64 c-n-f Metadata [8,484 B]
获取:100 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/multiverse amd64 Packages [1,252 B]
获取:101 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/multiverse Translation-en [540 B]
获取:102 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/multiverse amd64 c-n-f Metadata [116 B]
已下载 43.0 MB,耗时 7秒 (6,207 kB/s)                                          
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
有 29 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
[info]: 安装 hassio 必要依赖.....
命中:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal InRelease
命中:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRelease      
命中:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease    
命中:4 https://deb.nodesource.com/node_12.x focal InRelease                    
命中:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRelease 
忽略:6 https://deepin-wine.i-m.dev  InRelease                              
命中:7 https://deepin-wine.i-m.dev  Release
忽略:8 https://deepin-wine.i-m.dev  Release.gpg
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
有 29 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
avahi-daemon 已经是最新版 (0.7-4ubuntu7)。
avahi-daemon 已设置为手动安装。
net-tools 已经是最新版 (1.60+git20180626.aebd88e-1ubuntu1)。
apparmor 已经是最新版 (2.13.3-7ubuntu5.1)。
apparmor 已设置为手动安装。
curl 已经是最新版 (7.68.0-1ubuntu2.2)。
network-manager 已经是最新版 (1.22.10-1ubuntu2.1)。
network-manager 已设置为手动安装。
下列软件包是自动安装的并且现在不需要了:
  bridge-utils gyp javascript-common libc-ares2 libjs-inherits
  libjs-is-typedarray libjs-psl libjs-typedarray-to-buffer libssl-dev
  libuv1-dev node-abbrev node-ajv node-ansi node-ansi-align node-ansi-regex
  node-ansi-styles node-ansistyles node-aproba node-archy
  node-are-we-there-yet node-asap node-asn1 node-assert-plus node-asynckit
  node-aws-sign2 node-aws4 node-balanced-match node-bcrypt-pbkdf node-bl
  node-bluebird node-boxen node-brace-expansion node-builtin-modules
  node-builtins node-cacache node-call-limit node-camelcase node-caseless
  node-chalk node-chownr node-ci-info node-cli-boxes node-cliui node-clone
  node-co node-color-convert node-color-name node-colors node-columnify
  node-combined-stream node-concat-map node-concat-stream node-config-chain
  node-configstore node-console-control-strings node-copy-concurrently
  node-core-util-is node-cross-spawn node-crypto-random-string node-cyclist
  node-dashdash node-debug node-decamelize node-decompress-response
  node-deep-extend node-defaults node-define-properties node-delayed-stream
  node-delegates node-detect-indent node-detect-newline node-dot-prop
  node-duplexer3 node-duplexify node-ecc-jsbn node-editor node-encoding
  node-end-of-stream node-err-code node-errno node-es6-promise
  node-escape-string-regexp node-execa node-extend node-extsprintf
  node-fast-deep-equal node-find-up node-flush-write-stream node-forever-agent
  node-form-data node-from2 node-fs-vacuum node-fs-write-stream-atomic
  node-fs.realpath node-function-bind node-gauge node-genfun
  node-get-caller-file node-get-stream node-getpass node-glob node-got
  node-graceful-fs node-har-schema node-har-validator node-has-flag
  node-has-symbol-support-x node-has-to-string-tag-x node-has-unicode
  node-hosted-git-info node-http-signature node-iconv-lite node-iferr
  node-import-lazy node-imurmurhash node-inflight node-inherits node-ini
  node-invert-kv node-ip node-ip-regex node-is-npm node-is-obj node-is-object
  node-is-path-inside node-is-plain-obj node-is-retry-allowed node-is-stream
  node-is-typedarray node-isarray node-isexe node-isstream node-isurl
  node-jsbn node-json-parse-better-errors node-json-schema
  node-json-schema-traverse node-json-stable-stringify
  node-json-stringify-safe node-jsonify node-jsonparse node-jsonstream
  node-jsprim node-latest-version node-lazy-property node-lcid node-libnpx
  node-locate-path node-lockfile node-lodash node-lodash-packages
  node-lowercase-keys node-lru-cache node-make-dir node-mem node-mime
  node-mime-types node-mimic-fn node-mimic-response node-minimatch
  node-minimist node-mississippi node-mkdirp node-move-concurrently node-ms
  node-mute-stream node-nopt node-normalize-package-data node-npm-bundled
  node-npm-package-arg node-npm-run-path node-npmlog node-number-is-nan
  node-oauth-sign node-object-assign node-once node-opener node-os-locale
  node-os-tmpdir node-osenv node-p-cancelable node-p-finally node-p-is-promise
  node-p-limit node-p-locate node-p-timeout node-package-json
  node-parallel-transform node-path-exists node-path-is-absolute
  node-path-is-inside node-performance-now node-pify node-prepend-http
  node-process-nextick-args node-promise-inflight node-promise-retry
  node-promzard node-proto-list node-prr node-pseudomap node-psl node-pump
  node-pumpify node-punycode node-qs node-qw node-rc node-read
  node-read-package-json node-readable-stream node-registry-auth-token
  node-registry-url node-request node-require-directory
  node-require-main-filename node-resolve node-resolve-from node-retry
  node-rimraf node-run-queue node-safe-buffer node-semver node-semver-diff
  node-set-blocking node-sha node-shebang-command node-shebang-regex
  node-signal-exit node-slash node-slide node-sorted-object node-spdx-correct
  node-spdx-exceptions node-spdx-expression-parse node-spdx-license-ids
  node-sshpk node-ssri node-stream-each node-stream-iterate node-stream-shift
  node-strict-uri-encode node-string-decoder node-string-width node-strip-ansi
  node-strip-eof node-strip-json-comments node-supports-color node-tar
  node-term-size node-text-table node-through node-through2 node-timed-out
  node-tough-cookie node-tunnel-agent node-tweetnacl node-typedarray
  node-typedarray-to-buffer node-uid-number node-unique-filename
  node-unique-string node-unpipe node-uri-js node-url-parse-lax
  node-url-to-options node-util-deprecate node-uuid
  node-validate-npm-package-license node-validate-npm-package-name node-verror
  node-wcwidth.js node-which node-which-module node-wide-align
  node-widest-line node-wrap-ansi node-wrappy node-write-file-atomic
  node-xdg-basedir node-xtend node-y18n node-yallist node-yargs
  node-yargs-parser nodejs-doc python-pkg-resources ubuntu-fan
使用'sudo apt autoremove'来卸载它(它们)。
将会同时安装下列软件:
  libauparse0 libjq1 libonig5 libqrencode4 python3-apparmor
  python3-libapparmor
建议安装:
  vim-addon-manager audispd-plugins
下列【新】软件包将被安装:
  apparmor-utils auditd jq libauparse0 libjq1 libonig5 libqrencode4
  python3-apparmor python3-libapparmor qrencode socat
升级了 0 个软件包,新安装了 11 个软件包,要卸载 0 个软件包,有 29 个软件包未被升级。
需要下载 1,086 kB 的归档。
解压缩后会消耗 4,419 kB 的额外空间。
获取:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 python3-libapparmor amd64 2.13.3-7ubuntu5.1 [26.7 kB]
获取:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 python3-apparmor amd64 2.13.3-7ubuntu5.1 [78.6 kB]
获取:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 apparmor-utils amd64 2.13.3-7ubuntu5.1 [51.4 kB]
获取:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libonig5 amd64 6.9.4-1 [142 kB]
获取:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libjq1 amd64 1.6-1 [121 kB]
获取:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 jq amd64 1.6-1 [50.2 kB]
获取:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 libauparse0 amd64 1:2.8.5-2ubuntu6 [49.8 kB]
获取:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libqrencode4 amd64 4.0.2-2 [23.6 kB]
获取:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 qrencode amd64 4.0.2-2 [24.0 kB]
获取:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 auditd amd64 1:2.8.5-2ubuntu6 [196 kB]
获取:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 socat amd64 1.7.3.3-2 [323 kB]
已下载 1,086 kB,耗时 6秒 (184 kB/s)
正在选中未选择的软件包 python3-libapparmor。
(正在读取数据库 ... 系统当前共安装有 189564 个文件和目录。)
准备解压 .../00-python3-libapparmor_2.13.3-7ubuntu5.1_amd64.deb  ...
正在解压 python3-libapparmor (2.13.3-7ubuntu5.1) ...
正在选中未选择的软件包 python3-apparmor。
准备解压 .../01-python3-apparmor_2.13.3-7ubuntu5.1_amd64.deb  ...
正在解压 python3-apparmor (2.13.3-7ubuntu5.1) ...
正在选中未选择的软件包 apparmor-utils。
准备解压 .../02-apparmor-utils_2.13.3-7ubuntu5.1_amd64.deb  ...
正在解压 apparmor-utils (2.13.3-7ubuntu5.1) ...
正在选中未选择的软件包 libonig5:amd64。
准备解压 .../03-libonig5_6.9.4-1_amd64.deb  ...
正在解压 libonig5:amd64 (6.9.4-1) ...
正在选中未选择的软件包 libjq1:amd64。
准备解压 .../04-libjq1_1.6-1_amd64.deb  ...
正在解压 libjq1:amd64 (1.6-1) ...
正在选中未选择的软件包 jq。
准备解压 .../05-jq_1.6-1_amd64.deb  ...
正在解压 jq (1.6-1) ...
正在选中未选择的软件包 libauparse0:amd64。
准备解压 .../06-libauparse0_1%3a2.8.5-2ubuntu6_amd64.deb  ...
正在解压 libauparse0:amd64 (1:2.8.5-2ubuntu6) ...
正在选中未选择的软件包 libqrencode4:amd64。
准备解压 .../07-libqrencode4_4.0.2-2_amd64.deb  ...
正在解压 libqrencode4:amd64 (4.0.2-2) ...
正在选中未选择的软件包 qrencode。
准备解压 .../08-qrencode_4.0.2-2_amd64.deb  ...
正在解压 qrencode (4.0.2-2) ...
正在选中未选择的软件包 auditd。
准备解压 .../09-auditd_1%3a2.8.5-2ubuntu6_amd64.deb  ...
正在解压 auditd (1:2.8.5-2ubuntu6) ...
正在选中未选择的软件包 socat。
准备解压 .../10-socat_1.7.3.3-2_amd64.deb  ...
正在解压 socat (1.7.3.3-2) ...
正在设置 python3-libapparmor (2.13.3-7ubuntu5.1) ...
正在设置 libqrencode4:amd64 (4.0.2-2) ...
正在设置 qrencode (4.0.2-2) ...
正在设置 libauparse0:amd64 (1:2.8.5-2ubuntu6) ...
正在设置 socat (1.7.3.3-2) ...
正在设置 python3-apparmor (2.13.3-7ubuntu5.1) ...
正在设置 libonig5:amd64 (6.9.4-1) ...
正在设置 auditd (1:2.8.5-2ubuntu6) ...
Created symlink /etc/systemd/system/multi-user.target.wants/auditd.service → /li
b/systemd/system/auditd.service.
invoke-rc.d: policy-rc.d denied execution of start.
正在设置 libjq1:amd64 (1.6-1) ...
正在设置 apparmor-utils (2.13.3-7ubuntu5.1) ...
正在设置 jq (1.6-1) ...
正在处理用于 systemd (245.4-4ubuntu3.2) 的触发器 ...
正在处理用于 man-db (2.9.1-1) 的触发器 ...
正在处理用于 libc-bin (2.31-0ubuntu9.1) 的触发器 ...
/usr/bin/docker
[info]: 发现系统已安装 docker,跳过 docker 安装
[info]: 切换 Docker 源为国内源....
[info]: 切换国内源完成
[info]: 安装 hassio......
下载 hassio_install.sh 官方脚本 第1次
#=#=-#  #                                                                      
从 hub.docker.com 下载 homeassistant/qemux86-64-homeassistant:0.116.0......
0.116.0: Pulling from homeassistant/qemux86-64-homeassistant
df20fa9351a1: Already exists 
1f4c023abf28: Pull complete 
93146756f5f0: Downloading 
9fc71a3e7e62: Download complete 
82dcadd3cb3e: Download complete 
298ab38ec28f: Download complete 
186689f4a3e1: Download complete 
0b32d7083158: Download complete 
7dcefa9542fd: Download complete 
be59a2c39847: Download complete 
7cc599edd9e9: Download complete 
3b0b35e92640: Download complete 
a0c21c26d87c: Download complete 
36458b6ffcff: Download complete 
139bc685aa98: Download complete 
f9cdad37db18: Download complete 
9ef280eec8d9: Download complete 
6ec7d9001248: Download complete 
1c2b05c1608c: Download complete 
2bf22f74b1e9: Download complete 
458c6a16def0: Download complete 
c50750bce274: Download complete 
0.116.0: Pulling from homeassistant/qemux86-64-homeassistant
df20fa9351a1: Already exists 
1f4c023abf28: Pull complete 
93146756f5f0: Downloading 
9fc71a3e7e62: Download complete 
82dcadd3cb3e: Download complete 
298ab38ec28f: Download complete 
186689f4a3e1: Download complete 
0b32d7083158: Download complete 
7dcefa9542fd: Download complete 
be59a2c39847: Download complete 
7cc599edd9e9: Download complete 
3b0b35e92640: Download complete 
a0c21c26d87c: Download complete 
36458b6ffcff: Download complete 
139bc685aa98: Download complete 
f9cdad37db18: Download complete 
9ef280eec8d9: Download complete 
6ec7d9001248: Download complete 
1c2b05c1608c: Download complete 
2bf22f74b1e9: Download complete 
458c6a16def0: Download complete 
c50750bce274: Download complete 
0.116.0: Pulling from homeassistant/qemux86-64-homeassistant
df20fa9351a1: Already exists 
1f4c023abf28: Pull complete 
93146756f5f0: Pull complete 
9fc71a3e7e62: Pull complete 
82dcadd3cb3e: Pull complete 
298ab38ec28f: Pull complete 
186689f4a3e1: Pull complete 
0b32d7083158: Pull complete 
7dcefa9542fd: Pull complete 
be59a2c39847: Pull complete 
7cc599edd9e9: Pull complete 
3b0b35e92640: Pull complete 
a0c21c26d87c: Pull complete 
36458b6ffcff: Pull complete 
139bc685aa98: Pull complete 
f9cdad37db18: Pull complete 
9ef280eec8d9: Pull complete 
6ec7d9001248: Downloading  131.5MB/233.3MB6ec7d9001248: Pull complete 
1c2b05c1608c: Pull complete 
2bf22f74b1e9: Pull complete 
458c6a16def0: Pull complete 
c50750bce274: Pull complete 
Digest: sha256:da3ebfab11bf5029522841c2a20430a745f4aa0082a417478e7230a940de3fc3
Status: Downloaded newer image for homeassistant/qemux86-64-homeassistant:0.116.0
docker.io/homeassistant/qemux86-64-homeassistant:0.116.0
开始 hassio 安装流程。(如出现 [Warning] 请忽略,无须理会)
[warn] 
[warn] If you want more control over your own system, run
[warn] Home Assistant as a VM or run Home Assistant Core
[warn] via a Docker container.
[warn] 
[warn] If you want to abort, hit ctrl+c within 10 seconds...
[warn] 
[warn] ModemManager service is enabled. This might cause issue when using serial devices.
[warn] Docker is using json-file and not 'journald' as the logging driver, this is not supported.
[info] Creating NetworkManager configuration
[info] Restarting NetworkManager
[info] Install supervisor Docker container
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution
Unit hassio-supervisor.service could not be found.

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID:        Ubuntu
Description:        Ubuntu 20.04.1 LTS
Release:        20.04
Codename:        focal
########################### System version 2 ###########################
Linux version 5.4.0-48-generic (buildd@lcy01-amd64-010) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)) #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020
########################### System info ###########################
Linux L440 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
########################### END ###########################
安装 hassio 失败,请将上方安装信息发送到论坛询问。脚本退出...

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

使用道具 举报

1

主题

140

帖子

932

积分

高级会员

Rank: 4

积分
932
金钱
792
HASS币
0
发表于 2020-10-8 16:52:15 | 显示全部楼层
After this operation, 0 B of additional disk space will be used.
Setting up auditd (1:2.8.4-3) ...
Job for auditd.service failed because the control process exited with error code.
See "systemctl status auditd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript auditd, action "start" failed.
● auditd.service - Security Auditing Service
   Loaded: loaded (/lib/systemd/system/auditd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2020-10-08 09:51:10 BST; 33ms ago
     Docs: man:auditd(8)
           https://github.com/linux-audit/audit-documentation
  Process: 4242 ExecStart=/sbin/auditd (code=exited, status=1/FAILURE)

Oct 08 09:51:10 raspberrypi systemd[1]: Starting Security Auditing Service...
Oct 08 09:51:10 raspberrypi auditd[4243]: Error - audit support not in kernel
Oct 08 09:51:10 raspberrypi systemd[1]: auditd.service: Control process exited, code=exited, status=1/FAILURE
Oct 08 09:51:10 raspberrypi auditd[4243]: Cannot open netlink audit socket
Oct 08 09:51:10 raspberrypi systemd[1]: auditd.service: Failed with result 'exit-code'.
Oct 08 09:51:10 raspberrypi auditd[4243]: The audit daemon is exiting.
Oct 08 09:51:10 raspberrypi systemd[1]: Failed to start Security Auditing Service.
Oct 08 09:51:10 raspberrypi auditd[4242]: Cannot daemonize (Success)
Oct 08 09:51:10 raspberrypi auditd[4242]: The audit daemon is exiting.
dpkg: error processing package auditd (--configure):
installed auditd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
auditd
E: Sub-process /usr/bin/dpkg returned an error code (1)

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

使用道具 举报

3

主题

275

帖子

3771

积分

论坛元老

Rank: 8Rank: 8

积分
3771
金钱
3496
HASS币
20
发表于 2020-10-10 18:26:25 | 显示全部楼层
################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
########################### System version 2 ###########################
Linux version 4.19.97-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1294 SMP Thu Jan 30 13:15:58 GMT 2020
########################### System info ###########################
Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m
回复

使用道具 举报

3

主题

275

帖子

3771

积分

论坛元老

Rank: 8Rank: 8

积分
3771
金钱
3496
HASS币
20
发表于 2020-10-10 18:28:53 | 显示全部楼层
See "systemctl status auditd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript auditd, action "start" failed.
● auditd.service - Security Auditing Service
   Loaded: loaded (/lib/systemd/system/auditd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2020-10-10 18:19:28 CST; 30ms ago
     Docs: man:auditd(8)
           https://github.com/linux-audit/audit-documentation
  Process: 1688 ExecStart=/sbin/auditd (code=exited, status=1/FAILURE)

10月 10 18:19:28 raspberrypi systemd[1]: Starting Security Auditing Service...
10月 10 18:19:28 raspberrypi auditd[1689]: Error - audit support not in kernel
10月 10 18:19:28 raspberrypi auditd[1689]: Cannot open netlink audit socket
10月 10 18:19:28 raspberrypi systemd[1]: auditd.service: Control process exited, code=exited, status=1/FAILURE
10月 10 18:19:28 raspberrypi auditd[1689]: The audit daemon is exiting.
10月 10 18:19:28 raspberrypi systemd[1]: auditd.service: Failed with result 'exit-code'.
10月 10 18:19:28 raspberrypi auditd[1688]: Cannot daemonize (Success)
10月 10 18:19:28 raspberrypi auditd[1688]: The audit daemon is exiting.
10月 10 18:19:28 raspberrypi systemd[1]: Failed to start Security Auditing Service.
dpkg: error processing package auditd (--configure):
installed auditd package post-installation script 子進程傳回了 1 錯誤退出狀態碼
設定 libjq1:armhf (1.5+dfsg-2+b1) ...
設定 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.
設定 libmbim-proxy (1.18.0-1) ...
設定 apparmor-utils (2.13.2-10) ...
設定 jq (1.5+dfsg-2+b1) ...
設定 libqmi-glib5:armhf (1.22.0-1.2) ...
設定 libqmi-proxy (1.22.0-1.2) ...
設定 modemmanager (1.10.0-1) ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.ModemManager1.service → /lib/systemd/system/ModemManager.service.
Created symlink /etc/systemd/system/multi-user.target.wants/ModemManager.service → /lib/systemd/system/ModemManager.service.
執行 systemd (241-7~deb10u2+rpi1) 的觸發程式……
執行 man-db (2.8.5-2) 的觸發程式……
執行 dbus (1.12.16-1) 的觸發程式……
執行 libc-bin (2.28-10+rpi1) 的觸發程式……
處理時發生錯誤:
auditd
E: Sub-process /usr/bin/dpkg returned an error code (1)

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
########################### System version 2 ###########################
Linux version 4.19.97-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1294 SMP Thu Jan 30 13:15:58 GMT 2020
########################### System info ###########################
Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-3-28 18:01 , Processed in 0.114835 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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