I don't know if it is common knowledge, but RPM has support for rollbacking to a previous installation after performing an upgrade (which breaks something for instance). You can pass rpm the *[--repackage](http://www.linuxjournal.com/article/7034)* flag to generate a bunch of RPMs of files currently installed that it is going to change. You can then afterwards say "*rpm -Uvh --rollback '2 hours ago'*" and rollback your machine effortlessly to as it was 2 hours ago.

My question is, has anyone found something similar in Debian-based distros?