![无法安装 apt-fast](https://linux22.com/image/1078447/%E6%97%A0%E6%B3%95%E5%AE%89%E8%A3%85%20apt-fast%20.png)
在安装 apt-fast 期间,屏幕循环播放,过了一会儿,我关闭了窗口。
我该如何修复它?
sudo dpkg --configure -a
Setting up apt-fast (1.7.2-1~precise1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing apt-fast (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
apt-fast
答案1
尝试删除锁文件并运行。
要移除锁:
sudo rm /var/lib/dpkg/lock
然后运行sudo dpkg --configure -a