package-manager: new error added is marginal trust

master
marten 2 years ago committed by GitHub
parent 01aee89e94
commit 78d1d415ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,3 +33,18 @@ gpg --lsign <KEYID>
Where <KEYID> is the placeholder of the identification string of the key. Where <KEYID> is the placeholder of the identification string of the key.
It usually gets gets printed in the line above the error looking like It usually gets gets printed in the line above the error looking like
`FAILED (unknown public key <KEYID>)`. `FAILED (unknown public key <KEYID>)`.
### Error while updating `is marginal trust`
Both `yay` and `pacman` use gpg keys to confirm the package manager gets the
right package.
It is possible that it runs into errors when importing new keys.
If the error `[...] Key [...] is marginal trust` occurs while updating the
system, it can be fixed by running the following commands and then restarting
the update process of the package manager.
```sh
pacman -Sy archlinux-keyring
pacman-key --populate archlinux
pacman-key --refresh-keys
```

Loading…
Cancel
Save