Forum › Forums › General › Tips and Tricks › apt-listchanges utility (displays package “NEWS” and “CHANGELOG” content)
- This topic has 0 replies, 1 voice, and was last updated Nov 9-5:34 pm by iznit.
- AuthorPosts
- November 9, 2023 at 5:34 pm #123019Member
iznit
Hi, this topic is inspired by @sybok post over here: https://www.antixforum.com/forums/topic/new-features-in-antix/
sudo apt install apt-listchanges
The tool apt-listchanges can compare a new version of a package with the one currently installed and show what has been changed, by extracting the relevant entries from the Debian changelog and NEWS files.
It can be run on several .deb archives at a time to get a list of all changes that would be caused by installing or upgrading a group of packages. When configured as an APT plugin it will do this automatically during upgrades.
It defaults to only showing new “CHANGELOG” entries for each to-be-upgraded file during each apt upgrade operation, but you can configure it to additionally display the “NEWS” file, if if such is provided, for each of the upgradeable packages. You can also use it to manually compare {{{diff}}} the NEWS and CHANGELOG content in differing versions of a package.
Here is the manpage. Read about the -a and -c and further command line options
https://manpages.debian.org/testing/apt-listchanges/apt-listchanges.1.en.html - AuthorPosts
- You must be logged in to reply to this topic.