使用此命令后,sudo dpkg --configure -a
这是我收到的输出。
Setting up libpam-systemd:amd64 (229-4ubuntu17) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package libpam-systemd:amd64 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
libpam-systemd:amd64
请帮助解决这个问题,我无法使用 安装任何新东西apt-get
。
答案1
尝试当您再次运行时sudo rm /var/cache/debconf/*.dat
它将重建文件。.dat
apt-get