# apt module fails with serial setting greater than 1

**URL:** <https://forum.ansible.com/t/apt-module-fails-with-serial-setting-greater-than-1/22243>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [August 9, 2016, 12:35pm UTC](https://forum.ansible.com/t/apt-module-fails-with-serial-setting-greater-than-1/22243 "2016-08-09T12:35:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max\_Gonzih](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@Max\_Gonzih](https://forum.ansible.com/u/Max_Gonzih)\
**Post date:** [August 9, 2016, 12:35pm UTC](https://forum.ansible.com/t/apt-module-fails-with-serial-setting-greater-than-1/22243/1 "2016-08-09T12:35:45Z")

</div>

Hello everyone,

I’m just starting to use ansible and encountered weird issue.

apt module on target machines that run ubuntu 16.04 (ec2 image ami-1967056a) fails with locking issues (11: Resource temporarily unavailable).

But when I set serial: 1 everything seems to be fine. I’m not sure where to look for a solution. Is it ansible problem or apt related?

Any help or suggestions are welcome!

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [March 7, 2017, 6:19pm UTC](https://forum.ansible.com/t/apt-module-fails-with-serial-setting-greater-than-1/22243/2 "2017-03-07T18:19:20Z")

</div>

In general you can only run one apt process on the same machine, the  
'locking' is apt trying to ensure that.
