On 16/11/2025 11:41, kamaraju kusumanchi wrote:
How to dump the changelog displayed when running the command sudo apt-get upgrade into a file without actually upgrading the packages?
Do you mean set of records extracted from NEWS.Debian (and maybe changelog.Debian) files by apt-listchanges after packages are downloaded before decision to continue upgrade? In my case they are shown by pager, less(1) is almost default. See its man page. E.g. you can use "v" command to open text in "visual" editor and save it with another name. See apt-listchange docs for its configuration options.