Skip to content

chore: use apt's built-in (undocumented) lock checker#2079

Open
tomashley wants to merge 2 commits intodevelopfrom
tom/upgrades/dpkg-lock
Open

chore: use apt's built-in (undocumented) lock checker#2079
tomashley wants to merge 2 commits intodevelopfrom
tom/upgrades/dpkg-lock

Conversation

@tomashley
Copy link
Contributor

@tomashley tomashley commented Mar 3, 2026

** Pkill any apt-get procs over 1 hour old

* set to 600s/10mins
* https://bugs.launchpad.net/cloud-init/+bug/1693361/comments/23
* undocumented feature added in ubuntu 20.04
* checks every second for lock to be released
* default is 120sec on `apt` commands, but nothing on `apt-get` so we add it
@tomashley tomashley requested review from a team as code owners March 3, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants