Ошибка одна или больше pgp подписей не могут быть проверены

Управление пакетами

   10451

[Решено] Ошибка обновления

Как час как установил манджаро кде, пришли все обновления все поставил настроил и тут снова обновления и ошибка при установке… Управление пакетами: Manjaro KDE Edition: Ошибка обновления

5 комментариев

avatar

  • nZemekis
  • 25 сентября 2018, 15:48

какая ошибка?

avatar

  • автор itlife
  • 25 сентября 2018, 15:49

==> Проверка файлов source с использованием sha256sums…
phonon-4.10.1.tar.xz… Готово
phonon-4.10.1.tar.xz.sig… Пропущено
==> Проверка подписей исходных файлов с помощью ‘gpg’…
phonon-4.10.1.tar.xz… СБОЙ (неизвестный открытый ключ B92A5F04EC949121)
==> ОШИБКА: Одна или больше PGP-подписей не могут быть проверены!

avatar

  • nZemekis
  • 25 сентября 2018, 15:52

gpg --keyserver keys.gnupg.net --recv-keys B92A5F04EC949121

и обновляйтесь заново

avatar

  • автор itlife
  • 25 сентября 2018, 16:04

Да помогло, а что означает gpg —keyserver keys.gnupg.net —recv-keys B92A5F04EC949121
И за чего ошибка получается?

avatar

  • nZemekis
  • 25 сентября 2018, 16:09

ключ, который указан в подписи к сборке отсутствует в сервере ключей. Это бывает, т.к. порой добавленные ключи к сборкам не успевают синхронизироваться. Эта команда добавляет ключ к доверенным. Это, конечно, не совсем безопасно, но надо отдавать отчет, что делаешь

Так же полезно читать комментарии к сборкам в AUR
https://aur.archlinux.org/packages/phonon-qt4

Последний раз редактировалось 25 сентября 2018, 17:10

Только зарегистрированные и авторизованные пользователи могут оставлять комментарии.

Фото аватара

При установке некого пакета, ты сталкиваешься с проблемой:

Проверка подписей исходных файлов с помощью 'gpg'...
package_name.src.tar.xz ... СБОЙ (неизвестный открытый ключ ****************)

Такая ошибка происходит из-за отсутствия в твоей системе открытого PGP ключа, указанного в ошибке.

Открытые ключи, используют разработчики для подписи своих пакетов, дабы ты смог убедиться, что разработчик именно тот, за кого себя выдает.

Как же получить этот ключ?

Для импорта открытого ключа в свою операционную систему, достаточно воспользоваться данной командой:

$ gpg --keyserver keys.gnupg.net --recv-keys <ключ>

gpg --keyserver keys.gnupg.net --receive 702353E0F7E48EDB

gpg —keyserver keys.gnupg.net —receive 702353E0F7E48EDB

После проделанных усилий, ты сможешь установить требуемый пакет.

Видео версия:

  • Index
  • » AUR Issues, Discussion & PKGBUILD Requests
  • » [SOLVED] One or more PGP signatures could not be verified!

#1 2019-03-16 16:27:55

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

[SOLVED] One or more PGP signatures could not be verified!

spotify-1.0.98.78-Release … FAILED (unknown public key A87FF9DF48BF1C90)
==> ERROR: One or more PGP signatures could not be verified!

sudo gpg --recv-key A87FF9DF48BF1C90

gpg: key A87FF9DF48BF1C90: public key «Spotify Public Repository Signing Key <tux@spotify.com>» imported
gpg: Total number processed: 1
gpg:               imported: 1

spotify-1.0.98.78-Release … FAILED (unknown public key A87FF9DF48BF1C90)
==> ERROR: One or more PGP signatures could not be verified!

wat?

Last edited by TheChosenOne (2019-03-17 20:23:01)

#2 2019-03-16 16:37:09

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,184
Website

Re: [SOLVED] One or more PGP signatures could not be verified!

