gpg errors

$ sudo gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv D108C036
gpg: requesting key D108C036 from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error


if you cannot access to keyserver.ubuntu.com


try below commands:


gpg --keyserver keyserver.ubuntu.com --recv 505A2DD1
gpg --export --armor 505A2DD1 > key.asc


Then


cat key.asc | sudo apt-key add -


Found the new problem described below


W: There is no public key available for the following key IDs:
3B4FE6ACC0B21F32
W: There is no public key available for the following key IDs:
3B4FE6ACC0B21F32
W: There is no public key available for the following key IDs:
3B4FE6ACC0B21F32


So do the same process again!

gpg errors_第1张图片


replace the arguments to -


gpg --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32

gpg --export --armor 3B4FE6ACC0B21F32 > key2.asc

cat key2.asc | sudo apt-key add -

你可能感兴趣的:(gpg errors)