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 配置脚本。脚本内容如下:
2095 0
|
4月前
|
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
91 0
|
缓存 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
122 0
|
开发工具 git
error: could not lock config file .git/config: Permission denied/Command failed with exit 255
error: could not lock config file .git/config: Permission denied/Command failed with exit 255
420 0
|
Android开发
解析Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]
解析Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]
438 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/...
1458 0
|
Ubuntu
ubuntu 16.04安装软件常见错误 Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
  通过终端安装程序 sudo apt-get install xxx 时出错: 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   因为刚装好的Ubantu系统,内部缺少很多软件源,这时,系统会自动启动软件源更新进程“apt-get”,并且它会一直存活。
2492 0
Starting a Gradle Daemon, 5 busy and 1 incompatible and 1 stopped Daemons could not be reused, use --status for details FAILURE: Build failed with an
执行gradle build出的问题,查看hs_err_pid11064.log日志文件发现,是电脑的RAM不足导致
4153 0