apt-log is a command-line tool that offers a user-friendly display and convenient filtering for APT package logs.
The package also contains a Python module that provides a parser and high-level interface to APT package logs.
Requires Python version 3.11 or higher and pip.
pip install apt-logExpore the entire history
apt-log list-
by time range:
apt-log list -s 2023-01-01 -e 2023-01-31
-
by a specific package or multiple packages using glob-style pattern matching:
apt-log list -n python3 apt-log list -n 'python3.*'
Inspect a specific log entry using the assigned ID in the list.
apt-log show 13Note: The IDs are not generated by APT itself but are assigned by apt-log in ascending chronological order. Be aware that any manipulation of APT log files, such as the deletion of old log files, may result in changes to these IDs.
apt-log is distributed under the terms of the MIT License.