我尝试使用 Webmin 命令行在 Ubuntu 服务器上安装 opendkim,命令如下:
sudo apt-get -y install opendkim opendkim-tools
但我遇到了一些错误:
Setting up opendkim (2.11.0~alpha-11build1) ...
useradd: cannot lock /etc/passwd; try again later.
adduser: `/usr/sbin/useradd -d /var/run/opendkim -g opendkim -s /usr/sbin/nologin -u 111 opendkim'
returned error code 1. Exiting.
dpkg: error processing package opendkim (--configure): installed opendkim package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
opendkim
E: Sub-process /usr/bin/dpkg returned an error code (1)
我见过此解决方案这建议使用 SUDO,但这是一个我无法控制的自动化过程