m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2021-12-09 23:19:41 +0100
committerMarcin Chrzanowski <m@m-chrzan.xyz>2021-12-09 23:19:41 +0100
commit02774ddc7bc0576aa3972bd71d598a449aba66d7 (patch)
tree69f740fa7fe8f9274603136b0da49926d607cdaa
parentb4d1aead77932bd53f09bd609ab6c69d9c1991fe (diff)
Add pacman troubleshooting
-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)