List that contains the last installed / upgraded packages in Arch Linux

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
8
down vote

favorite
6












How can I get a list of packages, that last installed / upgraded by pacman / yaourt in Arch Linux including the timestamp?










share|improve this question



























    up vote
    8
    down vote

    favorite
    6












    How can I get a list of packages, that last installed / upgraded by pacman / yaourt in Arch Linux including the timestamp?










    share|improve this question

























      up vote
      8
      down vote

      favorite
      6









      up vote
      8
      down vote

      favorite
      6






      6





      How can I get a list of packages, that last installed / upgraded by pacman / yaourt in Arch Linux including the timestamp?










      share|improve this question















      How can I get a list of packages, that last installed / upgraded by pacman / yaourt in Arch Linux including the timestamp?







      arch-linux package-management logs pacman






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 27 '15 at 16:23

























      asked Aug 27 '15 at 16:12









      BuZZ-dEE

      4471416




      4471416




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          15
          down vote



          accepted










          To get a list of last installed packages, you can run:



          grep -i installed /var/log/pacman.log


          Example output of last installed packages:



          [2015-08-24 15:32] [ALPM] warning: /etc/pamac.conf installed as /etc/pamac.conf.pacnew
          [2015-08-24 15:32] [ALPM] installed python-packaging (15.3-1)
          [2015-08-24 15:32] [ALPM] installed python2-packaging (15.3-1)
          [2015-08-25 10:37] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-25 10:43] [ALPM] installed ttf-google-fonts (20150805.r201-1)
          [2015-08-25 10:44] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-26 17:39] [ALPM] installed mozilla-extension-gnome-keyring-git (0.10.r36.378d9f3-1)


          To get a list of last upgraded packages, you can run:



          grep -i upgraded /var/log/pacman.log


          Example output of last upgraded packages:



          [2015-08-27 10:00] [ALPM] upgraded libinput (0.99.1-1 -> 1.0.0-1)
          [2015-08-27 10:00] [ALPM] upgraded python2-mako (1.0.1-1 -> 1.0.2-1)
          [2015-08-27 16:03] [ALPM] upgraded tdb (1.3.6-1 -> 1.3.7-1)
          [2015-08-27 16:03] [ALPM] upgraded ldb (1.1.20-1 -> 1.1.21-1)
          [2015-08-27 16:03] [ALPM] upgraded python2-mako (1.0.2-1 -> 1.0.2-2)


          To get a list of last installed or upgraded packages, you can run:



          grep -iE 'installed|upgraded' /var/log/pacman.log


          Example output of last upgraded packages:



          [2015-08-25 09:56] [ALPM] upgraded jdk (8u51-2 -> 8u60-1)
          [2015-08-25 10:37] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-25 10:43] [ALPM] installed ttf-google-fonts (20150805.r201-1)
          [2015-08-25 10:44] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-26 17:39] [ALPM] installed mozilla-extension-gnome-keyring-git (0.10.r36.378d9f3-1)
          [2015-08-27 10:00] [ALPM] upgraded curl (7.43.0-1 -> 7.44.0-1)
          [2015-08-27 10:00] [ALPM] upgraded gc (7.4.2-2 -> 7.4.2-3)
          [2015-08-27 10:00] [ALPM] upgraded kmod (21-1 -> 21-2)
          [2015-08-27 10:00] [ALPM] upgraded libinput (0.99.1-1 -> 1.0.0-1)
          [2015-08-27 10:00] [ALPM] upgraded python2-mako (1.0.1-1 -> 1.0.2-1)
          [2015-08-27 16:03] [ALPM] upgraded tdb (1.3.6-1 -> 1.3.7-1)
          [2015-08-27 16:03] [ALPM] upgraded ldb (1.1.20-1 -> 1.1.21-1)
          [2015-08-27 16:03] [ALPM] upgraded python2-mako (1.0.2-1 -> 1.0.2-2)





          share|improve this answer


















          • 1




            You'll have to define the meaning of "last" as this definitely doesn't list only "the last installed/upgraded packages". It lists pretty much everything... so either fix the question or the answer (or both).
            – don_crissti
            Aug 27 '15 at 16:18










          • Yes correct, but it does want I want. I can see the last installed / upgraded packages.
            – BuZZ-dEE
            Aug 27 '15 at 16:21






          • 1




            Might I recommend using tail at the end of the pipeline to get the last (10 by-default) n messages?
            – HalosGhost
            Aug 28 '15 at 12:27










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f225902%2flist-that-contains-the-last-installed-upgraded-packages-in-arch-linux%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          15
          down vote



          accepted










          To get a list of last installed packages, you can run:



          grep -i installed /var/log/pacman.log


          Example output of last installed packages:



          [2015-08-24 15:32] [ALPM] warning: /etc/pamac.conf installed as /etc/pamac.conf.pacnew
          [2015-08-24 15:32] [ALPM] installed python-packaging (15.3-1)
          [2015-08-24 15:32] [ALPM] installed python2-packaging (15.3-1)
          [2015-08-25 10:37] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-25 10:43] [ALPM] installed ttf-google-fonts (20150805.r201-1)
          [2015-08-25 10:44] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-26 17:39] [ALPM] installed mozilla-extension-gnome-keyring-git (0.10.r36.378d9f3-1)


          To get a list of last upgraded packages, you can run:



          grep -i upgraded /var/log/pacman.log


          Example output of last upgraded packages:



          [2015-08-27 10:00] [ALPM] upgraded libinput (0.99.1-1 -> 1.0.0-1)
          [2015-08-27 10:00] [ALPM] upgraded python2-mako (1.0.1-1 -> 1.0.2-1)
          [2015-08-27 16:03] [ALPM] upgraded tdb (1.3.6-1 -> 1.3.7-1)
          [2015-08-27 16:03] [ALPM] upgraded ldb (1.1.20-1 -> 1.1.21-1)
          [2015-08-27 16:03] [ALPM] upgraded python2-mako (1.0.2-1 -> 1.0.2-2)


          To get a list of last installed or upgraded packages, you can run:



          grep -iE 'installed|upgraded' /var/log/pacman.log


          Example output of last upgraded packages:



          [2015-08-25 09:56] [ALPM] upgraded jdk (8u51-2 -> 8u60-1)
          [2015-08-25 10:37] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-25 10:43] [ALPM] installed ttf-google-fonts (20150805.r201-1)
          [2015-08-25 10:44] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-26 17:39] [ALPM] installed mozilla-extension-gnome-keyring-git (0.10.r36.378d9f3-1)
          [2015-08-27 10:00] [ALPM] upgraded curl (7.43.0-1 -> 7.44.0-1)
          [2015-08-27 10:00] [ALPM] upgraded gc (7.4.2-2 -> 7.4.2-3)
          [2015-08-27 10:00] [ALPM] upgraded kmod (21-1 -> 21-2)
          [2015-08-27 10:00] [ALPM] upgraded libinput (0.99.1-1 -> 1.0.0-1)
          [2015-08-27 10:00] [ALPM] upgraded python2-mako (1.0.1-1 -> 1.0.2-1)
          [2015-08-27 16:03] [ALPM] upgraded tdb (1.3.6-1 -> 1.3.7-1)
          [2015-08-27 16:03] [ALPM] upgraded ldb (1.1.20-1 -> 1.1.21-1)
          [2015-08-27 16:03] [ALPM] upgraded python2-mako (1.0.2-1 -> 1.0.2-2)





          share|improve this answer


















          • 1




            You'll have to define the meaning of "last" as this definitely doesn't list only "the last installed/upgraded packages". It lists pretty much everything... so either fix the question or the answer (or both).
            – don_crissti
            Aug 27 '15 at 16:18










          • Yes correct, but it does want I want. I can see the last installed / upgraded packages.
            – BuZZ-dEE
            Aug 27 '15 at 16:21






          • 1




            Might I recommend using tail at the end of the pipeline to get the last (10 by-default) n messages?
            – HalosGhost
            Aug 28 '15 at 12:27














          up vote
          15
          down vote



          accepted










          To get a list of last installed packages, you can run:



          grep -i installed /var/log/pacman.log


          Example output of last installed packages:



          [2015-08-24 15:32] [ALPM] warning: /etc/pamac.conf installed as /etc/pamac.conf.pacnew
          [2015-08-24 15:32] [ALPM] installed python-packaging (15.3-1)
          [2015-08-24 15:32] [ALPM] installed python2-packaging (15.3-1)
          [2015-08-25 10:37] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-25 10:43] [ALPM] installed ttf-google-fonts (20150805.r201-1)
          [2015-08-25 10:44] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-26 17:39] [ALPM] installed mozilla-extension-gnome-keyring-git (0.10.r36.378d9f3-1)


          To get a list of last upgraded packages, you can run:



          grep -i upgraded /var/log/pacman.log


          Example output of last upgraded packages:



          [2015-08-27 10:00] [ALPM] upgraded libinput (0.99.1-1 -> 1.0.0-1)
          [2015-08-27 10:00] [ALPM] upgraded python2-mako (1.0.1-1 -> 1.0.2-1)
          [2015-08-27 16:03] [ALPM] upgraded tdb (1.3.6-1 -> 1.3.7-1)
          [2015-08-27 16:03] [ALPM] upgraded ldb (1.1.20-1 -> 1.1.21-1)
          [2015-08-27 16:03] [ALPM] upgraded python2-mako (1.0.2-1 -> 1.0.2-2)


          To get a list of last installed or upgraded packages, you can run:



          grep -iE 'installed|upgraded' /var/log/pacman.log


          Example output of last upgraded packages:



          [2015-08-25 09:56] [ALPM] upgraded jdk (8u51-2 -> 8u60-1)
          [2015-08-25 10:37] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-25 10:43] [ALPM] installed ttf-google-fonts (20150805.r201-1)
          [2015-08-25 10:44] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-26 17:39] [ALPM] installed mozilla-extension-gnome-keyring-git (0.10.r36.378d9f3-1)
          [2015-08-27 10:00] [ALPM] upgraded curl (7.43.0-1 -> 7.44.0-1)
          [2015-08-27 10:00] [ALPM] upgraded gc (7.4.2-2 -> 7.4.2-3)
          [2015-08-27 10:00] [ALPM] upgraded kmod (21-1 -> 21-2)
          [2015-08-27 10:00] [ALPM] upgraded libinput (0.99.1-1 -> 1.0.0-1)
          [2015-08-27 10:00] [ALPM] upgraded python2-mako (1.0.1-1 -> 1.0.2-1)
          [2015-08-27 16:03] [ALPM] upgraded tdb (1.3.6-1 -> 1.3.7-1)
          [2015-08-27 16:03] [ALPM] upgraded ldb (1.1.20-1 -> 1.1.21-1)
          [2015-08-27 16:03] [ALPM] upgraded python2-mako (1.0.2-1 -> 1.0.2-2)





          share|improve this answer


















          • 1




            You'll have to define the meaning of "last" as this definitely doesn't list only "the last installed/upgraded packages". It lists pretty much everything... so either fix the question or the answer (or both).
            – don_crissti
            Aug 27 '15 at 16:18










          • Yes correct, but it does want I want. I can see the last installed / upgraded packages.
            – BuZZ-dEE
            Aug 27 '15 at 16:21






          • 1




            Might I recommend using tail at the end of the pipeline to get the last (10 by-default) n messages?
            – HalosGhost
            Aug 28 '15 at 12:27












          up vote
          15
          down vote



          accepted







          up vote
          15
          down vote



          accepted






          To get a list of last installed packages, you can run:



          grep -i installed /var/log/pacman.log


          Example output of last installed packages:



          [2015-08-24 15:32] [ALPM] warning: /etc/pamac.conf installed as /etc/pamac.conf.pacnew
          [2015-08-24 15:32] [ALPM] installed python-packaging (15.3-1)
          [2015-08-24 15:32] [ALPM] installed python2-packaging (15.3-1)
          [2015-08-25 10:37] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-25 10:43] [ALPM] installed ttf-google-fonts (20150805.r201-1)
          [2015-08-25 10:44] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-26 17:39] [ALPM] installed mozilla-extension-gnome-keyring-git (0.10.r36.378d9f3-1)


          To get a list of last upgraded packages, you can run:



          grep -i upgraded /var/log/pacman.log


          Example output of last upgraded packages:



          [2015-08-27 10:00] [ALPM] upgraded libinput (0.99.1-1 -> 1.0.0-1)
          [2015-08-27 10:00] [ALPM] upgraded python2-mako (1.0.1-1 -> 1.0.2-1)
          [2015-08-27 16:03] [ALPM] upgraded tdb (1.3.6-1 -> 1.3.7-1)
          [2015-08-27 16:03] [ALPM] upgraded ldb (1.1.20-1 -> 1.1.21-1)
          [2015-08-27 16:03] [ALPM] upgraded python2-mako (1.0.2-1 -> 1.0.2-2)


          To get a list of last installed or upgraded packages, you can run:



          grep -iE 'installed|upgraded' /var/log/pacman.log


          Example output of last upgraded packages:



          [2015-08-25 09:56] [ALPM] upgraded jdk (8u51-2 -> 8u60-1)
          [2015-08-25 10:37] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-25 10:43] [ALPM] installed ttf-google-fonts (20150805.r201-1)
          [2015-08-25 10:44] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-26 17:39] [ALPM] installed mozilla-extension-gnome-keyring-git (0.10.r36.378d9f3-1)
          [2015-08-27 10:00] [ALPM] upgraded curl (7.43.0-1 -> 7.44.0-1)
          [2015-08-27 10:00] [ALPM] upgraded gc (7.4.2-2 -> 7.4.2-3)
          [2015-08-27 10:00] [ALPM] upgraded kmod (21-1 -> 21-2)
          [2015-08-27 10:00] [ALPM] upgraded libinput (0.99.1-1 -> 1.0.0-1)
          [2015-08-27 10:00] [ALPM] upgraded python2-mako (1.0.1-1 -> 1.0.2-1)
          [2015-08-27 16:03] [ALPM] upgraded tdb (1.3.6-1 -> 1.3.7-1)
          [2015-08-27 16:03] [ALPM] upgraded ldb (1.1.20-1 -> 1.1.21-1)
          [2015-08-27 16:03] [ALPM] upgraded python2-mako (1.0.2-1 -> 1.0.2-2)





          share|improve this answer














          To get a list of last installed packages, you can run:



          grep -i installed /var/log/pacman.log


          Example output of last installed packages:



          [2015-08-24 15:32] [ALPM] warning: /etc/pamac.conf installed as /etc/pamac.conf.pacnew
          [2015-08-24 15:32] [ALPM] installed python-packaging (15.3-1)
          [2015-08-24 15:32] [ALPM] installed python2-packaging (15.3-1)
          [2015-08-25 10:37] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-25 10:43] [ALPM] installed ttf-google-fonts (20150805.r201-1)
          [2015-08-25 10:44] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-26 17:39] [ALPM] installed mozilla-extension-gnome-keyring-git (0.10.r36.378d9f3-1)


          To get a list of last upgraded packages, you can run:



          grep -i upgraded /var/log/pacman.log


          Example output of last upgraded packages:



          [2015-08-27 10:00] [ALPM] upgraded libinput (0.99.1-1 -> 1.0.0-1)
          [2015-08-27 10:00] [ALPM] upgraded python2-mako (1.0.1-1 -> 1.0.2-1)
          [2015-08-27 16:03] [ALPM] upgraded tdb (1.3.6-1 -> 1.3.7-1)
          [2015-08-27 16:03] [ALPM] upgraded ldb (1.1.20-1 -> 1.1.21-1)
          [2015-08-27 16:03] [ALPM] upgraded python2-mako (1.0.2-1 -> 1.0.2-2)


          To get a list of last installed or upgraded packages, you can run:



          grep -iE 'installed|upgraded' /var/log/pacman.log


          Example output of last upgraded packages:



          [2015-08-25 09:56] [ALPM] upgraded jdk (8u51-2 -> 8u60-1)
          [2015-08-25 10:37] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-25 10:43] [ALPM] installed ttf-google-fonts (20150805.r201-1)
          [2015-08-25 10:44] [ALPM] installed ttf-ubuntu-font-family (0.80-5)
          [2015-08-26 17:39] [ALPM] installed mozilla-extension-gnome-keyring-git (0.10.r36.378d9f3-1)
          [2015-08-27 10:00] [ALPM] upgraded curl (7.43.0-1 -> 7.44.0-1)
          [2015-08-27 10:00] [ALPM] upgraded gc (7.4.2-2 -> 7.4.2-3)
          [2015-08-27 10:00] [ALPM] upgraded kmod (21-1 -> 21-2)
          [2015-08-27 10:00] [ALPM] upgraded libinput (0.99.1-1 -> 1.0.0-1)
          [2015-08-27 10:00] [ALPM] upgraded python2-mako (1.0.1-1 -> 1.0.2-1)
          [2015-08-27 16:03] [ALPM] upgraded tdb (1.3.6-1 -> 1.3.7-1)
          [2015-08-27 16:03] [ALPM] upgraded ldb (1.1.20-1 -> 1.1.21-1)
          [2015-08-27 16:03] [ALPM] upgraded python2-mako (1.0.2-1 -> 1.0.2-2)






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 11 mins ago









          user60561

          1333




          1333










          answered Aug 27 '15 at 16:12









          BuZZ-dEE

          4471416




          4471416







          • 1




            You'll have to define the meaning of "last" as this definitely doesn't list only "the last installed/upgraded packages". It lists pretty much everything... so either fix the question or the answer (or both).
            – don_crissti
            Aug 27 '15 at 16:18










          • Yes correct, but it does want I want. I can see the last installed / upgraded packages.
            – BuZZ-dEE
            Aug 27 '15 at 16:21






          • 1




            Might I recommend using tail at the end of the pipeline to get the last (10 by-default) n messages?
            – HalosGhost
            Aug 28 '15 at 12:27












          • 1




            You'll have to define the meaning of "last" as this definitely doesn't list only "the last installed/upgraded packages". It lists pretty much everything... so either fix the question or the answer (or both).
            – don_crissti
            Aug 27 '15 at 16:18










          • Yes correct, but it does want I want. I can see the last installed / upgraded packages.
            – BuZZ-dEE
            Aug 27 '15 at 16:21






          • 1




            Might I recommend using tail at the end of the pipeline to get the last (10 by-default) n messages?
            – HalosGhost
            Aug 28 '15 at 12:27







          1




          1




          You'll have to define the meaning of "last" as this definitely doesn't list only "the last installed/upgraded packages". It lists pretty much everything... so either fix the question or the answer (or both).
          – don_crissti
          Aug 27 '15 at 16:18




          You'll have to define the meaning of "last" as this definitely doesn't list only "the last installed/upgraded packages". It lists pretty much everything... so either fix the question or the answer (or both).
          – don_crissti
          Aug 27 '15 at 16:18












          Yes correct, but it does want I want. I can see the last installed / upgraded packages.
          – BuZZ-dEE
          Aug 27 '15 at 16:21




          Yes correct, but it does want I want. I can see the last installed / upgraded packages.
          – BuZZ-dEE
          Aug 27 '15 at 16:21




          1




          1




          Might I recommend using tail at the end of the pipeline to get the last (10 by-default) n messages?
          – HalosGhost
          Aug 28 '15 at 12:27




          Might I recommend using tail at the end of the pipeline to get the last (10 by-default) n messages?
          – HalosGhost
          Aug 28 '15 at 12:27

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f225902%2flist-that-contains-the-last-installed-upgraded-packages-in-arch-linux%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay