申请网站的域名,北京网站制作公司公司,深圳专业网站建设免费送域名空间,软文范例大全目录
1.使用apt install安装程序有时会爆出dpkg/lock类故障
2.使用lsof命令查看占用锁的进程
3.使用kill -9命令删除占用进程
4.删除锁
5. 配置生效 1.使用apt install安装程序有时会爆出dpkg/lock类故障 E: Could not get lock /var/lib/dpkg/lock - open (11: Resource …目录
1.使用apt install安装程序有时会爆出dpkg/lock类故障
2.使用lsof命令查看占用锁的进程
3.使用kill -9命令删除占用进程
4.删除锁
5. 配置生效 1.使用apt install安装程序有时会爆出dpkg/lock类故障 E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? bookwww.100ask.org:/mnt/hgfs/99_github/TinyWebServer$ 2.使用lsof命令查看占用锁的进程 bookwww.100ask.org:/mnt/hgfs/99_github/TinyWebServer$ sudo lsof /var/lib/dpkg/lock lsof: WARNING: cant 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 unattende 2861 root 4uW REG 8,1 0 3025283 /var/lib/dpkg/lock 3.使用kill -9命令删除占用进程 bookwww.100ask.org:/mnt/hgfs/99_github/TinyWebServer$ sudo kill -9 2861 4.删除锁 bookwww.100ask.org:/mnt/hgfs/99_github/TinyWebServer$ sudo rm /var/lib/dpkg/lock 5. 配置生效 bookwww.100ask.org:/mnt/hgfs/99_github/TinyWebServer$ sudo dpkg --configure -a