Given a set of apt
commands and packages to apply (e.g. install foo bar baz
, autoremove quux blerg bang
), is there a way to calculate the diff of the system state that will be produced if I run the commands?
By "system state" I don't merely mean whether a given package will install/remove other packages, but what kinds of actual changes get produced -- files being deleted or moved, scripts getting run, et cetera.