Recover installed packages for pacman.log
This commit is contained in:
parent
c632e7e76e
commit
9c7cc94083
1 changed files with 2 additions and 0 deletions
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…
Reference in a new issue