You used sudo, so you added the key to root’s keychain. Makepkg doesn’t run as root. Run gpg without sudo.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

#3 2019-03-16 16:49:48

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: [SOLVED] One or more PGP signatures could not be verified!

gpg: keyserver receive failed: Permission denied

#4 2019-03-16 17:16:05

loqs
Member
Registered: 2014-03-06
Posts: 16,075

Re: [SOLVED] One or more PGP signatures could not be verified!

If you have not configured dirmngr for root or the none root user and the network connection you were using is the same please try:

killall dirmngr #kill the current dirmngr to hopefully use a different one from the pool on next use
gpg --recv-key A87FF9DF48BF1C90

Last edited by loqs (2019-03-16 18:01:36)

#5 2019-03-16 18:00:09

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,184
Website

Re: [SOLVED] One or more PGP signatures could not be verified!

If that doesn’t work either then post the output of


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

#6 2019-03-16 19:42:15

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: [SOLVED] One or more PGP signatures could not be verified!

Still the same:

gpg: keyserver receive failed: Permission denied

drwxr-xr-x   2 thechosenone thechosenone  4096 Oct  5  2015  crls.d
-rw——-   1 thechosenone thechosenone  2643 May 24  2016  dirmngr.conf
-rw——-   1 thechosenone thechosenone    42 Oct  5  2015  gpg-agent.conf
-rw——-   1 thechosenone thechosenone  7711 Mar  2  2017  gpg.conf
-rw-r—r—   1 thechosenone thechosenone     0 Feb  2  2015  .gpg-v21-migrated
-rw-r—r—   1 thechosenone thechosenone   684 May 13  2014  key.txt
drwxr-xr-x   2 thechosenone thechosenone  4096 Oct  6  2017  openpgp-revocs.d
drwx——   2 thechosenone thechosenone  4096 Oct  6  2017  private-keys-v1.d
-rw——-   1 thechosenone thechosenone 33583 Oct  5  2015  pubring.gpg
-rw——-   1 thechosenone thechosenone 33583 Oct  5  2015  pubring.gpg~
-rw-r—r—   1 thechosenone thechosenone 44071 Dec 23 15:57  pubring.kbx
-rw-r—r—   1 thechosenone thechosenone 42798 Oct  6  2017  pubring.kbx~
-rw——-   1 thechosenone thechosenone   600 Jan 12 22:19  random_seed
-rw——-   1 thechosenone thechosenone 12859 Feb  2  2015  secring.gpg
-rw-r——   1 thechosenone thechosenone   676 Oct  5  2015  sshcontrol
-rw-r—r—   1 thechosenone thechosenone 49152 Dec 23 15:57  tofu.db
-rw——-   1 thechosenone thechosenone  2480 Dec 23 23:11  trustdb.gpg

Last edited by TheChosenOne (2019-03-16 19:42:38)

#7 2019-03-16 20:37:18

loqs
Member
Registered: 2014-03-06
Posts: 16,075

Re: [SOLVED] One or more PGP signatures could not be verified!

Is there a keyserver specified in ~/.gnupg/dirmngr.conf ?  If there is and  you comment it out then then restart dirmngr again is the result the same?

#8 2019-03-16 21:03:15

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: [SOLVED] One or more PGP signatures could not be verified!

This is what is says:

keyserver hkp://keys.gnupg.net

Commented it out, but behavior is still the same (I did killall dirmngr).

Last edited by TheChosenOne (2019-03-16 21:05:03)

#9 2019-03-16 21:09:16

loqs
Member
Registered: 2014-03-06
Posts: 16,075

Re: [SOLVED] One or more PGP signatures could not be verified!

Did root have a different keyserver configured in its ~/.gnupg/dirmngr.conf?

#10 2019-03-16 21:40:08

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: [SOLVED] One or more PGP signatures could not be verified!

It doesn’t have this file.

