使用此命令時,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