summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/articles/pacman-essentials.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/content/articles/pacman-essentials.md b/content/articles/pacman-essentials.md
index 42c84dc..885cb1c 100644
--- a/content/articles/pacman-essentials.md
+++ b/content/articles/pacman-essentials.md
@@ -25,6 +25,15 @@ It runs interactively which means that questions should be answered by the user
with pressing `y` or `n` followed by the `Enter` key. The default option (the
bigger letter in `[Y/n]` or `[y/N]`) is a good option in most cases.
+If this fails because of errors related to signing keys and GPG it can be fixed
+by running this command:
+
+```
+sudo pacman -Sy archlinux-keyring && sudo pacman -Su
+```
+
+This error can be avoided by updating the system regularly.
+
#### Package search
One can search for existing packages with this command:
@@ -51,6 +60,9 @@ sudo pacman -S <package>
`<package>` should be replaced by the lower case package name found with the
package search (see above) like `firefox` or `gimp`.
+If this fails because the packages cannot be retrieved via the HTTP protocol
+the error can be fixed by updating the whole system first as described above.
+
#### Package removal
The recommended command to remove one or multiple packages is: