找回密码
 立即注册

微信扫码登录

搜索
楼主: neroxps

HASSIO 安装一键脚本

 火...   [复制链接]

0

主题

2

回帖

20

积分

新手上路

积分
20
金钱
18
HASS币
0
发表于 2020-9-3 16:44:59 | 显示全部楼层
neroxps 发表于 2020-9-3 08:46
帖子上已经写了。

安卓不能跑 docker 自己解决。

谢谢谢谢!
回复

使用道具 举报

0

主题

15

回帖

185

积分

注册会员

积分
185
金钱
170
HASS币
0
发表于 2020-9-7 14:21:46 | 显示全部楼层
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 Mon 2020-09-07 14:17:44 CST; 22ms ago
     Docs: man:auditd(8)
           https://github.com/linux-audit/audit-documentation
  Process: 3418 ExecStart=/sbin/auditd (code=exited, status=1/FAILURE)

9月 07 14:17:44 raspberrypi systemd[1]: Starting Security Auditing Service...
9月 07 14:17:44 raspberrypi auditd[3419]: Error - audit support not in kernel
9月 07 14:17:44 raspberrypi auditd[3419]: Cannot open netlink audit socket
9月 07 14:17:44 raspberrypi auditd[3419]: The audit daemon is exiting.
9月 07 14:17:44 raspberrypi auditd[3418]: Cannot daemonize (No child processes)
9月 07 14:17:44 raspberrypi auditd[3418]: The audit daemon is exiting.
9月 07 14:17:44 raspberrypi systemd[1]: auditd.service: Control process exited, code=exited, status=1/FAILURE
9月 07 14:17:44 raspberrypi systemd[1]: auditd.service: Failed with result 'exit-code'.
9月 07 14:17:44 raspberrypi systemd[1]: Failed to start Security Auditing Service.
dpkg: 处理软件包 auditd (--configure)时出错:
已安装 auditd 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
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-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1333 SMP Mon Aug 10 16:51:40 BST 2020
########################### System info ###########################
Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m

不知道哪里出了错误
回复

使用道具 举报

0

主题

15

回帖

185

积分

注册会员

积分
185
金钱
170
HASS币
0
发表于 2020-9-7 15:07:47 | 显示全部楼层
Simonyud 发表于 2020-9-7 14:21
Job for auditd.service failed because the control process exited with error code.
See "systemctl sta ...

https://blog.csdn.net/stickmangod/article/details/85316142
在网上找到大神安装解决方案试了一下,很好用.
软件其实已经安装上了,但是是设置出错了,按照大神的方法
sudo apt-get update
sudo apt-get install -f
修复完成就不要动这个软件了,重装还是会出错。
复原文件
mv /var/lib/dpkg/info.bk /var/lib/dpkg/info
在执行一边脚本就好了

评分

参与人数 1金钱 +20 收起 理由
neroxps + 20 赠人玫瑰,手留余香!

查看全部评分

回复

使用道具 举报

13

主题

102

回帖

1495

积分

金牌会员

积分
1495
金钱
1380
HASS币
0
发表于 2020-9-9 16:41:53 | 显示全部楼层
本帖最后由 xiguaboy 于 2020-9-9 16:47 编辑

求救:安装时出错

开始 hassio 安装流程。(如出现 [Warning] 请忽略,无须理会)
[Warning]
[Warning] If you want more control over your own system, run
[Warning] Home Assistant as a VM or run Home Assistant Core
[Warning] via a Docker container.
[Warning]
[Error] Please install avahi first
Unit hassio-supervisor.service could not be found.

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
########################### System version 2 ###########################
Linux version 4.19.0-10-amd64 ([email protected]) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.132-1 (2020-07-24)
########################### System info ###########################
Linux xiots1 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux
########################### END ###########################
安装 hassio 失败,请将上方安装信息发送到论坛询问。脚本退出...



查了下,avahi已经安装了
avahi-autoipd/stable,now 0.7-4+b1 amd64 [已安装]
avahi-daemon/stable,now 0.7-4+b1 amd64 [已安装]
avahi-discover/stable,now 0.7-4 all [已安装]
avahi-dnsconfd/stable,now 0.7-4+b1 amd64 [已安装]
avahi-ui-utils/stable,now 0.7-4+b1 amd64 [已安装]
avahi-utils/stable,now 0.7-4+b1 amd64 [已安装]


回复

使用道具 举报

29

主题

155

回帖

786

积分

高级会员

积分
786
金钱
602
HASS币
0
发表于 2020-9-9 22:18:52 | 显示全部楼层
没有搞懂,树莓派新系统安装一直报错。
dpkg: 处理软件包 auditd (--configure)时出错:
已安装 auditd 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
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-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1333 SMP Mon Aug 10 16:51:40 BST 2020
########################### System info ###########################
Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m

相关问题可以访问https://bbs.iobroker.cn或者加QQ群776817275咨询
root@raspberrypi:/var/lib/dpkg/info#
回复

使用道具 举报

40

主题

3016

回帖

1万

积分

超级版主

Nero

积分
11152
金钱
8046
HASS币
182
 楼主| 发表于 2020-9-10 08:29:33 | 显示全部楼层
xthncn 发表于 2020-9-9 22:18
没有搞懂,树莓派新系统安装一直报错。
dpkg: 处理软件包 auditd (--configure)时出错:
已安装 auditd 软 ...

看二楼
Nero
回复

使用道具 举报

3

主题

129

回帖

2051

积分

论坛技术达人

积分
2051
金钱
1914
HASS币
20
发表于 2020-9-11 21:17:42 | 显示全部楼层
请问下,如果是在unraid下的docker里面可以使用这个一键安装脚本吗?自己试了几次都失败了。先是在unraid的终端使用这个命令提示apt: command not found。
回复

使用道具 举报

40

主题

3016

回帖

1万

积分

超级版主

Nero

积分
11152
金钱
8046
HASS币
182
 楼主| 发表于 2020-9-12 11:05:53 | 显示全部楼层
yezivv 发表于 2020-9-11 21:17
请问下,如果是在unraid下的docker里面可以使用这个一键安装脚本吗?自己试了几次都失败了。先是在unraid的 ...

不可以
Nero
回复

使用道具 举报

3

主题

129

回帖

2051

积分

论坛技术达人

积分
2051
金钱
1914
HASS币
20
发表于 2020-9-12 11:10:01 | 显示全部楼层

那unraid应该怎么安装hass啊
回复

使用道具 举报

40

主题

3016

回帖

1万

积分

超级版主

Nero

积分
11152
金钱
8046
HASS币
182
 楼主| 发表于 2020-9-12 11:16:12 | 显示全部楼层
yezivv 发表于 2020-9-12 11:10
那unraid应该怎么安装hass啊

unraid 不是虚拟化系统吗,KVM 虚拟一个 debian 就好了啊。或者你直接用 docker 装 homeassistant 官方镜像。善用搜索,谢谢~
Nero
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-12-16 09:07 , Processed in 1.291406 second(s), 12 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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