E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)

简介: E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)

遇到以下报错:


E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)


E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process


using it?


解决方案:


sudo rm /var/lib/apt/lists/lock


sudo rm /var/cache/apt/archives/lock


sudo rm /var/lib/dpkg/lock*


sudo dpkg --configure -a


sudo apt update

相关文章
|
Shell Docker 容器
解决:E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
为了让容器服务启动更加方面,于是自己手写了一个 docker-compose.yml 配置脚本。脚本内容如下:
2080 0
|
3月前
|
iOS开发 Perl
解決pod install报错:unable to access: LibreSSL SSL_read: error:Operation timed out, errno 60
解決pod install报错:unable to access: LibreSSL SSL_read: error:Operation timed out, errno 60
79 0
|
6月前
|
Kubernetes 网络协议 Perl
k8s Failed to create pod sandbox: open /run/systemd/resolve/resolv.conf: no such file or directory
k8s Failed to create pod sandbox: open /run/systemd/resolve/resolv.conf: no such file or directory
359 0
|
12月前
|
缓存 Ubuntu Linux
错误 E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
错误 E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
Install fail! Error: EBUSY: resource busy or locked, symlink
Install fail! Error: EBUSY: resource busy or locked, symlink
110 0
解决办法:无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)
解决办法:无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)
144 0
flAbsPath on /var/lib/dpkg/status failed - realpath
flAbsPath on /var/lib/dpkg/status failed - realpath
111 0
|
Android开发
解析Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]
解析Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]
426 0
解析Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]
|
人工智能 大数据
Transaction Check Error:file /usr/libexec/getconf/default conflicts between attempted installs of gcc-6.4.1-1.fc25.i686 and gcc-6.4.1-1.fc25.x86_64
欢迎关注大数据和人工智能技术文章发布的微信公众号:清研学堂,在这里你可以学到夜白(作者笔名)精心整理的笔记,让我们每天进步一点点,让优秀成为一种习惯! 今天在我的ubuntu系统上使用yum来安装软件时出错了错误:Transaction Check Error:file /usr/libexec/...
1451 0
下一篇
无影云桌面