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

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

HASSIO 安装一键脚本

   关闭 [复制链接]

0

主题

19

帖子

140

积分

注册会员

Rank: 2

积分
140
金钱
121
HASS币
0
发表于 2020-8-20 11:22:29 | 显示全部楼层
neroxps 发表于 2020-8-20 08:51
debian 10 开始默认启用 AppArmor  的吧?我没树莓派,没法知道当前环境。

https://wiki.debian.org/App ...

多谢
If you are using Debian 10 "Buster" or newer, AppArmor is enabled by default.
apt-get install apparmor apparmor-utils auditd
然后都解决了。
回复

使用道具 举报

10

主题

85

帖子

835

积分

论坛技术达人

积分
835
金钱
750
HASS币
20
发表于 2020-8-21 17:52:12 | 显示全部楼层
x86 小主机,ubuntu1604   选6,选1我都测试过,还一样的问题,最近安装一直出问题,求大神帮忙,
1 09:39:49 WARNING (MainThread) [supervisor.host.network] Can't update host DNS system information!
20-08-21 09:41:01 INFO (SyncWorker_0) [supervisor.docker.interface] Stop homeassistant application
20-08-21 09:41:05 INFO (SyncWorker_0) [supervisor.docker.interface] Clean homeassistant application
20-08-21 09:41:05 INFO (MainThread) [supervisor.homeassistant] Home Assistant docker now installed
20-08-21 09:41:05 INFO (MainThread) [supervisor.homeassistant] Start Home Assistant
20-08-21 09:41:05 INFO (MainThread) [supervisor.homeassistant] Update pulse/client.config: /data/tmp/homeassistant_pulse
20-08-21 09:41:05 INFO (SyncWorker_1) [supervisor.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version 0.114.3
20-08-21 09:41:05 INFO (MainThread) [supervisor.homeassistant] Wait until Home Assistant is ready
20-08-21 09:41:15 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-08-21 09:41:15 INFO (MainThread) [supervisor.homeassistant] Detect a running Home Assistant instance
20-08-21 09:41:15 INFO (SyncWorker_0) [supervisor.docker.interface] Cleanup images: ['homeassistant/qemux86-64-homeassistant:landingpage']
20-08-21 09:41:48 INFO (MainThread) [__main__] Stopping Supervisor
20-08-21 09:41:48 INFO (MainThread) [supervisor.api] Stop API on 172.30.32.2
20-08-21 09:41:48 INFO (MainThread) [supervisor.misc.forwarder] Stop DNS forwarding
20-08-21 09:41:48 INFO (MainThread) [supervisor.core] Supervisor is down
20-08-21 09:41:48 INFO (MainThread) [__main__] Close Supervisor
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] udev.sh: executing...
[09:41:59] INFO: Update udev information
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
20-08-21 09:42:01 INFO (MainThread) [__main__] Initialize Supervisor setup
20-08-21 09:42:01 INFO (MainThread) [supervisor.bootstrap] Initialize Supervisor Sentry
20-08-21 09:42:01 INFO (MainThread) [supervisor.bootstrap] Setup coresys for machine: qemux86-64
20-08-21 09:42:02 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attach to Supervisor homeassistant/amd64-hassio-supervisor with version 235
20-08-21 09:42:02 ERROR (MainThread) [supervisor.docker] Docker logging driver json-file is not supported!
20-08-21 09:42:02 INFO (MainThread) [__main__] Setup Supervisor
20-08-21 09:42:02 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
20-08-21 09:42:02 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
20-08-21 09:42:02 WARNING (MainThread) [supervisor.dbus.rauc] Host has no rauc support. OTA updates have been disabled.
20-08-21 09:42:02 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.NetworkManager - /org/freedesktop/NetworkManager/DnsManager
20-08-21 09:42:02 INFO (MainThread) [supervisor.host.info] Update local host information
20-08-21 09:42:02 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-08-21 09:42:02 INFO (MainThread) [supervisor.host.services] Update service information
20-08-21 09:42:02 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-08-21 09:42:02 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-08-21 09:42:02 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-08-21 09:42:02 ERROR (MainThread) [supervisor.utils.gdbus] DBus return error: Error: GDBus.Errorrg.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.DBus.Properties' on object at path /org/freedesktop/NetworkManager/DnsManager
20-08-21 09:42:02 WARNING (MainThread) [supervisor.host.network] Can't update host DNS system information!
20-08-21 09:42:02 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-08-21 09:42:02 INFO (MainThread) [supervisor.host.apparmor] Load AppArmor Profiles: {'hassio-supervisor'}
20-08-21 09:42:02 INFO (MainThread) [supervisor.host.services] Reload local service hassio-apparmor.service
20-08-21 09:42:02 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ReloadOrRestartUnit on /org/freedesktop/systemd1
20-08-21 09:42:02 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to homeassistant/amd64-hassio-dns with version 9
20-08-21 09:42:02 INFO (MainThread) [supervisor.plugins.dns] Start CoreDNS plugin
20-08-21 09:42:02 INFO (MainThread) [supervisor.misc.forwarder] Start DNS port forwarding to 172.30.32.3
20-08-21 09:42:02 INFO (SyncWorker_0) [supervisor.docker.interface] Clean hassio_dns application
20-08-21 09:42:03 INFO (SyncWorker_0) [supervisor.docker.dns] Start DNS homeassistant/amd64-hassio-dns with version 9 - 172.30.32.3
20-08-21 09:42:03 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
20-08-21 09:42:03 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to homeassistant/amd64-hassio-audio with version 17
20-08-21 09:42:03 INFO (MainThread) [supervisor.plugins.audio] Start Audio plugin
20-08-21 09:42:03 INFO (SyncWorker_0) [supervisor.docker.interface] Clean hassio_audio application
20-08-21 09:42:04 INFO (SyncWorker_0) [supervisor.docker.audio] Start Audio homeassistant/amd64-hassio-audio with version 17 - 172.30.32.4
20-08-21 09:42:04 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to homeassistant/amd64-hassio-cli with version 25
20-08-21 09:42:04 INFO (MainThread) [supervisor.plugins.cli] Start cli plugin
20-08-21 09:42:04 INFO (SyncWorker_0) [supervisor.docker.interface] Clean hassio_cli application
20-08-21 09:42:05 INFO (SyncWorker_0) [supervisor.docker.cli] Start CLI homeassistant/amd64-hassio-cli with version 25 - 172.30.32.5
20-08-21 09:42:05 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to homeassistant/amd64-hassio-multicast with version 3
20-08-21 09:42:05 INFO (MainThread) [supervisor.plugins.multicast] Start Multicast plugin
20-08-21 09:42:05 INFO (SyncWorker_0) [supervisor.docker.interface] Clean hassio_multicast application
20-08-21 09:42:06 INFO (SyncWorker_0) [supervisor.docker.multicast] Start Multicast homeassistant/amd64-hassio-multicast with version 3 - Host
20-08-21 09:42:06 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-08-21 09:42:06 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to homeassistant/qemux86-64-homeassistant with version 0.114.3
20-08-21 09:42:06 INFO (MainThread) [supervisor.hassos] No Home Assistant Operating System found
20-08-21 09:42:06 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/core repository
20-08-21 09:42:06 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/a0d7b954 repository
20-08-21 09:42:06 INFO (MainThread) [supervisor.store] Load add-ons from store: 66 all - 66 new - 0 remove
20-08-21 09:42:06 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons
20-08-21 09:42:07 INFO (MainThread) [supervisor.snapshots] Found 0 snapshot files
20-08-21 09:42:07 INFO (MainThread) [supervisor.discovery] Load 0 messages
20-08-21 09:42:07 INFO (MainThread) [supervisor.ingress] Load 0 ingress session
20-08-21 09:42:07 INFO (MainThread) [supervisor.misc.secrets] Load Home Assistant secrets: 1
20-08-21 09:42:07 ERROR (MainThread) [supervisor.core] Detected unsupported OS: Ubuntu 16.04.4 LTS
20-08-21 09:42:07 INFO (MainThread) [__main__] Run Supervisor
20-08-21 09:42:07 INFO (MainThread) [supervisor.api] Start API on 172.30.32.2
20-08-21 09:42:07 CRITICAL (MainThread) [supervisor.core] System running in a unsupported environment!
20-08-21 09:42:07 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' start 0 add-ons
20-08-21 09:42:07 INFO (MainThread) [supervisor.core] Supervisor reboot detected
20-08-21 09:42:07 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
20-08-21 09:42:07 INFO (MainThread) [supervisor.misc.hwmon] Started Supervisor hardware monitor
20-08-21 09:42:07 INFO (MainThread) [supervisor.core] Supervisor is up and running
20-08-21 09:42:07 INFO (MainThread) [supervisor.host.info] Update local host information
20-08-21 09:42:07 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-08-21 09:42:07 INFO (MainThread) [supervisor.host.services] Update service information
回复

