Skip to content

Instantly share code, notes, and snippets.

@bmegli
Created August 18, 2023 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmegli/eee97cab47daceeb35ddab1ef399edec to your computer and use it in GitHub Desktop.
Save bmegli/eee97cab47daceeb35ddab1ef399edec to your computer and use it in GitHub Desktop.
Ubuntu unnatended upgrade state (`Waiting for cache lock...`)

Checking Status

# check service status
sudo systemctl status unattended-upgrades
# check service log
journalctl --unit unattended-upgrades
# check log
cat /var/log/unattended-upgrades/unattended-upgrades.log 
# this is one which changes most during update
cat /var/log/unattended-upgrades/unattended-upgrades-dpkg.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment