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

 找回密码
 立即注册
查看: 1671|回复: 3

[技术探讨] 树莓派3B+ 一键安装脚本执行报错,还请大佬指点。

[复制链接]

1

主题

34

帖子

188

积分

注册会员

Rank: 2

积分
188
金钱
154
HASS币
0
发表于 2020-10-11 01:16:36 | 显示全部楼层 |阅读模式
Fetched 6,184 kB in 0s (6,289 kB/s)
Preconfiguring packages ...
Selecting previously unselected package dns-root-data.
(Reading database ... 129986 files and directories currently installed.)
Preparing to unpack .../00-dns-root-data_2019031302~deb9u1_all.deb ...
Unpacking dns-root-data (2019031302~deb9u1) ...
Selecting previously unselected package dnsmasq-base.
Preparing to unpack .../01-dnsmasq-base_2.76-5+rpt1+deb9u1_armhf.deb ...
Unpacking dnsmasq-base (2.76-5+rpt1+deb9u1) ...
Selecting previously unselected package libonig4:armhf.
Preparing to unpack .../02-libonig4_6.1.3-2_armhf.deb ...
Unpacking libonig4:armhf (6.1.3-2) ...
Selecting previously unselected package libjq1:armhf.
Preparing to unpack .../03-libjq1_1.5+dfsg-1.3_armhf.deb ...
Unpacking libjq1:armhf (1.5+dfsg-1.3) ...
Selecting previously unselected package jq.
Preparing to unpack .../04-jq_1.5+dfsg-1.3_armhf.deb ...
Unpacking jq (1.5+dfsg-1.3) ...
Selecting previously unselected package libauparse0:armhf.
Preparing to unpack .../05-libauparse0_1%3a2.6.7-2_armhf.deb ...
Unpacking libauparse0:armhf (1:2.6.7-2) ...
Selecting previously unselected package libjansson4:armhf.
Preparing to unpack .../06-libjansson4_2.9-1_armhf.deb ...
Unpacking libjansson4:armhf (2.9-1) ...
Selecting previously unselected package libmbim-glib4:armhf.
Preparing to unpack .../07-libmbim-glib4_1.14.0-1_armhf.deb ...
Unpacking libmbim-glib4:armhf (1.14.0-1) ...
Selecting previously unselected package libmbim-proxy.
Preparing to unpack .../08-libmbim-proxy_1.14.0-1_armhf.deb ...
Unpacking libmbim-proxy (1.14.0-1) ...
Selecting previously unselected package libmm-glib0:armhf.
Preparing to unpack .../09-libmm-glib0_1.6.4-1_armhf.deb ...
Unpacking libmm-glib0:armhf (1.6.4-1) ...
Selecting previously unselected package libndp0:armhf.
Preparing to unpack .../10-libndp0_1.6-1_armhf.deb ...
Unpacking libndp0:armhf (1.6-1) ...
Selecting previously unselected package libnm0:armhf.
Preparing to unpack .../11-libnm0_1.6.2-3+deb9u2_armhf.deb ...
Unpacking libnm0:armhf (1.6.2-3+deb9u2) ...
Selecting previously unselected package libpcap0.8:armhf.
Preparing to unpack .../12-libpcap0.8_1.8.1-3_armhf.deb ...
Unpacking libpcap0.8:armhf (1.8.1-3) ...
Selecting previously unselected package libqmi-glib5:armhf.
Preparing to unpack .../13-libqmi-glib5_1.16.2-1_armhf.deb ...
Unpacking libqmi-glib5:armhf (1.16.2-1) ...
Selecting previously unselected package libqmi-proxy.
Preparing to unpack .../14-libqmi-proxy_1.16.2-1_armhf.deb ...
Unpacking libqmi-proxy (1.16.2-1) ...
Selecting previously unselected package libqrencode3:armhf.
Preparing to unpack .../15-libqrencode3_3.4.4-1_armhf.deb ...
Unpacking libqrencode3:armhf (3.4.4-1) ...
Selecting previously unselected package libteamdctl0:armhf.
Preparing to unpack .../16-libteamdctl0_1.26-1_armhf.deb ...
Unpacking libteamdctl0:armhf (1.26-1) ...
Selecting previously unselected package modemmanager.
Preparing to unpack .../17-modemmanager_1.6.4-1_armhf.deb ...
Unpacking modemmanager (1.6.4-1) ...
Selecting previously unselected package network-manager.
Preparing to unpack .../18-network-manager_1.6.2-3+deb9u2_armhf.deb ...
Unpacking network-manager (1.6.2-3+deb9u2) ...
Selecting previously unselected package ppp.
Preparing to unpack .../19-ppp_2.4.7-1+4+deb9u1_armhf.deb ...
Unpacking ppp (2.4.7-1+4+deb9u1) ...
Selecting previously unselected package qrencode.
Preparing to unpack .../20-qrencode_3.4.4-1_armhf.deb ...
Unpacking qrencode (3.4.4-1) ...
Selecting previously unselected package libapparmor-perl.
Preparing to unpack .../21-libapparmor-perl_2.11.0-3+deb9u2_armhf.deb ...
Unpacking libapparmor-perl (2.11.0-3+deb9u2) ...
Selecting previously unselected package apparmor.
Preparing to unpack .../22-apparmor_2.11.0-3+deb9u2_armhf.deb ...
Unpacking apparmor (2.11.0-3+deb9u2) ...
Selecting previously unselected package python3-libapparmor.
Preparing to unpack .../23-python3-libapparmor_2.11.0-3+deb9u2_armhf.deb ...
Unpacking python3-libapparmor (2.11.0-3+deb9u2) ...
Selecting previously unselected package python3-apparmor.
Preparing to unpack .../24-python3-apparmor_2.11.0-3+deb9u2_armhf.deb ...
Unpacking python3-apparmor (2.11.0-3+deb9u2) ...
Selecting previously unselected package apparmor-utils.
Preparing to unpack .../25-apparmor-utils_2.11.0-3+deb9u2_armhf.deb ...
Unpacking apparmor-utils (2.11.0-3+deb9u2) ...
Selecting previously unselected package auditd.
Preparing to unpack .../26-auditd_1%3a2.6.7-2_armhf.deb ...
Unpacking auditd (1:2.6.7-2) ...
Selecting previously unselected package iputils-arping.
Preparing to unpack .../27-iputils-arping_3%3a20161105-1_armhf.deb ...
Unpacking iputils-arping (3:20161105-1) ...
Selecting previously unselected package socat.
Preparing to unpack .../28-socat_1.7.3.1-2+deb9u1_armhf.deb ...
Unpacking socat (1.7.3.1-2+deb9u1) ...
Setting up libauparse0:armhf (1:2.6.7-2) ...
Setting up libmbim-glib4:armhf (1.14.0-1) ...
Setting up python3-libapparmor (2.11.0-3+deb9u2) ...
Setting up socat (1.7.3.1-2+deb9u1) ...
Setting up libonig4:armhf (6.1.3-2) ...
Setting up libjansson4:armhf (2.9-1) ...
Setting up dns-root-data (2019031302~deb9u1) ...
Setting up libmbim-proxy (1.14.0-1) ...
Setting up python3-apparmor (2.11.0-3+deb9u2) ...
Setting up libqrencode3:armhf (3.4.4-1) ...
Setting up auditd (1:2.6.7-2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/auditd.service → /lib/systemd/system/auditd.service.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
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-10-11 01:11:31 CST; 67ms ago
     Docs: man:auditd(8)
           https://people.redhat.com/sgrubb/audit/
  Process: 1716 ExecStartPost=/sbin/augenrules --load (code=exited, status=1/FAILURE)
  Process: 1715 ExecStart=/sbin/auditd -n (code=exited, status=1/FAILURE)
Main PID: 1715 (code=exited, status=1/FAILURE)

Oct 11 01:11:31 raspberrypi systemd[1]: Starting Security Auditing Service...
Oct 11 01:11:31 raspberrypi augenrules[1716]: /sbin/augenrules: No change
Oct 11 01:11:31 raspberrypi auditctl[1727]: Error - audit support not in kernel
Oct 11 01:11:31 raspberrypi auditctl[1727]: Error - audit support not in kernel
Oct 11 01:11:31 raspberrypi auditctl[1727]: Cannot open netlink audit socket
Oct 11 01:11:31 raspberrypi systemd[1]: auditd.service: Main process exited, code=exited, status=1/FAILURE
Oct 11 01:11:31 raspberrypi systemd[1]: Failed to start Security Auditing Service.
Oct 11 01:11:31 raspberrypi systemd[1]: auditd.service: Unit entered failed state.
Oct 11 01:11:31 raspberrypi systemd[1]: auditd.service: Failed with result 'exit-code'.
dpkg: error processing package auditd (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up libjq1:armhf (1.5+dfsg-1.3) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libmm-glib0:armhf (1.6.4-1) ...
Processing triggers for systemd (232-25+deb9u12) ...
Setting up dnsmasq-base (2.76-5+rpt1+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for dbus (1.10.32-0+deb9u1) ...
Setting up libndp0:armhf (1.6-1) ...
Setting up iputils-arping (3:20161105-1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up libapparmor-perl (2.11.0-3+deb9u2) ...
Setting up libteamdctl0:armhf (1.26-1) ...
Setting up libpcap0.8:armhf (1.8.1-3) ...
Setting up qrencode (3.4.4-1) ...
Setting up jq (1.5+dfsg-1.3) ...
Setting up ppp (2.4.7-1+4+deb9u1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/pppd-dns.service → /lib/systemd/system/pppd-dns.service.
Setting up libnm0:armhf (1.6.2-3+deb9u2) ...
Setting up apparmor (2.11.0-3+deb9u2) ...
Created symlink /etc/systemd/system/sysinit.target.wants/apparmor.service → /lib/systemd/system/apparmor.service.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
diff: /var/lib/apparmor/profiles/.apparmor.md5sums: No such file or directory
Setting up libqmi-glib5:armhf (1.16.2-1) ...
Setting up libqmi-proxy (1.16.2-1) ...
Setting up network-manager (1.6.2-3+deb9u2) ...
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 apparmor-utils (2.11.0-3+deb9u2) ...
Setting up modemmanager (1.6.4-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.24-11+deb9u4) ...
Processing triggers for systemd (232-25+deb9u12) ...
Processing triggers for dbus (1.10.32-0+deb9u1) ...
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 9.13 (stretch)                                                                                                      
Release:        9.13                                                                                                                                    
Codename:       stretch                                                                                                                                 
########################### System version 2 ###########################                                                                                
Linux version 4.19.66-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1253 SMP Thu Aug 15 11:49:46 BST 2019      
########################### System info ###########################                                                                                    
Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux                                                                  
########################### END ###########################                                                                                                        

回复

使用道具 举报

0

主题

26

帖子

396

积分

中级会员

Rank: 3Rank: 3

积分
396
金钱
370
HASS币
0
发表于 2020-10-11 01:39:50 | 显示全部楼层
回复

使用道具 举报

9

主题

527

帖子

2350

积分

金牌会员

Rank: 6Rank: 6

积分
2350
金钱
1823
HASS币
0
发表于 2020-10-12 08:42:14 | 显示全部楼层
树莓派直接用官方镜像就好了啊...也带商店的
回复

使用道具 举报

1

主题

34

帖子

188

积分

注册会员

Rank: 2

积分
188
金钱
154
HASS币
0
 楼主| 发表于 2020-10-13 21:56:40 | 显示全部楼层
yylwhy 发表于 2020-10-12 08:42
树莓派直接用官方镜像就好了啊...也带商店的

谢谢,安装好了
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-26 13:29 , Processed in 0.256710 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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