【Ubuntu】apt-get install 报错 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)

简介: 【Ubuntu】apt-get install 报错 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)
切换到root用户
然后执行下面俩个命令即可
rm -rf /var/lib/dpkg/lock-frontend
rm -rf /var/lib/dpkg/lock
相关文章
|
4月前
|
NoSQL MongoDB Docker
Ubuntu18 Install MongoDB
Ubuntu18 Install MongoDB
|
6月前
|
Ubuntu 安全
ubuntu sudo apt-get upgrade 和 sudo apt-get dist-upgrade区别
ubuntu sudo apt-get upgrade 和 sudo apt-get dist-upgrade区别
|
9月前
|
Ubuntu 固态存储 Linux
系统类配置(一)【安装windows10与ubuntu16.04双系统-附镜像资源】
系统类配置(一)【安装windows10与ubuntu16.04双系统-附镜像资源】
123 0
|
10月前
|
Ubuntu 开发工具 Docker
【Docker】在ubuntu容器内使用apt-get遇到网络连接错误的解决方案
【Docker】在ubuntu容器内使用apt-get遇到网络连接错误的解决方案
|
10月前
|
存储 缓存 Ubuntu
Ubuntu 包管理的 20 个“apt-get”命令
Ubuntu 包管理的 20 个“apt-get”命令
140 0
|
Ubuntu
ubuntu apt-get 安装软件时自动yes
ubuntu apt-get 安装软件时自动yes
117 0
|
Ubuntu Shell Apache
ubuntu apt-get卸载软件无法卸载干净的解决方法(ubuntu卸载apache)
ubuntu apt-get卸载软件无法卸载干净的解决方法(ubuntu卸载apache)
482 0
|
Ubuntu 网络安全 开发工具
Ubuntu E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 错误
Ubuntu E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 错误
655 0
|
Ubuntu 开发工具
Ubuntu的apt-get源修改与使用
Ubuntu的apt-get源修改与使用
|
10天前
|
Ubuntu Linux Python
Linux(15)Ubuntu安装ninja构建工具
Linux(15)Ubuntu安装ninja构建工具
31 0