On 23/09/2026 19:39, [email protected] wrote:
Hi all,
Is there a way to uninstall all the packages and *all* of their dependencies
installed after a certain data?
If you're running apt version 3.1.7 or newer, try:
$ apt history-list
And then
$ apt history-rollback ID
where "ID" is the ID of the point you want to rollback TO (i.e.
everything newer than ID will be undone, but ID will be kept).
There is also
$ apt history-undo ID
If you just want to undo one ID in isolation. And, no, you're not
imagining things, none of this is documented in the man page, so I'd try
it in isolation a bit before you rely on it.