{"id":1818,"date":"2024-02-24T11:36:25","date_gmt":"2024-02-24T10:36:25","guid":{"rendered":"https:\/\/mpr-projects.com\/?p=1818"},"modified":"2024-05-24T20:17:50","modified_gmt":"2024-05-24T18:17:50","slug":"updating-a-stale-arch-linux-installation","status":"publish","type":"post","link":"https:\/\/mpr-projects.com\/index.php\/2024\/02\/24\/updating-a-stale-arch-linux-installation\/","title":{"rendered":"Updating a Stale Arch Linux Installation"},"content":{"rendered":"\n<p>This is just a quick reminder about a topic related to Arch Linux. I&#8217;m posting it as a reference so I don&#8217;t need to spend much time searching for the solution when I come across the issue again.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" style=\"margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30)\"\/>\n\n\n\n<p>I recently had to update a computer that hadn&#8217;t been touched in about a year. It&#8217;s running Arch Linux so the regular update process is to open a command line and type <code>sudo pacman -Suy<\/code>. However, if you haven&#8217;t updated the system in a while then it&#8217;s quite likely that there are some out-of-date keys that cause errors during the update. To get around that issue do the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Update the package database with <code>sudo pacman -Syy<\/code>.<\/li>\n\n\n\n<li>Install the latest version of the <em>archlinux-keyring<\/em> package with <code>sudo pacman -S archlinux-keyring<\/code>.<\/li>\n\n\n\n<li>Update your gpg keys with <code>sudo pacman-key --refresh-keys<\/code>. This will take quite a while to finish.<\/li>\n\n\n\n<li>Run your regular system update with <code>sudo pacman -Suy<\/code>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I recently had to update a computer that hadn&#8217;t been touched in about a year. This brief post is a reminder of how to do the update.<\/p>\n","protected":false},"author":1,"featured_media":1829,"comment_status":"open","ping_status":"open","sticky":false,"template":"wp-custom-template-single-post-cc-nc","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[31,3],"tags":[32,4,33],"class_list":["post-1818","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-brief-linux-notes","category-linux","tag-arch-linux","tag-linux","tag-quick-reminder"],"_links":{"self":[{"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/posts\/1818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/comments?post=1818"}],"version-history":[{"count":5,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/posts\/1818\/revisions"}],"predecessor-version":[{"id":1826,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/posts\/1818\/revisions\/1826"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/media\/1829"}],"wp:attachment":[{"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/media?parent=1818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/categories?post=1818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/tags?post=1818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}