Ansible 1.9.4 : Failed to lock apt for exclusive operation

前端 未结 8 2445
庸人自扰
庸人自扰 2021-02-18 15:23

I bumped into Failed to lock apt for exclusive operation issue: https://github.com/geerlingguy/ansible-role-apache/issues/50

I posted a lot of details in Gi

8条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-18 16:16

    Ok, so there is nothing wrong with Ansible, SSH or the role. It is just that apt in Debian can get really confused and lock itself out. As I was using a home-brewed Docker VM, I only had to recreate my image and container to get APT working again.

提交回复
热议问题