drwx——  2 root root  4096 Oct 15  2016 crls.d
drwx——  2 root root  4096 Jun 30  2018 private-keys-v1.d
-rw-r—r—  1 root root 36235 Mar 16 17:20 pubring.kbx
-rw-r—r—  1 root root 34923 Oct 20 20:12 pubring.kbx~
-rw——-  1 root root  1200 Oct 20 20:12 trustdb.gpg

#11 2019-03-16 22:45:31

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,184
Website

Re: [SOLVED] One or more PGP signatures could not be verified!

Please use code tags, not quote tags, for terminal output.

Post the output of

gpg --debug-level guru --recv-key A87FF9DF48BF1C90

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

#12 2019-03-16 23:35:25

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: [SOLVED] One or more PGP signatures could not be verified!

gpg: enabled debug flags: packet mpi crypto filter iobuf memory cache memstat trust hashing ipc clock lookup extprog
gpg: DBG: [not enabled in the source] start
gpg: DBG: chan_3 <- # Home: /home/thechosenone/.gnupg
gpg: DBG: chan_3 <- # Config: /home/thechosenone/.gnupg/dirmngr.conf
gpg: DBG: chan_3 <- OK Dirmngr 2.2.13 at your service
gpg: DBG: connection to the dirmngr established
gpg: DBG: chan_3 -> GETINFO version
gpg: DBG: chan_3 <- D 2.2.13
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> KEYSERVER --clear hkp://subkeys.pgp.net
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> KS_GET -- 0xA87FF9DF48BF1C90
gpg: DBG: chan_3 <- ERR 167804929 Permission denied <Dirmngr>
gpg: keyserver receive failed: Permission denied
gpg: DBG: chan_3 -> BYE
gpg: DBG: [not enabled in the source] stop
gpg: keydb: handles=0 locks=0 parse=0 get=0
gpg:        build=0 update=0 insert=0 delete=0
gpg:        reset=0 found=0 not=0 cache=0 not=0
gpg: kid_not_found_cache: count=0 peak=0 flushes=0
gpg: sig_cache: total=0 cached=0 good=0 bad=0
gpg: random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
              outmix=0 getlvl1=0/0 getlvl2=0/0
gpg: rndjent stat: collector=0x0000000000000000 calls=0 bytes=0
gpg: secmem usage: 0/32768 bytes in 0 blocks

#13 2019-03-16 23:42:51

loqs
Member
Registered: 2014-03-06
Posts: 16,075

Re: [SOLVED] One or more PGP signatures could not be verified!

TheChosenOne wrote:

This is what is says:

keyserver hkp://keys.gnupg.net

Commented it out, but behavior is still the same (I did killall dirmngr).

gpg: DBG: chan_3 -> KEYSERVER --clear hkp://subkeys.pgp.net

This seems to show it is still enabled / in use.
Edit:
It appears to a different server but it does not appear to be in the default pool https://sks-keyservers.net/status/
What is the contents of ~/.gnupg/dirmngr.conf now?
Edit2:
Please also check if there is a keyserver entry in ~/.gnupg/gpg.conf

Last edited by loqs (2019-03-16 23:53:15)

#14 2019-03-17 12:25:18

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: [SOLVED] One or more PGP signatures could not be verified!

