Skip to content

fix: retry apt when package manager lock is held - #1520

Open
mrvi0 wants to merge 2 commits into
angristan:masterfrom
mrvi0:fix/1486-apt-lock-retry
Open

mrvi0 wants to merge 2 commits into
angristan:masterfrom
mrvi0:fix/1486-apt-lock-retry

Conversation

@mrvi0

@mrvi0 mrvi0 commented Oct 15, 2026

Copy link
Copy Markdown

Summary

  • Wait for apt/dpkg locks (and retry on lock errors) so install does not fail while cloud-init / unattended-upgrades hold the lock
  • Add --retry <seconds> (default 300; 0 disables) as a global and install option

Resolves #1486

mrvi0 added 2 commits October 16, 2026 02:39
Wait for apt/dpkg locks and retry failed apt commands so installs
do not abort while cloud-init or unattended-upgrades run (angristan#1486).

This branch has not been deployed

No deployments
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.

Retry apt commands during lock

1 participant