项目作者: lufte

项目描述 :
Reverts all package operations up to some specific timestamp
高级语言: Python
项目地址: git://github.com/lufte/apt-rollback.git
创建时间: 2016-12-02T13:40:38Z
项目社区:https://github.com/lufte/apt-rollback

开源协议:GNU General Public License v3.0

下载


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.