Problem solved. Thanks for all the help!
There was still a keyserver in ~/.gnupg/gpg.conf (hkp://subkeys.pgp.net).
Is there a problem with this keyserver?

#15 2019-03-17 17:33:17

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,184
Website

Re: [SOLVED] One or more PGP signatures could not be verified!

Apparently. tongue

Please remember to mark your thread as solved by editing the first post and amending the topic title.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

#16 2019-11-12 19:03:01

Virax
Member
Registered: 2019-11-12
Posts: 1

Re: [SOLVED] One or more PGP signatures could not be verified!

Hi !

I had the same issue, but the solutions you suggested here didn’t worked for me.
However, i could resolve it by downloading the spotify’s public key directly from their repos and added it to the list of gpg keys:

 curl -sS https://download.spotify.com/debian/pubkey.gpg | gpg --import -

then i could execute the pamac build without problems:

Even if i’m on Manjaro, it worked.
Hope it can help others!

Last edited by Virax (2019-11-12 19:04:18)

#17 2019-11-12 20:03:32

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,406

Re: [SOLVED] One or more PGP signatures could not be verified!

Closing this old solved topic.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

#
6 лет, 6 месяцев назад

(отредактировано

6 лет, 6 месяцев назад)

Wanket avatar

Темы:

2

Сообщения:

9

Участник с: 20 декабря 2015

Собственно, сабж.

cucullus

#
6 лет, 6 месяцев назад

cucullus avatar

Темы:

261

Сообщения:

3476

Участник с: 06 июня 2007

в yaourt никак.
а вот в пакмане можно.

такие дела.

Wanket

#
6 лет, 6 месяцев назад

Wanket avatar

Темы:

2

Сообщения:

9

Участник с: 20 декабря 2015

А как тогда некоторые решали проблемы с PGP в yaourt кроме добавления подписи?

cucullus

#
6 лет, 6 месяцев назад

cucullus avatar

Темы:

261

Сообщения:

3476

Участник с: 06 июня 2007

у yaourt нет никаких проблем с pgp. они друг с другом не работают.

такие дела.

Wanket

#
6 лет, 6 месяцев назад

Wanket avatar

Темы:

2

Сообщения:

9

Участник с: 20 декабря 2015

Тогда откуда такой вывод?

==> ОШИБКА: Одна или больше PGP-подписей не могут быть проверены!
==> ОШИБКА: Makepkg не смог собрать lib32-ncurses5-compat-libs.

CriOnsKry

#
6 лет, 6 месяцев назад

CriOnsKry avatar

Темы:

1

Сообщения:

11

Участник с: 27 ноября 2016

Вас троллят.
/etc/pacman.conf
Строка SigLevel = Never

ArchTelegram: @ArchLinuxChannelRU & @ArchLinuxChatRU

redix

#
6 лет, 6 месяцев назад

redix avatar

Темы:

34

Сообщения:

3432

Участник с: 11 марта 2013

Wanket
Тогда откуда такой вывод?

А если прочитать комментарии в AUR?

In Tux We Trust

Wanket

#
6 лет, 6 месяцев назад

(отредактировано

6 лет, 6 месяцев назад)

Wanket avatar

Темы:

2

Сообщения:

9

Участник с: 20 декабря 2015

Я то читал, но к серверу не подключается
Попробовал поставить Never, не помогло

CriOnsKry

#
6 лет, 6 месяцев назад

CriOnsKry avatar

Темы:

1

Сообщения:

11

Участник с: 27 ноября 2016

redix

Wanket
Тогда откуда такой вывод?

А если прочитать комментарии в AUR?

Это не относится к вопросу. Зачем путать.

ArchTelegram: @ArchLinuxChannelRU & @ArchLinuxChatRU

Wanket

#
6 лет, 6 месяцев назад

Wanket avatar

Темы:

2

Сообщения:

9

Участник с: 20 декабря 2015

Может надо какой кеш обновить?)

gpg (GnuPG) 2.2.1
libgcrypt 1.8.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/alex/.gnupg
Поддерживаются следующие алгоритмы:
С открытым ключом: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Симметричные шифры: IDEA, 3DES, CAST5, BLOWFISH,
AES, AES192, AES256, TWOFISH, CAMELLIA128,
CAMELLIA192, CAMELLIA256
Хеш-функции: SHA1, RIPEMD160, SHA256, SHA384, SHA512,
SHA224
Алгоритмы сжатия: Без сжатия, ZIP, ZLIB,
BZIP2

amreg

(24.10.17 11:45:23 MSK)

  • Ссылка

  • Ошибка оговорка досадный промах разговорный
  • Ошибка одинокого бизона фильм
  • Ошибка оговорка досадный промах кроссворд 6 букв
  • Ошибка одинокого бизона скачать книгу
  • Ошибка одинокого бизона краткое содержание