Browse Source

Recover installed packages for pacman.log

master
lhark 6 years ago
parent
commit
9c7cc94083
  1. 2
      how_to

2
how_to

@ -51,6 +51,8 @@ pacman :
-Rns <> Remove program, its unused dependencies, and config files -Rns <> Remove program, its unused dependencies, and config files
-Qi <> Package information -Qi <> Package information
-Fo <file> Which package the file belongs to -Fo <file> Which package the file belongs to
Recover installed packages from /var/log/pacman.log
(awk '$3 ~ /installed/{print $4}' /var/log/pacman.log | sort | uniq; sed -En 's@.*/home/lhark/aur/(.*)/.*@\1@p' /var/log/pacman.log) | sort | uniq -u > package-list
ABS : (Arch Build System) ABS : (Arch Build System)
pacman -S abs pacman -S abs

Loading…
Cancel
Save