{"id":21,"date":"2007-04-10T16:22:12","date_gmt":"2007-04-10T03:22:12","guid":{"rendered":"http:\/\/www.meta.net.nz\/~daniel\/blog\/?p=21"},"modified":"2007-04-10T16:30:14","modified_gmt":"2007-04-10T03:30:14","slug":"debian-etch-and-apt-proxy-issues","status":"publish","type":"post","link":"https:\/\/www.meta.net.nz\/~daniel\/blog\/2007\/04\/10\/debian-etch-and-apt-proxy-issues\/","title":{"rendered":"Debian Etch and apt-proxy issues"},"content":{"rendered":"<p>Debian Etch (4.0) was released on Monday, and I have to say I wasn&#8217;t at all prepared. I&#8217;ve got about 70 machines that will probably need to be upgraded to Etch at some point in the near future. I could leave some of them running sarge, but I&#8217;ll definitely have to upgrade most of these servers.<\/p>\n<p>We use an apt-proxy internally, to improve apt performance. It works well, aside from a couple of bugs that cause it to lock up every now and then.  While running some upgrades on out of the way servers today, I discovered that the version of apt in sarge really doesn&#8217;t play very nicely with an etch repository served by apt-proxy running on an etch server.  It seems that Ubuntu is fine, and trying to update a sarge server via an apt-proxy running on an etch server is ok too.<\/p>\n<p>Once the etch client has been upgraded, the etch apt-proxy works fine. So, looks like a key issue. The version of apt in sarge doesn&#8217;t have the archive security stuff in it, and has no way of checking whether the keys are intact &#8211; BUT, it still seems to care, and will timeout and eventually fail.<\/p>\n<p>It turns out that installing a copy of apt from the sarge backports solves this. You&#8217;ll also need the gnupg package, but the one from sarge is OK<br \/>\n[code]<br \/>\nwget http:\/\/backports.org\/debian\/pool\/main\/a\/apt\/apt_0.6.46.4-0.1~bpo.1_i386.deb<br \/>\nwget http:\/\/backports.org\/debian\/pool\/main\/d\/debian-archive-keyring\/debian-archive-keyring_2006.11.22~bpo.2_all.deb<br \/>\ndpkg -i *.deb<br \/>\napt-get update<br \/>\n[\/code]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debian Etch (4.0) was released on Monday, and I have to say I wasn&#8217;t at all prepared. I&#8217;ve got about 70 machines that will probably need to be upgraded to Etch at some point in the near future. I could leave some of them running sarge, but I&#8217;ll definitely have to upgrade most of these [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,8,4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/posts\/21"}],"collection":[{"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":0,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}