转 服务器搭建3
|-转 Could not get lock /var/lib/dpkg/lock-frontend Linux系统 sudo apt update报错
使用apt安装时报错:
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 killall apt apt-get
如果提示没有apt进程:
apt: no process found apt-get: no process found
往下看方案二
方案二:
依次执行:
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
完成! ...
浏览更多内容请先登录。
立即注册
更新于:2022-06-10 13:32:21
相关内容
Bootstrap模板下载bootstrap template free
精选Bootstrap模板
为何 shadowsocks 弃用一次性验证 (OTA)
Yii2小部件Widget
小技巧:apache启动错误 AH00072: make_sock: could not bind to address ...
解决编译时Could NOT find UV (missing: UV_LIBRARY UV_INCL...
推荐内容