PVE容器ubuntu18.04 一键脚本neroxps/hassio_install安装hassio出现的错误

################################################################################

1. 是否将系统源切换为清华源: 是

2. 是否将用户添加至 Docker 用户组: 是,添加用户为 willis

3. 是否将 Docker 源切换至国内源: 是,切换源选择:

4. 您的设备类型为: qemux86-64

5. 您的 hassio 数据路径为: /usr/share/hassio

################################################################################
请确认以上信息,继续请按任意键,如需修改请输入 Ctrl+C 结束任务重新执行脚本。

Hit:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Hit:2 https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu artful InRelease
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease [88.7 kB]
Fetched 252 kB in 1s (295 kB/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
5 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
info: 安装 hassio 必要依赖…
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Hit:2 https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu artful InRelease
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease [88.7 kB]
Fetched 252 kB in 2s (158 kB/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
5 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
Reading package lists… Done
Building dependency tree
Reading state information… Done
auditd is already the newest version (1:2.8.2-1ubuntu1).
net-tools is already the newest version (1.60+git20161116.90da8a0-1ubuntu1).
socat is already the newest version (1.7.3.2-2ubuntu2).
jq is already the newest version (1.5+dfsg-2).
qrencode is already the newest version (3.4.4-1build1).
apparmor is already the newest version (2.12-4ubuntu5.1).
apparmor-utils is already the newest version (2.12-4ubuntu5.1).
avahi-daemon is already the newest version (0.7-3.1ubuntu1.2).
curl is already the newest version (7.58.0-2ubuntu3.12).
network-manager is already the newest version (1.10.6-2ubuntu1.5).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up auditd (1:2.8.2-1ubuntu1) …
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-12-18 01:38:51 UTC; 8ms ago
    Docs: man:auditd(8)
    https://github.com/linux-audit/audit-documentation
    Process: 5344 ExecStart=/sbin/auditd (code=exited, status=1/FAILURE)

Dec 18 01:38:51 HAASIO systemd[1]: Starting Security Auditing Service…
Dec 18 01:38:51 HAASIO auditd[5344]: Cannot change priority (Operation not permitted)
Dec 18 01:38:51 HAASIO auditd[5344]: The audit daemon is exiting.
Dec 18 01:38:51 HAASIO systemd[1]: auditd.service: Control process exited, code=exited status=1
Dec 18 01:38:51 HAASIO systemd[1]: auditd.service: Failed with result ‘exit-code’.
Dec 18 01:38:51 HAASIO 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: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
########################### 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 HAASIO 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

貌似新的ha版本有东西修改了,所以可能hassio脚本不行了?@neroxps 大佬看看

建议更换 Ubuntu 20.04 LTS

18.04 可能某些软件包老旧不支持