From 02774ddc7bc0576aa3972bd71d598a449aba66d7 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Thu, 9 Dec 2021 23:19:41 +0100 Subject: Add pacman troubleshooting --- pacman.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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) -- cgit v1.2.3