apt-get/dpkg interruption checker
Open
enhancement
- Dominant language
- Go
- Stars
- 54
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
# Background
Ubuntu ships with a tool called `unattended-upgrade` which periodically installs security patches. However, we've observed some cases where auto-upgrade can stop on some machines. One of the reason is that last upgrade was aborted, leaving `dpkg` in an intermediate state. It requires human interaction to fix such state.
# Design
* Check `dpkg` locks to see if it's held for too long.
* Check `apt-get`/`dpkg` logs for last failure details.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.