Mingw-packages: pacman trust error

Created on 3 Oct 2014  Β·  6Comments  Β·  Source: msys2/MINGW-packages

Suddenly pacman no longer trusts:

(1/1) checking keys in keyring                     [######################] 100%
downloading required keys...
:: Import PGP key 2048D/A47D45A1, "Alexey Pavlov (Alexpux) <[email protected]>", created: 2013-11-10? [Y/n] y
(1/1) checking package integrity                   [######################] 100%
error: mingw-w64-x86_64-libpng: signature from "Alexey Pavlov (Alexpux) <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/mingw-w64-x86_64-libpng-1.6.12-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n

It was working fine yesterday. I removed old /etc/pacman.d/gnupg and did pacman-key --refresh-keys. I am still getting the same unknown trust message. Do I need to disable the trust check? This was working fine before today.

Most helpful comment

you need run:
pacman-key --init
pacman-key --populate msys2
pacman-key --refresh-keys

All 6 comments

you need run:
pacman-key --init
pacman-key --populate msys2
pacman-key --refresh-keys

Ah yes I just figured that one out. I forgot to "pacman-key --populate msys2".
Thanks for the quick response!

ошибка: mingw32: signature from "Alexey Pavlov (Alexpux) alexpux@gmail.com" is unknown trust
ошибка: mingw64: signature from "Alexey Pavlov (Alexpux) alexpux@gmail.com" is unknown trust
ошибка: msys: signature from "Alexey Pavlov (Alexpux) alexpux@gmail.com" is unknown trust
ошибка: Π±Π°Π·Π° Π΄Π°Π½Π½Ρ‹Ρ… 'mingw32' Π½Π΅Π΄Π΅ΠΉΡΡ‚Π²ΠΈΡ‚Π΅Π»ΡŒΠ½Π° ΠΈΠ»ΠΈ ΠΏΠΎΠ²Ρ€Π΅ΠΆΠ΄Π΅Π½Π° (нСвСрная ΠΈΠ»ΠΈ поврСТдСнная Π±Π°Π·Π° Π΄Π°Π½Π½Ρ‹Ρ…(PGP-подпись))
ошибка: Π±Π°Π·Π° Π΄Π°Π½Π½Ρ‹Ρ… 'mingw64' Π½Π΅Π΄Π΅ΠΉΡΡ‚Π²ΠΈΡ‚Π΅Π»ΡŒΠ½Π° ΠΈΠ»ΠΈ ΠΏΠΎΠ²Ρ€Π΅ΠΆΠ΄Π΅Π½Π° (нСвСрная ΠΈΠ»ΠΈ поврСТдСнная Π±Π°Π·Π° Π΄Π°Π½Π½Ρ‹Ρ…(PGP-подпись))
ошибка: Π±Π°Π·Π° Π΄Π°Π½Π½Ρ‹Ρ… 'msys' Π½Π΅Π΄Π΅ΠΉΡΡ‚Π²ΠΈΡ‚Π΅Π»ΡŒΠ½Π° ΠΈΠ»ΠΈ ΠΏΠΎΠ²Ρ€Π΅ΠΆΠ΄Π΅Π½Π° (нСвСрная ΠΈΠ»ΠΈ поврСТдСнная Π±Π°Π·Π° Π΄Π°Π½Π½Ρ‹Ρ…(PGP-подпись))

Π‘Π΅Π· Π΅Π±Π»ΠΈ Ρ…ΠΎΡ‚ΡŒ ΠΎΠ΄ΠΈΠ½ линуксовый ΠΏΠ°ΠΊΠ΅Ρ‚ устанавливаСтся Π½ΠΎΡ€ΠΌΠ°Π»ΡŒΠ½ΠΎ? :)

Run those commands provided in 2nd comment.

Run those commands provided in 2nd comment.

Complains about gpg-agent.

This helps:

https://www.linux.org.ru/forum/general/7904623

/etc/pacman.conf => SigLevel = Never.

@ogamespec It's not a pacman issue, it's an issue with your system configuration. Add gpg-agent or MSYS2 installation to exclusion list/white list in your anti-virus software.

Was this page helpful?
0 / 5 - 0 ratings