Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 15328 ideas, 75068 comments, 1387413 votes

Idea #10117: Share locally cached packages



up
30
down
Written by inkwina the 20 Jun 08 at 23:16. Category: Installation.
Related to: Nothing/Others. Status: New
Description
Make the local cache of .deb packages available on the local network if a web server, ftpd, sshd, samba etc.. is installed. Advertise its availability via avahi.

Then make apt-get (and cousins) look for packages on the local network (have a _deb service on avahi) before fetching them over the net.

This would/should speed up setup/update of several similarly configured machines on the same network and ease the load on mirrors.

Maybe even use bit-torrent as a protocol.
Tags: (none)

Attachments


Duplicates


Comments
markba wrote on the 21 Jun 08 at 10:50
Nice idea. This is far better than using apt-mirror which causes the complete repo content copied locally (30-40 GB). Using only the cached files reduces network trafic significantly.

dino wrote on the 21 Jun 08 at 17:05
http://trac.phidev.org/trac/wiki/AptZeroconf

mwinarto wrote on the 21 Jun 08 at 20:39
apt-cacher
(http://www.debuntu.org/how-to-set-up-a-repository-cache-with-apt-cacher)
It could be made easier to find and use though.

drinkypoo wrote on the 22 Jun 08 at 13:34
there's also aptoncd and just running apt-ftparchive. I've used the latter, have installed but not tested the former. Oh yes, and apt-move (but it is SUPER LAME, it doesn't support spaces in filenames, I filed a bug ages ago) :(


Post your comment