Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Dec 2, 2016

README.md

Build Status

apt-rollback

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.

Installation

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.

Dependencies

  • python 3.5+
  • Debian: packages are downloaded from http://snapshot.debian.org/ which only keeps track of Debian packages. Supporting other distros could be possible without much trouble though.

About

Reverts all package operations up to some specific timestamp

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.