SystemRequires admin/root

APT Logs

APT writes transaction history and package download activity to /var/log/apt, primarily in files such as history.log, term.log, and their rotated or compressed archives. These logs record what packages were installed, upgraded, or removed, along with dpkg output and dependency resolution details, so they can grow steadily on systems that update often. Kudu clears old APT log files from this directory, freeing space without touching installed packages, repositories, accounts, or system settings.

Why clean APT Logs?

  • Repeated upgrades and unattended updates keep appending to history.log and term.log, so /var/log can quietly consume disk space until you notice low-space warnings during package installs or system updates
  • Large rotated APT logs make log searches and support triage slower, so commands like grep or less over /var/log/apt feel sluggish when you are trying to inspect a recent package change
  • On small root partitions, accumulated .gz log archives under /var/log/apt contribute to full-disk conditions that show up as apt failing with write errors or refusing to continue an upgrade
  • Verbose dpkg and maintainer-script output in term.log can expose old package operations you no longer need, and cleaning removes that historical clutter while leaving the actual packages and configuration intact
  • If you only need current package state from dpkg and apt metadata, keeping years of transaction logs adds disk usage without improving package management, and the symptom is a larger-than-expected /var/log/apt directory
  • Old compressed logs are not used by APT to resolve dependencies or verify installed software, so removing them can reclaim space immediately when a server image or container has grown from frequent patch cycles
What gets cleaned

Cache paths Kudu targets

Linux

/var/log/apt
Frequently asked

Common questions about APT Logs

Free & open source

Download Kudu and reclaim your disk space.

Available on Windows, macOS, and Linux. No account required, no feature gates, no telemetry without consent. All cleaning targets are open source and community-auditable.