Local repository support (mirror/proxy) in main

Registered by Thierry Carrez on 2009-11-10

Several options exist for setting up a local mirror or cache of the Ubuntu archives (apt-mirror, debmirror, apt-cacher-ng, apt-proxy, approx...) but none of them is fully supported in main. Any site with more than 2 Ubuntu machines is likely to set up one of those, we should investigate options, promote to main and support the relevant one(s).

Blueprint information

Status:
Started
Approver:
Robbie Williamson
Priority:
Medium
Drafter:
Michael Vogt
Direction:
Approved
Assignee:
Canonical Foundations Team
Definition:
Approved
Series goal:
Accepted for natty
Implementation:
Beta Available
Milestone target:
None
Started by
Michael Vogt on 2010-02-15

Related branches

Sprints

Whiteboard

Notes:
 * [kirkland] - UEC installations always involve >= 2 Ubuntu systems, and usually many, many more when you consider a sizable set of nodes and lots of instances. I think UEC is an ideal place to run a caching squid proxy in the default installation (providing an easy way to debconf/preseed this off). I'm willing and interested in doing the UEC integration work.

Work items:
[mvo] write squid config wiki page https://wiki.ubuntu.com/SquidDebProxy : DONE
[mvo] package with squid config as a example in doc/examples (LP: #510038 with patch) : DONE
[mvo] new package squid-apt-proxy with working defautl config for private networks and squid on different port 8000 (lp:~mvo/+junk/squid-deb-proxy), uploaded into lucid: DONE
[mvo] add avahi support to squid-deb-proxy: DONE
[mvo] point to rsync wiki page at https://wiki.ubuntu.com/Mirrors/Scripts : DONE
[mvo] package rsync wiki page script; no need there is lp:ubumirror already: DONE
[mvo] test/fixup lp:ubumirror and upload to universe: DONE
investigate mirror alternatives for main: POSTPONED
package debmarshall (or encourage upstream to package it): POSTPONED
package mirrorkit (already done, needs to be uploaded to universe): DONE

[ceg] Actually, /var/cache/apt/archive can simply be shared between multiple machines. It could be made available through ssh(fs) and the service announced in the .local domain though avahi (dDNS). There is a document about configuring the cache dir of apt at http://www.fifi.org/doc/apt/offline.html and some shell scripts at http://wiki.debian.org/AptMedium .

(?)

Work Items