> However, what is your use case for this? If it's the common > one that you have a bunch of machines and don't want to > download the same packages for each machine gets updated, > then you should look at using the apt-proxy program, which is > available on Ubuntu. apt-proxy works like > this:
Ye pretty much this but I don't want to update the whole Ubuntu tree, just those I will need. Will look at apt-proxy in a while. Thanks. > > 1. you point apt-proxy at a full apt repository (can be the official > one, can be a full mirror, it's not a bad idea in > Australia to use a > local mirror) > > 2. you point all your Ubuntu machines at the apt-proxy server > > 3. each time they update, the apt-proxy will store the files it > downloads. if another machine requests the same package, > it will use > the stored one. So packages are only downloaded the first time > they're requested, and apt-proxy only downloads the package onces > > If you do use apt-proxy, be sure to check its cache expiry > time. It has a limit on how long it will store the packages > for before it deletes them (so that it doesn't fill your hard > disk with five year old package files). I find 3-6 months is > a sensible value, but one SLUG user reported that it was set > to 2 minutes by default, which is useless! > > -Mary > > -- > SLUG - Sydney Linux User's Group Mailing List - > http://slug.org.au/ Subscription info and FAQs: > http://slug.org.au/faq/mailinglists.html > > _____________________________________________________________________ > > This message has been checked for all known viruses by the > MessageLabs Virus Scanning Service. For further information > visit http://www.Hi-Speed.net.au > ______________________________________________________________ > __________ > ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.hi-speed.net.au ________________________________________________________________________ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
