You are not logged in.

#1 2021-07-05 18:04:38

malacology
Member
Registered: 2021-04-24
Posts: 152

[Solved] gpg: keyserver receive failed: No name

[guoyi@archlinux root]$ yay -S php74
:: There are 5 providers available for smtp-forwarder:
:: Repositoryextra
    1) msmtp-mta 2) postfix :: Repositorycommunity
    3) exim 4) nullmailer 5) opensmtpd 

Enter a number (default=1): 
:: Checking for conflicts...
:: Checking for inner conflicts...
[Repo:2]  libzip-1.7.3-2  oniguruma-6.9.7.1-1
[Repo Make:47]  apr-1.7.0-3  apr-util-1.6.1-8  apache-2.4.48-1  aspell-0.60.8-2  c-client-2007f-11  enchant-2.3.0-1  libpng-1.6.37-3  graphite-1:1.3.14-1  harfbuzz-2.8.1-1  freetype2-2.10.4-1  fontconfig-2:2.13.94-1  libice-1.0.10-3  libsm-1.2.3-2  xcb-proto-1.14.1-3  libxdmcp-1.1.3-3  libxau-1.0.9-3  libxcb-1.14-1  xorgproto-2021.4-1  libx11-1.7.2-1  libxt-1.2.1-1  libxext-1.3.4-3  libxpm-3.5.13-2  libjpeg-turbo-2.1.0-1  libtiff-4.3.0-1  giflib-5.2.1-2  libwebp-1.2.0-1  aom-3.1.1-1  dav1d-0.9.0-1  rav1e-0.4.1-1  svt-av1-0.8.7-1  libyuv-r2212+dfaf7534-2  libavif-0.9.2-1  libde265-1.0.8-1  x265-3.5-1  libheif-1.12.0-1  gd-2.3.2-4  libxslt-1.1.34-5  lm_sensors-1:3.6.0.r41.g31d1f125-1  net-snmp-5.9.1-1  postgresql-libs-13.3-3  tidy-5.7.45-1  unixodbc-2.3.9-1  libidn-1.37-1  gsasl-1.10.0-1  msmtp-1.8.15-1  msmtp-mta-1.8.15-1  freetds-1.2.21-1
[Aur:1]  php74-7.4.21-1

==> Remove make dependencies after install? [y/N] 
  1 php74                                    (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: PKGBUILD up to date, Skipping (1/1): php74
  1 php74                                    (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: php74

:: PGP keys need importing:
 -> 5A52880781F755608BF815FC910DEB46F53EA312, required by: php74
 -> 42670A7FE4D0441C8E4632349E4FDC074A4EF02D, required by: php74
==> Import? [Y/n] Y
:: Importing keys with gpg...
gpg: keyserver receive failed: No name
problem importing keys

I can do it on my PC but fail on VPS

Last edited by malacology (2021-07-06 00:45:23)


Don't speak to silly man. Keep Minimalism.

Offline

#2 2021-07-05 20:12:04

loqs
Member
Registered: 2014-03-06
Posts: 19,008

Re: [Solved] gpg: keyserver receive failed: No name

Offline

#3 2021-07-06 00:10:42

malacology
Member
Registered: 2021-04-24
Posts: 152

Re: [Solved] gpg: keyserver receive failed: No name

I use this method but it still asks me to import.


Don't speak to silly man. Keep Minimalism.

Offline

#4 2021-07-06 00:15:20

loqs
Member
Registered: 2014-03-06
Posts: 19,008

Re: [Solved] gpg: keyserver receive failed: No name

Post the commands you used and their outputs.

Offline

#5 2021-07-06 00:28:55

malacology
Member
Registered: 2021-04-24
Posts: 152

Re: [Solved] gpg: keyserver receive failed: No name

[guoyi@archlinux root]$ sudo gpg --keyserver keyserver.ubuntu.com --search-keys 5A52880781F755608BF815FC910DEB46F53EA312
[sudo] password for guoyi: 
gpg: data source: http://162.213.33.9:11371
(1)	Derick Rethans <gpg@derickrethans.nl>
	Derick Rethans (PHP) <derick@php.net>
	Derick Rethans (GitHub) <github@derickrethans.nl>
	Derick Rethans <derick@derickrethans.nl>
	  4096 bit RSA key 910DEB46F53EA312, created: 2019-06-11
Keys 1-1 of 1 for "5A52880781F755608BF815FC910DEB46F53EA312".  Enter number(s), N)ext, or Q)uit > 1
gpg: key 910DEB46F53EA312: "Derick Rethans <gpg@derickrethans.nl>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
[guoyi@archlinux root]$ sudo gpg --keyserver keyserver.ubuntu.com --search-keys 42670A7FE4D0441C8E4632349E4FDC074A4EF02D
gpg: data source: http://162.213.33.9:11371
(1)	  4096 bit RSA key 9E4FDC074A4EF02D, created: 2019-05-29
Keys 1-1 of 1 for "42670A7FE4D0441C8E4632349E4FDC074A4EF02D".  Enter number(s), N)ext, or Q)uit > 1
gpg: key 9E4FDC074A4EF02D: "Peter Kokot <petk@php.net>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
[guoyi@archlinux root]$ yay -S php74
:: There are 5 providers available for smtp-forwarder:
:: Repositoryextra
    1) msmtp-mta 2) postfix :: Repositorycommunity
    3) exim 4) nullmailer 5) opensmtpd 

Enter a number (default=1): 
:: Checking for conflicts...
:: Checking for inner conflicts...
[Repo:1]  oniguruma-6.9.7.1-1
[Repo Make:4]  libidn-1.37-1  gsasl-1.10.0-1  msmtp-1.8.15-1  msmtp-mta-1.8.15-1
[Aur:1]  php74-7.4.21-1

==> Remove make dependencies after install? [y/N] 
  1 php74                                    (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: PKGBUILD up to date, Skipping (1/1): php74
  1 php74                                    (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: php74

:: PGP keys need importing:
 -> 5A52880781F755608BF815FC910DEB46F53EA312, required by: php74
 -> 42670A7FE4D0441C8E4632349E4FDC074A4EF02D, required by: php74
==> Import? [Y/n] Y
:: Importing keys with gpg...
gpg: keyserver receive failed: No name
problem importing keys

Don't speak to silly man. Keep Minimalism.

Offline

#6 2021-07-06 00:33:52

loqs
Member
Registered: 2014-03-06
Posts: 19,008

Re: [Solved] gpg: keyserver receive failed: No name

sudo gpg --keyserver keyserver.ubuntu.com --search-keys 5A52880781F755608BF815FC910DEB46F53EA312
sudo gpg --keyserver keyserver.ubuntu.com --search-keys 42670A7FE4D0441C8E4632349E4FDC074A4EF02D
....
[guoyi@archlinux root]$ yay -S php74

As the commands were executed with sudo the keys were added to roots keyring.
yay is executed as guoyi and does not find the keys as they are not in guoyi's keyring.

Offline

#7 2021-07-06 00:37:15

malacology
Member
Registered: 2021-04-24
Posts: 152

Re: [Solved] gpg: keyserver receive failed: No name

OK thanks, I get it, I will try again now.


Don't speak to silly man. Keep Minimalism.

Offline

Board footer

Powered by FluxBB