Signature from [email protected] is unknown trust

signature from "Pedro Henrique Lara Campos [email protected]" is unknown trust

Iam Try :

sudo pacman -S archlinux-keyring blackarch-keyring
sudo pacman -Sy
sudo pacman -Syu
sudo pacman -Syyu

this report :

sudo pacman -Syyuu
:: Synchronizing package databases...
core                                  131,3 KiB   170 KiB/s 00:01 [------------------------------------] 100%
extra                                1621,8 KiB   266 KiB/s 00:06 [------------------------------------] 100%
community                               5,5 MiB   392 KiB/s 00:14 [------------------------------------] 100%
multilib                              148,9 KiB   394 KiB/s 00:00 [------------------------------------] 100%
chaotic-aur                           856,9 KiB   558 KiB/s 00:02 [------------------------------------] 100%
blackarch                               3,4 MiB   468 KiB/s 00:07 [------------------------------------] 100%
blackarch.sig                         566,0   B  0,00   B/s 00:00 [------------------------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (9) chaotic-keyring-20210330-1  gtk-update-icon-cache-1:4.2.0-1  latte-dock-git-r5174.a71c2cc9-1
linux-zen-5.11.11.zen1-1  linux-zen-headers-5.11.11.zen1-1  networkmanager-openvpn-1.8.14-1
python-python-pptx-0.6.18-3  responder-3:375.6c51080-2  timeshift-20.11.1+3+g08d0e59-3

Total Download Size:     0,01 MiB
Total Installed Size:  249,88 MiB
Net Upgrade Size:        2,33 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
chaotic-keyring-20210330-1-any          9,5 KiB   679 KiB/s 00:00 [------------------------------------] 100%
(9/9) checking keys in keyring                                     [------------------------------------] 100%
(9/9) checking package integrity                                   [------------------------------------] 100%
error: chaotic-keyring: signature from "Pedro Henrique Lara Campos <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/chaotic-keyring-20210330-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: latte-dock-git: signature from "Pedro Henrique Lara Campos <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/latte-dock-git-r5174.a71c2cc9-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: timeshift: signature from "Pedro Henrique Lara Campos <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/timeshift-20.11.1+3+g08d0e59-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

Solution for this error ?

1 Like
sudo pacman -Sy chaotic-keyring
5 Likes
sudo pacman -Sy chaotic-keyring
[sudo] password for ***:    
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
chaotic-aur is up to date
blackarch is up to date
resolving dependencies...
looking for conflicting packages...

Packages (1) chaotic-keyring-20210330-1

Total Download Size:   0,01 MiB
Total Installed Size:  0,01 MiB
Net Upgrade Size:      0,00 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
chaotic-keyring-20210330-1-any          9,5 KiB  0,00   B/s 00:00 [------------------------------------] 100%
(1/1) checking keys in keyring                                     [------------------------------------] 100%
(1/1) checking package integrity                                   [------------------------------------] 100%
error: chaotic-keyring: signature from "Pedro Henrique Lara Campos <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/chaotic-keyring-20210330-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

#same error

sudo pacman -U https://random-mirror.chaotic.cx/chaotic-aur/x86_64/chaotic-keyring-20201229-1-any.pkg.tar.zst
2 Likes

sudo pacman -U https://random-mirror.chaotic.cx/chaotic-aur/x86_64/chaotic-keyring-20201229-1-any.pkg.tar.zst
[sudo] password for ***:
chaotic-keyring-20201229-1-any 7,1 KiB 1418 KiB/s 00:00 [------------------------------------------------------------] 100%
chaotic-keyring-20201229-1-any.sig 310,0 B 0,00 B/s 00:00 [------------------------------------------------------------] 100%
loading packages...
error: '/var/cache/pacman/pkg/chaotic-keyring-20201229-1-any.pkg.tar.zst': invalid or corrupted package (PGP signature)

Read

please and

:slight_smile:

1 Like
pamac build chaotic-keyring

do not install from repo

3 Likes

Install chaotic-keyring from chaotic-aur ? [y/N] y
Preparing...
Resolving dependencies...
Checking inter-conflicts...

To upgrade (1):
chaotic-keyring 20210330-1 (20201229-1) chaotic-aur 9,7 kB

Total download size: 9,7 kB

Apply transaction ? [y/N] y
Download of chaotic-keyring (20210330-1) started
Download of chaotic-keyring (20210330-1) finished
Checking keyring... [1/1]
Checking integrity... [1/1]
Error: chaotic-keyring: signature from "Pedro Henrique Lara Campos [email protected]" is unknown trust
Removing invalid files and retrying...
Download of chaotic-keyring (20210330-1) started
Download of chaotic-keyring (20210330-1) finished
Checking keyring... [1/1]
Checking integrity... [1/1]
Error: chaotic-keyring: signature from "Pedro Henrique Lara Campos [email protected]" is unknown trust
Error: Failed to commit transaction: invalid or corrupted package (PGP signature):

solution ? i can't upgrade system ( -Syyuu or -Syu ) because this error

Please, though Chaotic has HTTPS, never suggest this.

@siapa, looks like you (or some app) recreated your pacman-keyring and forgot to populate chaotic.
The solution is to recreate it once more, and with all the populates:

sudo rm -rf /etc/pacman.d/gnupg
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman-key --populate chaotic
# repeate this last command with other repos you may have added.

You can check for other available repo's keyrings to populate in /usr/share/pacman/keyrings/

7 Likes

I have followed the steps above

open the chaotic-trust file (/usr/share/pacman/keyrings/) there is one key

Do you have to add keys manually?
or what do I do next

In terminal

on line after the other.

2 Likes

Alhamdulillah...
I follow this step : :slight_smile:

sudo rm -rf /etc/pacman.d/gnupg
sudo pacman-key --init
sudo pacman-key --populate archlinux blackarch
sudo pacman-key --populate chaotic
sudo pacman -Syu 

fix , resolved
Thank sTeam Garuda :sunglasses:

4 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.