{"id":66923,"date":"2024-11-17T12:39:12","date_gmt":"2024-11-17T11:39:12","guid":{"rendered":"https:\/\/ekiwi-blog.de\/66923\/linux-ubuntu-update-very-slow-apt-get-upgrade-slow\/"},"modified":"2024-11-20T19:06:15","modified_gmt":"2024-11-20T18:06:15","slug":"linux-ubuntu-update-very-slow-apt-get-upgrade-slow","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/66923\/linux-ubuntu-update-very-slow-apt-get-upgrade-slow\/","title":{"rendered":"Linux Ubuntu update very slow: apt get upgrade slow"},"content":{"rendered":"<p>Agonisingly slow update in Linux.<\/p>\n<p><!--more--><\/p>\n<p>With a freshly installed Linux Mint, I wanted to install the updates. However, it took forever. Download times like in the best modem times. The data travelled over the line at just a few kB\/s.<\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/D-TjuCA_ytw?si=3Vqj84jrzkOWZn-M\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_1.png\" alt=\"\" width=\"449\" height=\"201\" class=\"aligncenter size-full wp-image-66899\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_1.png 449w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_1-300x134.png 300w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/p>\n<p>The suspicion was that the download was made from distant servers. This can be checked in the &#8220;Update Manager&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_2.png\" alt=\"\" width=\"579\" height=\"241\" class=\"aligncenter size-full wp-image-66903\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_2.png 579w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_2-300x125.png 300w\" sizes=\"auto, (max-width: 579px) 100vw, 579px\" \/><\/p>\n<p>I had American and British sources stored. Presumably America was the cause.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_3.png\" alt=\"\" width=\"739\" height=\"212\" class=\"aligncenter size-full wp-image-66907\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_3.png 739w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_3-300x86.png 300w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><\/p>\n<p>But we can easily change this. In my case, I have selected a German server here.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_4.png\" alt=\"\" width=\"739\" height=\"212\" class=\"aligncenter size-full wp-image-66911\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_4.png 739w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_4-300x86.png 300w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><\/p>\n<p>Done!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_5.png\" alt=\"\" width=\"690\" height=\"205\" class=\"aligncenter size-full wp-image-66915\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_5.png 690w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_5-300x89.png 300w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/p>\n<p>The package sources should then be updated.<\/p>\n<pre>\r\nsudo apt update\r\n<\/pre>\n<p>The update is now much faster.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_6.png\" alt=\"\" width=\"319\" height=\"113\" class=\"aligncenter size-full wp-image-66919\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_6.png 319w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/11\/linux_update_6-300x106.png 300w\" sizes=\"auto, (max-width: 319px) 100vw, 319px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>Agonisingly slow update in Linux.<\/p>\n","protected":false},"author":1,"featured_media":18426,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[1682],"class_list":["post-66923","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-linux-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/66923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=66923"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/66923\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/18426"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=66923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=66923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=66923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}