Azure / Azure/kdebug

apt-get/dpkg interruption checker

Open
#29 2 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.