You can use apt-revert from Salsa (https://salsa.debian.org/PatH/apt-revert) to view the history.
Kind regards Patrick On Mon, 20 Feb 2017 06:25:47 +0530 =?UTF-8?B?c2hpcmlzaCDgpLbgpL/gpLDgpYDgpLc=? = <shirisha...@gmail.com> wrote: > Package: apt > Version: 1.4~rc1 > Severity: wishlist > > Dear Maintainer, > > Looking at apt --help it gives the following options - > > [$] apt --help > > apt 1.4~rc1 (amd64) > Usage: apt [options] command > > apt is a commandline package manager and provides commands for > searching and managing as well as querying information about packages. > It provides the same functionality as the specialized APT tools, like > apt-get and apt-cache, but enables options more suitable for > interactive use by default. > > Most used commands: > list - list packages based on package names > search - search in package descriptions > show - show package details > install - install packages > remove - remove packages > autoremove - Remove automatically all unused packages > update - update list of available packages > upgrade - upgrade the system by installing/upgrading packages > full-upgrade - upgrade the system by removing/installing/upgrading packages > edit-sources - edit the source information file > > See apt(8) for more information about the available commands. > Configuration options and syntax is detailed in apt.conf(5). > Information about how to configure sources can be found in sources.list(5). > Package and version choices can be expressed via apt_preferences(5). > Security details are available in apt-secure(8). > This APT has Super Cow Powers. > > While all the above options are good, one option which is missing and > should be there is $ apt history which gives an output from > > Doing a less /var/log/apt/history.log gives the following - > > Start-Date: 2017-02-20 05:07:11 > Requested-By: shirish (1000) > Upgrade: libmpx0:amd64 (5.4.1-4, 5.4.1-5), libgcj16:amd64 (5.4.1-4, > 5.4.1-5), libgcc-5-dev:amd64 (5.4.1-4, 5.4.1-5), > gcj-5-jre-headless:amd64 (5.4.1-4, 5.4.1-5), cpp-5:amd64 (5.4.1-4, > 5.4.1-5), binutils:amd64 (2.27.90.20170124-2, 2.27.90.20170218-1), > libgcj16-awt:amd64 (5.4.1-4, 5.4.1-5), gcj-5-jre:amd64 (5.4.1-4, > 5.4.1-5), libgfortran-5-dev:amd64 (5.4.1-4, 5.4.1-5), libasan2:amd64 > (5.4.1-4, 5.4.1-5), gcc-5-base:amd64 (5.4.1-4, 5.4.1-5), > gcj-5-jre-lib:amd64 (5.4.1-4, 5.4.1-5), libstdc++-5-dev:amd64 > (5.4.1-4, 5.4.1-5), g++-5:amd64 (5.4.1-4, 5.4.1-5), gcc-5:amd64 > (5.4.1-4, 5.4.1-5), gfortran-5:amd64 (5.4.1-4, 5.4.1-5) > End-Date: 2017-02-20 05:08:44 > > Now as can be seen from the excerpt I took from /var/log/apt/history.log > > Would be nice if the output could be prettifed, means no package
signature.asc
Description: This is a digitally signed message part.