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

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

HASSIO 安装一键脚本

   关闭 [复制链接]

0

主题

92

帖子

723

积分

论坛积极会员

积分
723
金钱
631
HASS币
0
发表于 2020-8-27 22:00:32 | 显示全部楼层
marshmallow 发表于 2020-8-23 09:25
我自己手动安装curl也报错...

我今天运行这个脚本好像也出现一样的问题
回复

使用道具 举报

0

主题

92

帖子

723

积分

论坛积极会员

积分
723
金钱
631
HASS币
0
发表于 2020-8-27 22:29:31 | 显示全部楼层
Setting up auditd (1:2.8.4-3) ...
Created symlink /etc/systemd/system/multi-user.target.wants/auditd.service → /lib/systemd/system/auditd.service.
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-08-27 15:28:42 BST; 29ms ago
     Docs: man:auditd(8)
           https://github.com/linux-audit/audit-documentation
  Process: 2001 ExecStart=/sbin/auditd (code=exited, status=1/FAILURE)

Aug 27 15:28:42 raspberrypi systemd[1]: Starting Security Auditing Service...
Aug 27 15:28:42 raspberrypi auditd[2002]: Error - audit support not in kernel
Aug 27 15:28:42 raspberrypi auditd[2002]: Cannot open netlink audit socket
Aug 27 15:28:42 raspberrypi systemd[1]: auditd.service: Control process exited, code=exited, status=1/FAILURE
Aug 27 15:28:42 raspberrypi auditd[2002]: The audit daemon is exiting.
Aug 27 15:28:42 raspberrypi systemd[1]: auditd.service: Failed with result 'exit-code'.
Aug 27 15:28:42 raspberrypi auditd[2001]: Cannot daemonize (Success)
Aug 27 15:28:42 raspberrypi auditd[2001]: The audit daemon is exiting.
Aug 27 15:28:42 raspberrypi systemd[1]: Failed to start Security Auditing Service.
dpkg: error processing package auditd (--configure):
installed auditd package post-installation script subprocess returned error exit status 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 apparmor-utils (2.13.2-10) ...
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) ...
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.
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for systemd (241-7~deb10u4+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.16-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
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 4.19.118-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1311 SMP Mon Apr 27 14:21:24 BST 2020
########################### System info ###########################
Linux raspberrypi 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m

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

使用道具 举报

1

主题

44

帖子

142

积分

注册会员

Rank: 2

积分
142
金钱
98
HASS币
0
发表于 2020-8-28 15:06:36 | 显示全部楼层
Setting up libbluetooth3:amd64 (5.53-0ubuntu3) ...
Setting up python3-apparmor (2.13.3-7ubuntu5.1) ...
Setting up libnl-3-200:amd64 (3.4.0-1) ...
Setting up libpolkit-agent-1-0:amd64 (0.105-26ubuntu1) ...
Setting up usb-modeswitch (2.5.2+repack0-2ubuntu3) ...
Setting up libndp0:amd64 (1.7-0ubuntu1) ...
Setting up libdaemon0:amd64 (0.14-7) ...
Setting up policykit-1 (0.105-26ubuntu1) ...
Setting up libonig5:amd64 (6.9.4-1) ...
Setting up libgudev-1.0-0:amd64 (1:233-1) ...
Setting up libmbim-glib4:amd64 (1.22.0-2) ...
Setting up libheimbase1-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up pptp-linux (1.10.0-1build1) ...
Setting up auditd (1:2.8.5-2ubuntu6) ...
Created symlink /etc/systemd/system/multi-user.target.wants/auditd.service -> /lib/systemd/system/auditd.service.
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 Fri 2020-08-28 07:01:45 UTC; 3ms ago
       Docs: man:auditd(8)
             https://github.com/linux-audit/audit-documentation
    Process: 2040 ExecStart=/sbin/auditd (code=exited, status=1/FAILURE)

Aug 28 07:01:45 Focal250 systemd[1]: Starting Security Auditing Service...
Aug 28 07:01:45 Focal250 auditd[2040]: Cannot change priority (Operation not permitted)
Aug 28 07:01:45 Focal250 auditd[2040]: The audit daemon is exiting.
Aug 28 07:01:45 Focal250 systemd[1]: auditd.service: Control process exited, code=exited, status=1/FAILURE
Aug 28 07:01:45 Focal250 systemd[1]: auditd.service: Failed with result 'exit-code'.
Aug 28 07:01:45 Focal250 systemd[1]: Failed to start Security Auditing Service.
dpkg: error processing package auditd (--configure):
installed auditd package post-installation script subprocess returned error exit status 1
Setting up libjq1:amd64 (1.6-1) ...
Setting up libasn1-8-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libavahi-common3:amd64 (0.7-4ubuntu7) ...
Setting up libmbim-proxy (1.22.0-2) ...
Setting up dnsmasq-base (2.80-1.1ubuntu1) ...
Setting up libhcrypto4-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libnl-route-3-200:amd64 (3.4.0-1) ...
Setting up libwind0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up apparmor-utils (2.13.3-7ubuntu5.1) ...
Setting up jq (1.6-1) ...
Setting up libnl-genl-3-200:amd64 (3.4.0-1) ...
Setting up iw (5.4-1) ...
Setting up libavahi-core7:amd64 (0.7-4ubuntu7) ...
Setting up crda (3.18-1build1) ...
Setting up libhx509-5-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libqmi-glib5:amd64 (1.24.8-1) ...
Setting up wpasupplicant (2:2.9-1ubuntu4.1) ...
Created symlink /etc/systemd/system/dbus-fi.w1.wpa_supplicant1.service -> /lib/systemd/system/wpa_supplicant.service.
Created symlink /etc/systemd/system/multi-user.target.wants/wpa_supplicant.service -> /lib/systemd/system/wpa_supplicant.service.
Setting up avahi-daemon (0.7-4ubuntu7) ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.Avahi.service -> /lib/systemd/system/avahi-daemon.service.
Created symlink /etc/systemd/system/multi-user.target.wants/avahi-daemon.service -> /lib/systemd/system/avahi-daemon.service.
Created symlink /etc/systemd/system/sockets.target.wants/avahi-daemon.socket -> /lib/systemd/system/avahi-daemon.socket.
Setting up libnss-mdns:amd64 (0.14.1-1ubuntu1) ...
First installation detected...
Checking NSS setup...
Setting up libkrb5-26-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libqmi-proxy (1.24.8-1) ...
Setting up libheimntlm0-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up libgssapi3-heimdal:amd64 (7.7.0+dfsg-1ubuntu1) ...
Setting up modemmanager (1.12.8-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.
Setting up libldap-2.4-2:amd64 (2.4.49+dfsg-2ubuntu1.3) ...
Setting up libcurl3-gnutls:amd64 (7.68.0-1ubuntu2.2) ...
Setting up network-manager (1.22.10-1ubuntu2.1) ...
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 network-manager-pptp (1.2.8-2) ...
Setting up libcurl4:amd64 (7.68.0-1ubuntu2.2) ...
Setting up curl (7.68.0-1ubuntu2.2) ...
Processing triggers for systemd (245.4-4ubuntu3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2ubuntu2) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Errors were encountered while processing:
auditd
E: Sub-process /usr/bin/dpkg returned an error code (1)

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID:        Ubuntu
Description:        Ubuntu 20.04 LTS
Release:        20.04
Codename:        focal
########################### System version 2 ###########################
Linux version 5.4.34-1-pve (build@pve) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PVE 5.4.34-2 (Thu, 07 May 2020 10:02:02 +0200)
########################### System info ###########################
Linux Focal250 5.4.34-1-pve #1 SMP PVE 5.4.34-2 (Thu, 07 May 2020 10:02:02 +0200) x86_64 x86_64 x86_64 GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m


系统是通过PVE的LXC容器方式安装的。试过Debian9、Debian10,报错内容都类似。
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-8-28 15:35:20 | 显示全部楼层
yingzichen 发表于 2020-8-28 15:06
Setting up libbluetooth3:amd64 (5.53-0ubuntu3) ...
Setting up python3-apparmor (2.13.3-7ubuntu5.1) . ...

用kvm 试试
Nero
回复

使用道具 举报

1

主题

44

帖子

142

积分

注册会员

Rank: 2

积分
142
金钱
98
HASS币
0
发表于 2020-8-28 16:32:13 | 显示全部楼层
marshmallow 发表于 2020-8-23 09:23
The following network interfaces were found in /etc/network/interfaces
which means they are current ...

报错内容和我在PVE的LXC容器里安装时的报错内容差不多,都时auditd服务的问题。我取消“无特权的容器”,也还是报错。
回复

使用道具 举报

4

主题

107

帖子

845

积分

论坛技术达人

积分
845
金钱
728
HASS币
40
发表于 2020-8-28 23:47:37 | 显示全部楼层
碰到和楼上一样的问题,现在一键安装脚本没法用了
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-8-29 09:41:27 | 显示全部楼层
seon 发表于 2020-8-28 23:47
碰到和楼上一样的问题,现在一键安装脚本没法用了

树莓派吗?新的 supervisor 官方安装脚本要求 auditd 依赖。我没树莓派和 N1 如果非 X86 我都无法测试。所以请自行解决。
Nero
回复

使用道具 举报

6

主题

94

帖子

843

积分

高级会员

Rank: 4

积分
843
金钱
749
HASS币
0
发表于 2020-9-2 19:16:26 | 显示全部楼层
● auditd.service - Security Auditing Service
   Loaded: loaded (/lib/systemd/system/auditd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2020-09-02 19:14:08 CST; 25ms ago
     Docs: man:auditd(8)
           https://github.com/linux-audit/audit-documentation
  Process: 3586 ExecStart=/sbin/auditd (code=exited, status=203/EXEC)

Sep 02 19:14:08 raspberrypi systemd[1]: Starting Security Auditing Service...
Sep 02 19:14:08 raspberrypi systemd[3586]: auditd.service: Failed to execute command: No such file or directory
Sep 02 19:14:08 raspberrypi systemd[3586]: auditd.service: Failed at step EXEC spawning /sbin/auditd: No such file or directory
Sep 02 19:14:08 raspberrypi systemd[1]: auditd.service: Control process exited, code=exited, status=203/EXEC
Sep 02 19:14:08 raspberrypi systemd[1]: auditd.service: Failed with result 'exit-code'.
Sep 02 19:14:08 raspberrypi systemd[1]: Failed to start Security Auditing Service.
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-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

求大佬看看咋回事,开始提示这个问题,我手贱把/sbin/auditd删除了,还是这个问题
回复

使用道具 举报

0

主题

2

帖子

20

积分

新手上路

Rank: 1

积分
20
金钱
18
HASS币
0
发表于 2020-9-3 05:58:43 | 显示全部楼层
#从 hub.docker.com 下载 homeassistant/qemux86-64-homeassistant:0.114.4......
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[WARNING]: 从 docker hub 下载 homeassistant/qemux86-64-homeassistant:0.114.4 失败,第 10 次重试.

系统用了Linux Deploy(Ubuntu、debian),和Win10上的Ubuntu子系统,都显示这个,另外Linux Deploy的docker还运行不了

盼回复
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-9-3 08:46:40 | 显示全部楼层
tzcjh 发表于 2020-9-3 05:58
#从 hub.docker.com 下载 homeassistant/qemux86-64-homeassistant:0.114.4......
Cannot connect to the D ...

帖子上已经写了。
给windows子系统的用户:
windows 商店已经提供ubuntu安装,但是这个ubuntu并不能安装docker,目前docker依然需要依赖虚拟机(因为子系统还不支持 iptables,有iptables但是没法用),网上流传的 WSL for Docker 都是需要安装 docker for windows客户端,而这个客户端其实是在 Hyper-V 上跑一个ubuntu,那你为何不直接在Hyper-V上直接装个ubuntu来跑 hassio?


安卓不能跑 docker 自己解决。
Nero
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-23 06:58 , Processed in 0.140075 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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