I bumped into Failed to lock apt for exclusive operation issue: https://github.com/geerlingguy/ansible-role-apache/issues/50
Failed to lock apt for exclusive operation
I posted a lot of details in Gi
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