diff options
author | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-12-09 23:19:41 +0100 |
---|---|---|
committer | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-12-09 23:19:41 +0100 |
commit | 02774ddc7bc0576aa3972bd71d598a449aba66d7 (patch) | |
tree | 69f740fa7fe8f9274603136b0da49926d607cdaa | |
parent | b4d1aead77932bd53f09bd609ab6c69d9c1991fe (diff) |
Add pacman troubleshooting
-rw-r--r-- | pacman.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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) |