mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-10 02:27:45 +02:00
package-manager: new error added is marginal trust
This commit is contained in:
parent
01aee89e94
commit
78d1d415ec
@ -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…
x
Reference in New Issue
Block a user