Reverts all package operations up to some specific timestamp
Upgraded some packages and something broke? You’re not alone.
This tool will revert all package operations on an apt-based system back to a specific time that you provide. It retrieves action logs from dpkg logs, so it doesn’t matter if you use apt, aptitude, synaptic or other tools.
This is a simple, self-contained python3 script with no extra dependencies. If you have python3 (3.5+ particularly) you’re good to go, just download the script, give it execution permissions and read its help with ./apt-rollback.py -h
.