{"id":3657,"date":"2019-01-19T16:02:09","date_gmt":"2019-01-19T22:02:09","guid":{"rendered":"https:\/\/dev.iachieved.it\/iachievedit\/?p=3657"},"modified":"2019-01-19T16:02:09","modified_gmt":"2019-01-19T22:02:09","slug":"updating-yarns-apt-key-on-ubuntu","status":"publish","type":"post","link":"https:\/\/dev.iachieved.it\/iachievedit\/updating-yarns-apt-key-on-ubuntu\/","title":{"rendered":"Updating Yarn&#8217;s Apt Key on Ubuntu"},"content":{"rendered":"<p>If you&#8217;re one of those unfortunate souls that run into the following error when running <code>apt update<\/code><\/p>\n<pre class=\"theme:shell-default toolbar:2 striped:false nums:false lang:default decode:true \" >Err:5 https:\/\/dl.yarnpkg.com\/debian stable InRelease\n  The following signatures couldn't be verified because the public key\n  is not available: NO_PUBKEY 4F77679369475BAA<\/pre>\n<p>you are <a href=\"https:\/\/github.com\/yarnpkg\/yarn\/issues\/6916\">not alone<\/a>.  Fortunately the fix is easy, but it&#8217;s buried in the comments, so here it is without a lot of wading:<\/p>\n<pre class=\"theme:shell-default toolbar:2 striped:false nums:false lang:default decode:true \">\nsudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F77679369475BAA\n<\/pre>\n<p>Rerun <code>apt update<\/code> (or the <code>apt-get<\/code> equivalent), and you should be golden.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re one of those unfortunate souls that run into the following error when running apt update Err:5 https:\/\/dl.yarnpkg.com\/debian stable InRelease The following signatures couldn&#8217;t be verified because the public key is not available: NO_PUBKEY 4F77679369475BAA you are not alone. Fortunately the fix is easy, but it&#8217;s buried in the comments, so here it is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3505,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,71],"tags":[],"class_list":["post-3657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/posts\/3657"}],"collection":[{"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/comments?post=3657"}],"version-history":[{"count":5,"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/posts\/3657\/revisions"}],"predecessor-version":[{"id":3662,"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/posts\/3657\/revisions\/3662"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/media\/3505"}],"wp:attachment":[{"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/media?parent=3657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/categories?post=3657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/tags?post=3657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}