m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/pacman.md
diff options
context:
space:
mode:
Diffstat (limited to 'pacman.md')
-rw-r--r--pacman.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/pacman.md b/pacman.md
index 93c13b2..5c0350f 100644
--- a/pacman.md
+++ b/pacman.md
@@ -3,3 +3,13 @@
## Downgrade cached package
pacman -U /var/cache/pacman/pkg/package-version...
+
+## Cleaning cache
+
+ paccache -r
+
+* `-k`: how many past versions of each package to keep, defaults to 3.
+* `-u`: target only uninstalled packages.
+
+ # remove all versions of uninstalled packages
+ paccache -ruk0