Ansible 1.9.4 : Failed to lock apt for exclusive operation

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

    I'm also getting this error, while setting up a couple of new boxes. I'm connecting as root, so I didn't think it was necessary, but it is:

    become: yes
    

    Now everything works as intended.

    0 讨论(0)
  • 2021-02-18 16:21

    https://serverfault.com/questions/716260/ansible-sudo-error-while-building-on-atlas

    Check ps aux | grep apt output for suspicious processes.

    0 讨论(0)
提交回复
热议问题