使用道具 举报

40

主题

3056

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11149
金钱
8042
HASS币
182
 楼主| 发表于 2020-8-22 08:26:54 | 显示全部楼层
un123 发表于 2020-8-21 17:52
x86 小主机,ubuntu1604   选6,选1我都测试过,还一样的问题,最近安装一直出问题,求大神帮忙,
1 09:39:4 ...

[supervisor.docker.interface] Attach to homeassistant/qemux86-64-homeassistant with version 0.114.3

已经启动了啊,docker logs -f homeassistant  看日志
Nero
回复

使用道具 举报

6

主题

106

帖子

479

积分

中级会员

Rank: 3Rank: 3

积分
479
金钱
373
HASS币
0
发表于 2020-8-23 09:23:13 | 显示全部楼层
本帖最后由 marshmallow 于 2020-8-23 09:36 编辑
neroxps 发表于 2020-4-6 13:22
https://community.home-assistant ... l-services/171199/3

[md]

The following network interfaces were found in /etc/network/interfaces
which means they are currently configured by ifupdown:
- eth0
If you want to manage those interfaces with NetworkManager instead
remove their configuration from /etc/network/interfaces.

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 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 systemd (241-5) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.16-1) ...
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
auditd
E: Sub-process /usr/bin/dpkg returned an error code (1)

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
########################### System version 2 ###########################
Linux version 5.4.55-1-pve (root@nora) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PVE 5.4.55-1 (Mon, 10 Aug 2020 10:26:27 +0200)
########################### System info ###########################
Linux debian 5.4.55-1-pve #1 SMP PVE 5.4.55-1 (Mon, 10 Aug 2020 10:26:27 +0200) x86_64 GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m

