{"id":90,"date":"2009-10-14T10:54:44","date_gmt":"2009-10-14T08:54:44","guid":{"rendered":"http:\/\/www.mariusb.net\/blog\/2009\/10\/apt-get-performance-improvement\/"},"modified":"2009-10-14T10:54:51","modified_gmt":"2009-10-14T08:54:51","slug":"apt-get-performance-improvement","status":"publish","type":"post","link":"https:\/\/www.mariusb.net\/blog\/2009\/10\/apt-get-performance-improvement\/","title":{"rendered":"APT-GET performance improvement"},"content":{"rendered":"<p>On some network connections (particularly my corporate network), I had this issue when APT-GET was updating the repositories or downloading packages that it just would stand still for a minute or so and continue then.&nbsp; This would happen after every 100KB or so.&nbsp; I have found the following settings that improved the performance a lot and the stand still totally disappeared.&nbsp; Enter the following in a terminal:<br \/><code>sudo gedit \/etc\/apt\/apt.conf.d\/80http<\/code><br \/>If the file <code>80http<\/code> does not exist then create it.<\/p>\n<p>Add the following lines to the file:<br \/><code><br \/>Acquire::http::Pipeline-Depth \"0\";<br \/>Acquire::http::No-Cache \"true\";<br \/>Acquire::http::Max-Age \"0\";<br \/><\/code><\/p>\n<p>Save the file and now APT-GET should fly with your updates.<\/p>\n<p>Technorati Tags: <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/apt-get\" rel=\"tag\">apt-get<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/proxy\" rel=\"tag\">proxy<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/cache\" rel=\"tag\">cache<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>On some network connections (particularly my corporate network), I had this issue when APT-GET was updating the repositories or downloading packages that it just would stand still for a minute or so and continue then.&nbsp; This would happen after every 100KB or so.&nbsp; I have found the following settings that improved the performance a lot [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4],"tags":[94,96,95],"class_list":["post-90","post","type-post","status-publish","format-standard","hentry","category-ubuntu","tag-apt-get","tag-cache","tag-proxy"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1SHVw-1s","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/posts\/90","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/comments?post=90"}],"version-history":[{"count":1,"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/posts\/90\/revisions"}],"predecessor-version":[{"id":91,"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/posts\/90\/revisions\/91"}],"wp:attachment":[{"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/media?parent=90"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/categories?post=90"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mariusb.net\/blog\/wp-json\/wp\/v2\/tags?post=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}