From 28b40ea5108b6fb70cda5487e8bfb46db71dc4b8 Mon Sep 17 00:00:00 2001 From: tiyn Date: Thu, 30 Dec 2021 15:23:41 +0100 Subject: [PATCH] arch package manager: added importing and trusting keys --- wiki/linux/arch-linux/package-manager.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/wiki/linux/arch-linux/package-manager.md b/wiki/linux/arch-linux/package-manager.md index 73caee7..ddfbab1 100644 --- a/wiki/linux/arch-linux/package-manager.md +++ b/wiki/linux/arch-linux/package-manager.md @@ -18,3 +18,18 @@ right package. It is possible that it runs into errors when importing new keys. If this happens you should try to restart your gpg key server with `gpgconf --kill all`. + +### Unknown public key + +If the error `ERROR: One or more PGP signatures could not be verified!`, you +have to manually receive the key and trust it. +This is done by running the following lines: + +```sh +gpg --recv-key +gpg --lsign +``` + +Where is the placeholder of the identification string of the key. +It usually gets gets printed in the line above the error looking like +`FAILED (unknown public key )`.