应该不是脚本问题,我自己手动安装curl也出错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 Sun 2020-08-23 01:34:55 UTC; 9ms ago
     Docs: man:auditd(8)
           https://github.com/linux-audit/audit-documentation
  Process: 5078 ExecStart=/sbin/auditd (code=exited, status=1/FAILURE)

Aug 23 01:34:55 ubuntu systemd[1]: Starting Security Auditing Service...
Aug 23 01:34:55 ubuntu auditd[5078]: Cannot change priority (Operation not permitted)
Aug 23 01:34:55 ubuntu auditd[5078]: The audit daemon is exiting.
Aug 23 01:34:55 ubuntu systemd[1]: auditd.service: Control process exited, code=exited status=1
Aug 23 01:34:55 ubuntu systemd[1]: auditd.service: Failed with result 'exit-code'.
Aug 23 01:34:55 ubuntu 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)

查了半天也没解决


回复

使用道具 举报

6

主题

106

帖子

479

积分

中级会员

Rank: 3Rank: 3

积分
479
金钱
373
HASS币
0
发表于 2020-8-23 09:25:41 | 显示全部楼层
marshmallow 发表于 2020-8-23 09:23
The following network interfaces were found in /etc/network/interfaces
which means they are currentl ...

我自己手动安装curl也报错...
回复

使用道具 举报

0

主题

92

帖子

731

积分

论坛积极会员

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

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

使用道具 举报

0

主题

92

帖子

731

积分

论坛积极会员

积分
731
金钱
639
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服务的问题。我取消“无特权的容器”,也还是报错。
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-25 22:10 , Processed in 0.113167 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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