Results 1 to 4 of 4

Thread: How to find programs that has just been uninstalled

  1. #1
    Join Date
    Sep 2015
    Beans
    19

    How to find programs that has just been uninstalled

    Hi,

    Sorry for the dumb question, but what is the command in terminal to list packages or programs that I have uninstalled recently? I used apt-get autoremove and I have a problem now.

    So how to list programs removed by apt-get autoremove?

    thx

  2. #2
    Join Date
    Dec 2007
    Beans
    12,533

    Re: How to find programs that has just been uninstalled

    Go through /var/log/apt/history.log or /var/log/apt/history.log.1.gz (in case the former doesn't have what you want).
    Last edited by vasa1; March 1st, 2018 at 02:25 PM.

  3. #3
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: How to find programs that has just been uninstalled

    Also try running command
    Code:
    grep -i " remove " /var/log/dpkg.log.1 /var/log/dpkg.log
    which will list all packages removed recently in date order.
    Note the spaces between the quote marks and the word remove; they are needed for best output as without the space you may get a lot of spurious output, particularly if using the install option (see below).

    If you wish you can reinstall all of them, or show us the list and ask for further help.

    That command is useful as a quick way to find out what packages have been added as well if you simply replace the word remove with install.

  4. #4
    Join Date
    Dec 2007
    Beans
    12,533

    Re: How to find programs that has just been uninstalled

    The history log has stuff like
    Code:
    Start-Date: 2018-02-25  15:38:39
    Commandline: apt-get autoremove
    Requested-By: vasa1 (1001)
    Remove: libboost-locale1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1), fonts-liberation2:amd64 (2.00.1-5~16.04.1~lo4)
    End-Date: 2018-02-25  15:38:41
    where autoremove is explicitly mentioned.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •