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