{"id":197,"date":"2021-03-28T13:27:51","date_gmt":"2021-03-28T12:27:51","guid":{"rendered":"https:\/\/www.slowergram.com\/?p=197"},"modified":"2021-03-28T13:27:56","modified_gmt":"2021-03-28T12:27:56","slug":"cant-update-your-raspberry-pi-try-this","status":"publish","type":"post","link":"https:\/\/www.slowergram.com\/index.php\/2021\/03\/28\/cant-update-your-raspberry-pi-try-this\/","title":{"rendered":"Can&#8217;t update your Raspberry Pi? Try this&#8230;"},"content":{"rendered":"\n<p>I had a few spare minutes so decided to check on the update status of my Raspberry Pi&#8217;s. I found updates have stalled due to a connection issue to archive-bm.raspbian.org<\/p>\n\n\n\n<p>sure enough I could not ping by name, after checking I had outbound connectivity.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"599\" src=\"https:\/\/www.slowergram.com\/wp-content\/uploads\/2021\/03\/Screenshot_20210328-131954-1024x599.png\" alt=\"\" class=\"wp-image-198\" srcset=\"https:\/\/www.slowergram.com\/wp-content\/uploads\/2021\/03\/Screenshot_20210328-131954-1024x599.png 1024w, https:\/\/www.slowergram.com\/wp-content\/uploads\/2021\/03\/Screenshot_20210328-131954-300x176.png 300w, https:\/\/www.slowergram.com\/wp-content\/uploads\/2021\/03\/Screenshot_20210328-131954-768x449.png 768w, https:\/\/www.slowergram.com\/wp-content\/uploads\/2021\/03\/Screenshot_20210328-131954.png 1080w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To get round this, I added an entry to the sources.list file in \/etc\/apt\/ choosing a mirror repo from the <a rel=\"noreferrer noopener\" href=\"https:\/\/www.raspbian.org\/RaspbianMirrors\" target=\"_blank\">official<\/a> source list. I hashed out the current line and added this <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>deb http:\/\/mirror.ox.ac.uk\/sites\/archive.raspbian.org\/archive\/raspbian\/ buster main contrib non-free rpi\n#deb http:\/\/raspbian.raspberrypi.org\/raspbian\/ buster main contrib non-free rpi\n# Uncomment line below then 'apt-get update' to enable 'apt-get source'\n#deb-src http:\/\/raspbian.raspberrypi.org\/raspbian\/ buster main contrib non-free rpi<\/code><\/pre>\n\n\n\n<p>I could then run the usual <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt upgrade<\/code><\/pre>\n\n\n\n<p>Hope it helps someone else until the issue with the original archive site can be resolved.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a few spare minutes so decided to check on the update status of my Raspberry Pi&#8217;s. I found updates have stalled due to a connection issue to archive-bm.raspbian.org sure enough I could not ping by name, after checking I had outbound connectivity. To get round this, I added <a href=\"https:\/\/www.slowergram.com\/index.php\/2021\/03\/28\/cant-update-your-raspberry-pi-try-this\/\" class=\"btn btn-link continue-link\">Continue Reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[31],"class_list":["post-197","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-rpi"],"_links":{"self":[{"href":"https:\/\/www.slowergram.com\/index.php\/wp-json\/wp\/v2\/posts\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.slowergram.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.slowergram.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.slowergram.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.slowergram.com\/index.php\/wp-json\/wp\/v2\/comments?post=197"}],"version-history":[{"count":0,"href":"https:\/\/www.slowergram.com\/index.php\/wp-json\/wp\/v2\/posts\/197\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.slowergram.com\/index.php\/wp-json\/wp\/v2\/media?parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.slowergram.com\/index.php\/wp-json\/wp\/v2\/categories?post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.slowergram.com\/index.php\/wp-json\/wp\/v2\/tags?post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}