Skip to content

Reverts all package operations up to some specific timestamp

License

Notifications You must be signed in to change notification settings

lufte/apt-rollback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages