On Sun, Nov 16, 2025 at 06:40:25AM +0100, john doe wrote: > On 11/16/25 05: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? > > > > $ apt-get -s upgrade > simulated-upgrade.txt > > Is what you want I guess. >
My attempt to answer the original question without knowing which problem is attempted to solve: script simulated-upgrade.text sudo apt-get --simulate upgrade exit What those three step do * `script` creates a new shell in current terminal and writes all output to (created/overwrite) file `simulated-upgrade.text` * the dry run of the apt upgrade (if it asks for "Continue [y/n]?", say yes) * finish / close of the shell File `simulated-upgrade.text` can reviewed. Groeten Geert Stappers -- Silence is hard to parse

