ubuntu在sudo apt-get update the public key is not available
作者:互联网
ubuntu在sudo apt-get update时候经常会出现类似于这种这种key找不到的情况:
os@user:~$ sudo apt-get update
Get:1 http://mirrors.163.com/debian sid InRelease [165 kB]
Err:1 http://mirrors.163.com/debian sid InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
Ign:2 http://obs.linaro.org/linaro-overlay-stretch/Debian_9.0 ./ InRelease
Hit:3 http://obs.linaro.org/linaro-overlay-stretch/Debian_9.0 ./ Release
Fetched 165 kB in 1s (160 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrors.163.com/debian sid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
W: Failed to fetch http://mirrors.163.com/debian/dists/sid/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
W: Some index files failed to download. They have been ignored, or old ones used instead.
#出现上述原因是因为本地的key比较老和ubuntu不匹配导致。按如下方法操作:
转载:https://blog.csdn.net/w1019220367/article/details/80346732?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-1.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-1.control
总结步骤:
1. 复制not available key: 648ACFD622F3D138
2. 登录网站 http://keyserver.ubuntu.com/
3. 输入 0x648ACFD622F3D138 即在key前加0x, 点击Search Key,会弹出如下key :
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: Hostname:
Version: Hockeypuck ~unreleased
xsFNBGAEHQwBEAC7MhpIQlLicwR8tmMH0yFkMIsqIbfudnBCuV043sSSSdUT/XjA
XKdsdOCpfb6Tfiau1uY9Yb8gWLM8JxmSuaIa1jKlYiRZ5G79D7NOVIc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Ox0kW56
edouGrJtB7jU/khe9wnC8MiPMld+CurcjIGtY0j59nMKjcjtd5Yt2bcxxc/RD1f9
SYwe5nRoGpzbo4e8Ufl/ah3+HBzcb2wHrqwHj+t9YE4cxYkdOQ2fM0yWNMruQ8L1
hPufgNhWt09Npy9euHYyQcbPWESDOeVbdXMXUyTipgGRZ4ilx1fAcN8dcNhYhVda
2sSKoEyMsMfwGnHmd573wq8VClPMxtT2UTWsidKyTDv6IZE40QFdwazd9EkHw28A
uxgynQxTuHHfBBaZf2rnyZvipe/KkWf4ipM643UBUKpJUQOf6Bx16EIby+SM4gow
A18oSpGttCZjsIm0jgHGQnC1QJNU9pENV1bdFO/grwrwoAz6FXPuucVhM42I7nXI
8IK5UdJD2K9m/kaiFvIM7mc1O97WejoXOXmX8JKlvlcK85wYy+AxY/baeUsahI0b
iDdNaVRpvGteY8QA0bsP6oSGG55t4ULo6lfaLUmBgSlSChMW0UL3rb30rfwlJZEr
/HQU+KDPG9STFW3usbcA8g8mVhCFhGrauYMDjNFAv9kO0UX35Acgi8wOVhhkIsqX
GgSNiUK6wkuLAeI7m6IcOItEDW+7Wp4lUnyjjfmD+BEskAtmiNnVQqHArYFWGpOY
JZs=
=6oF2
-----END PGP PUBLIC KEY BLOCK-----
4. 复制保存key保存到本地,命名文件key.txt
5. 拷贝到需要update的机器环境下,执行:sudo apt-key add key.txt
6. 成功提示 OK。这样就可以成功sudo apt-get update 了。
标签:available,http,get,sudo,apt,NO,key,PUBKEY 来源: https://www.cnblogs.com/liangzige/p/15705723.html