{"id":3422,"date":"2017-08-07T09:47:03","date_gmt":"2017-08-07T07:47:03","guid":{"rendered":"http:\/\/borncity.com\/win\/?p=3422"},"modified":"2017-08-07T09:47:17","modified_gmt":"2017-08-07T07:47:17","slug":"ubuntu-fix-google-gpg-error","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2017\/08\/07\/ubuntu-fix-google-gpg-error\/","title":{"rendered":"Ubuntu: Fix Google GPG Error"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" style=\"float: left; margin: 0px 10px 0px 0px; display: inline\" src=\"http:\/\/www.borncity.com\/blog\/wp-content\/uploads\/2015\/11\/Linux.jpg\" width=\"64\" align=\"left\" height=\"76\">[<a href=\"http:\/\/www.borncity.com\/blog\/2017\/08\/07\/ubuntu-google-gpg-error-beheben\/\" target=\"_blank\">German<\/a>]Since August 4, 2017 using the command <em>apt update <\/em>ends with an Google GPG error. The reason: A public GPG key used to sign Google's code for Linux repositories has been changed. But it's easy to fix this issue. <\/p>\n<p><!--more--><\/p>\n<p>Using the command <em>apt update <\/em>ends with an Google GPG error, see the screenshot and text below.<\/p>\n<p><a href=\"http:\/\/www.omgubuntu.co.uk\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-06-at-21.55.13-750x192.png\"><img loading=\"lazy\" decoding=\"async\" title=\"Google GPG Error \" alt=\"Google GPG Error \" src=\"http:\/\/www.omgubuntu.co.uk\/wp-content\/uploads\/2017\/08\/Screen-Shot-2017-08-06-at-21.55.13-750x192.png\" width=\"648\" height=\"166\"><\/a> <\/p>\n<blockquote>\n<p>W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: dl.google.com\/linux\/chrome\/d\u2026 stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E <\/p>\n<p>W: Failed to fetch dl.google.com\/linux\/chrome\/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E <\/p>\n<p>W: Some index files failed to download. They have been ignored, or old ones used instead.<br \/>Google signs its packages with GPG keys so that you (and your package manager) can \"verify product updates\". When a GPG expires, changes, or is otherwise missing from your system your package manager will display an error, which is precisely what the monospaced gunk above is.<\/p>\n<\/blockquote>\n<p>Background: The apt command doesn't find a valid public GPG key and terminates the update. The fix is simple, use the following command within terminal to download the new key:<\/p>\n<pre>wget -q -O - https:\/\/dl.google.com\/linux\/linux_signing_key.pub | sudo apt-key add -<\/pre>\n<p>After a password request the key shall be set and <em>apt update <\/em>should be fixes. Further details may be found within <a href=\"http:\/\/www.omgubuntu.co.uk\/2017\/08\/fix-google-gpg-key-linux-repository-error\" target=\"_blank\">this article<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[German]Since August 4, 2017 using the command apt update ends with an Google GPG error. The reason: A public GPG key used to sign Google's code for Linux repositories has been changed. But it's easy to fix this issue.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71,463],"tags":[4,399,112],"class_list":["post-3422","post","type-post","status-publish","format-standard","hentry","category-computer","category-issue","tag-error","tag-fix","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/3422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/comments?post=3422"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/3422\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=3422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=3422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=3422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}