树莓派Diet-Pi安装Mandos Server出现dpkg错误求助
Mandos Server在Diet-Pi树莓派安装失败问题
两台运行Diet-Pi系统的树莓派,其中一台已成功安装Mandos Server,但第二台安装时持续出现以下错误:
Setting up mandos (1.8.16-1) ... Job for mandos.service failed because the control process exited with error code. See "systemctl status mandos.service" and "journalctl -xeu mandos.service" for details. invoke-rc.d: initscript mandos, action "restart" failed. ● mandos.service - Server of encrypted passwords to Mandos clients Loaded: loaded (/lib/systemd/system/mandos.service; enabled; preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sat 2024-11-09 03:23:31 GMT; 48ms ago Docs: man:intro(8mandos) man:mandos(8) Process: 32565 ExecStart=/usr/sbin/mandos --foreground $DAEMON_ARGS (code=exited, status=1/FAILURE) Main PID: 32565 (code=exited, status=1/FAILURE) CPU: 973ms dpkg: error processing package mandos (--configure): installed mandos package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: mandos E: Sub-process /usr/bin/dpkg returned an error code (1)
已尝试以下命令,均未解决问题:
sudo apt-get autoremovesudo apt-get --purge remove && sudo apt-get autocleansudo apt-get -f installsudo apt-get updatesudo apt-get upgrade && sudo apt-get dist-upgradesudo dpkg-reconfigure -asudo dpkg --configure -arm /var/lib/dpkg/info/mandos*sudo mv /var/lib/dpkg/info/dpkg* /tmp && sudo apt install -f && sudo dpkg --configure -a
内容的提问来源于stack exchange,提问作者user7008
相关产品推荐
相关产品推荐

