APT to Gain Native Transaction History Commands

Debian’s Advanced Package Tool is being enhanced with built-in history commands designed to log and expose package transaction details. The proposal, led by Ubuntu and Canonical developer Simon Johnsson, introduces two new subcommands—apt history-list and apt history-info—which will allow users to list past operations and inspect individual changes by transaction ID.

This change aims to remove the need for manual parsing of log files under directories such as /var/log/apt, a process administrators and users have used to trace installs, upgrades or removals. One of the new subcommands, history-list, will display a chronological register of all package transactions. The other, history-info, delivers detailed metadata for a particular transaction, including which packages were involved, versions used, and when and where the action occurred.

The initiative draws clear inspiration from the history feature in DNF, the package manager used in Fedora, Red Hat, and related distributions, already providing similar commands for reviewing and auditing package transactions. Debian and Ubuntu users have long flagged the absence of such functionality in APT as a usability shortcoming.

ADVERTISEMENT

The feature is still undergoing review upstream in the Debian Salsa repository. If approved, it will be merged into the APT source for inclusion in future releases of both Debian and Ubuntu. Developers emphasise that no external tools or scripts will be needed once the subcommands become part of the official toolset.



Notice an issue?

Arabian Post strives to deliver the most accurate and reliable information to its readers. If you believe you have identified an error or inconsistency in this article, please don't hesitate to contact our editorial team at editor[at]thearabianpost[dot]com. We are committed to promptly addressing any concerns and ensuring the highest level of journalistic integrity.


ADVERTISEMENT
Social Media Auto Publish Powered By : XYZScripts.com