Ansible 1.9.4 : Failed to lock apt for exclusive operation

前端 未结 8 2460
庸人自扰
庸人自扰 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:11

    Running the following commands in the same sequence as below should resolve this issue :

    sudo rm -rf /var/lib/apt/lists/*
    sudo apt-get clean
    sudo apt-get update
    

提交回复
热议问题