LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

paclog

filters and displays entries from the pacman log file

TLDR

Show the whole pacman log
$ paclog
copy
Read a different log file
$ paclog --log [path/to/pacman.log]
copy
Show only the pacman commands that were run
$ paclog --commandline
copy
Show everything that happened to one package
$ paclog --package [package_name]
copy
Show only installations
$ paclog --action install
copy
Show only removals
$ paclog --action remove
copy
Show only errors, warnings and notes
$ paclog --warnings
copy
Limit the output to entries after a date
$ paclog --after [2026-01-01]
copy
Limit the output to entries before a date
$ paclog --before [2026-06-01]
copy
Filter the log with a regular expression
$ paclog --grep [pattern]
copy
Reconstruct the installed package list from the log
$ paclog --pkglist
copy

SYNOPSIS

paclog [options]

DESCRIPTION

paclog filters and displays entries from the pacman log file (/var/log/pacman.log). It provides structured access to package management history, making it easy to see when packages were installed, upgraded, or removed.Part of the pacutils collection, paclog can filter by package name, action type, date range, or severity level. This is useful for troubleshooting system issues by reviewing recent package changes or tracking the history of a specific package.The --pkglist option reconstructs the current installed package list by replaying the log, useful for verification or recovery scenarios.

PARAMETERS

--commandline

Show command-line entries from log
--package _name_
Filter entries for a specific package
--action _type_
Filter by action: install, reinstall, upgrade, downgrade, remove, all
--warnings
Show only warnings, errors, and notes
--pkglist
List packages that are currently installed according to log
--after _date_
Show entries after specified date
--before _date_
Show entries before specified date
--logfile _file_
Use alternate log file
--help
Display help information
--version
Display version information

CAVEATS

Depends on an intact pacman.log file. Log rotation or clearing will lose historical data. Part of the pacutils package (not installed by default on Arch). Date parsing requires specific formats.

SEE ALSO

pacman(8), pactree(8), pacsift(1), pacinfo(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid