Ansible 1.9.4:无法锁定易于进行独占操作 [英] Ansible 1.9.4 : Failed to lock apt for exclusive operation

查看:34
本文介绍了Ansible 1.9.4:无法锁定易于进行独占操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我碰到了无法锁定专有操作的问题: https://github.com/geerlingguy/ansible-role-apache/issues/50

我在GitHub上发布了很多细节.

I posted a lot of details in GitHub.

我在Google上搜索了很多无法锁定专有操作"的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

现在一切正常.

这篇关于Ansible 1.9.4:无法锁定易于进行独占操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