You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

树莓派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 autoremove
  • sudo apt-get --purge remove && sudo apt-get autoclean
  • sudo apt-get -f install
  • sudo apt-get update
  • sudo apt-get upgrade && sudo apt-get dist-upgrade
  • sudo dpkg-reconfigure -a
  • sudo dpkg --configure -a
  • rm /var/lib/dpkg/info/mandos*
  • sudo mv /var/lib/dpkg/info/dpkg* /tmp && sudo apt install -f && sudo dpkg --configure -a

内容的提问来源于stack exchange,提问作者user7008

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.16 13:33:13