m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pacman.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/pacman.md b/pacman.md
index 5c0350f..45d101e 100644
--- a/pacman.md
+++ b/pacman.md
@@ -13,3 +13,16 @@
# remove all versions of uninstalled packages
paccache -ruk0
+
+## Troubleshooting failed installations
+
+Usually enough to update keyring:
+
+ pacman -Sy archlinux-keyring
+
+Might need to update mirrorlist first if outdated:
+
+ sudo pacman -Sy pacman-mirrorlist
+
+(this might put it in /etc/pacman.d/mirrorlist.pacnew, uncomment wanted mirrors
+there and remove the .pacnew suffix)