billwheatley / provision-desktop

What I use to Provision my personal Desktops with Ansible. The goal is to create playbooks and related roles (in other repos) to quickly provision both Fedora and PopOS distributions for my general usage.
GNU General Public License v2.0
2 stars 0 forks source link

Aptitude lock Issues PopOS #67

Open billwheatley opened 2 years ago

billwheatley commented 2 years ago

Sometimes Aptitude lock is not released between tasks in PopOS playbooks. I notice this most often on fresh installs after updating existing packages and when moving on to the next task that ensures additional packages are installed. There maybe some other background process on the host that grabs the lock after the update task.

I believe some re-try logic could be added to avoid the playbooks bombing.

billwheatley commented 2 years ago

Also having this happen on some roles, re-try logic there would help

billwheatley commented 1 year ago

there is a discussion of workarounds and potential Ansible side fixes (but fixes are not clear since comments got locked) https://github.com/ansible/ansible/issues/16593