Could not get lock /var/lib/apt/lists/lock#yyds干货盘点#
Posted 坚韧的石头
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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 # apt-get update |
以上是关于Could not get lock /var/lib/apt/lists/lock#yyds干货盘点#的主要内容,如果未能解决你的问题,请参考以下文章
E: Could not get lock /var/lib/dpkg/lock
could not get lock /var/lib/dpkg/lock
解决:E: Could not get lock /var/lib/dpkg/lock
UBUNTU Could not get lock /var/lib/apt/lists/lock