著论准过秦,作赋拟子虚。这篇文章主要讲述Could not get lock /var/lib/apt/lists/lock#yyds干货盘点#相关的知识,希望能为你提供帮助。
1 现象
[172.16.56.142][WARNIN] E: Could not get
lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
[172.16.56.142][WARNIN] E: Unable to
lock directory /var/lib/apt/lists/
[172.16.56.142][ERROR ] RuntimeError:
command returned non-zero exit status: 100
[ceph_deploy][ERROR ] RuntimeError:
Failed to execute command: env DEBIAN_FRONTEND=noninteractive
DEBIAN_PRIORITY=critical apt-get --assume-yes -q update
2 解决办法
# rm /var/lib/apt/lists/* -vf 【Could not get lock /var/lib/apt/lists/lock#yyds干货盘点#】# apt-get update |
推荐阅读
- 新加坡服务器哪里的比较便宜有CN2路线的吗
- 网络小知识
- 在VMWare 中安装OpenEuler 20.03 LTS SP2
- #yyds干货盘点# linux和window实现iscsi文件互通详细步骤和解释
- 第五周学习作业
- 文本编辑器GNU Nano 6.0 发布!
- Ubuntu 20.04 VNC Jumpserver AD动态用户管理
- #yyds干货盘点#Golang 编码和解析Json
- SCCM2107主站点环境从控制台升级SCCM2111