出现错误:
debconf: DbDriver"config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
解决方法:
$ sudo lsof /var/cache/debconf/config.dat
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/amw/.gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
frontend 3350 root 4uW REG 7,0 40347 2966 /var/cache/debconf/config.dat
$ sudo kill 4250
$ sudo apt-get autoclean
$ sudo apt-get clean
$ sudo apt-get autoremove
$ sudo apt-get update
然后可以试着用apt-get安装软件。
文章评论