Arch-Linux
包含 Arch Linux 中最後安裝/升級的軟體包的列表
如何獲取包含時間戳在內的 Arch Linux最後安裝
pacman
/升級的軟體包列表?yaourt
要獲取最後安裝的軟體包列表,您可以執行:
grep -i installed /var/log/pacman.log
最後安裝的軟體包的範例輸出:
[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)
要獲取上次升級包的列表,您可以執行:
grep -i upgraded /var/log/pacman.log
上次升級包的範例輸出:
[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)
要獲取最後安裝或升級的軟體包列表,您可以執行:
grep -iE 'installed|upgraded' /var/log/pacman.log
上次升級包的範例輸出:
[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)