Ansible 1.9.4:无法锁定 apt 进行独占操作 [英] Ansible 1.9.4 : Failed to lock apt for exclusive operation
本文介绍了Ansible 1.9.4:无法锁定 apt 进行独占操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我遇到了Failed to lock apt forexclusive operation
问题:https://github.com/geerlingguy/ansible-role-apache/issues/50
我在 GitHub 上发布了很多细节.
I posted a lot of details in GitHub.
我在谷歌上搜索了很多无法锁定以进行独占操作"的 Ansible 投诉,但没有简单的答案.有什么帮助吗?
I googled a lot of "Failed to lock apt for exclusive operation" Ansible complaints, but no simple answer. Any help?
推荐答案
我在设置几个新框时也遇到此错误.我以 root
身份连接,所以我认为没有必要,但它是:
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.
这篇关于Ansible 1.9.4:无法锁定 apt 进行独占操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文