欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

debconf: DbDriver config: /var/cache/debconf/config.dat is locked by another process

发布时间:2023/12/20 编程问答 38 豆豆
生活随笔 收集整理的这篇文章主要介绍了 debconf: DbDriver config: /var/cache/debconf/config.dat is locked by another process 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

问题描述:

出现错误: debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: 资源暂时不可用 Setting up shim-signed (1.19~16.04.1+0.8-0ubuntu2) ... debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable dpkg: error processing package shim-signed (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: shim-signed



root@ubuntu:/home/appleyuchi# lsof /var/cache/debconf/config.dat

lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF    NODE NAME

frontend 4785 root    4uW  REG    8,4    50283 3409714 /var/cache/debconf/config.dat

看到输出结果后,我们

kill 4785

apt-get autoclean

apt-get clean apt-get autoremove  apt-get update 然后可以试着用apt-get安装软件

转载自:

http://www.linuxdiyf.com/linux/24606.html

总结

以上是生活随笔为你收集整理的debconf: DbDriver config: /var/cache/debconf/config.dat is locked by another process的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。