Package: apt Version: 0.7.14 Severity: normal Now that bug 128818 has been dealt with, can we get an rsync like method for packages themselves? For everyone outside the US, bandwidth is still more important than CPU. Bandwidth costs money; cpu doesn't.
I'm thinking in particular of tracking sid, where bloated crap like openoffice and firefox change every second day (with metadata-only changes more often than not), necessitating the download of 100s of megs of basically-unchanged packages (I place openoffice et al on hold, but that's laborious when you do actually need to upgrade things on many hosts). To fix this bug, aptitude and apt-get would have to antipate the name of the file to be next downloaded[1], grab the last version of that file available[2] in the /var/cache/apt/archives cache[3], hardlink/copy it over to the new name, and then run whatever rsync/zsync etc algorithm is chosen to grab the new file. Naturally, the packages would need to be generated with gzip --rsyncable. Make it part of policy, and soon enough all packages will be converted to the rsyncable format (certainly after the first update of each package). [1] Easy, since it's got to download it. [2] Simple heuristic to work out the base, find all the matching files in the cache with this base, find the most recent match based on mtime, then run `dpkg --info` over the match to verify that you have indeed found the right package. Or if that is not accurate and picks up too many packages that aren't matching the one we are trying to update, see whether there is a file in the cache matching the currently installed version. [3] And hell, apt-cacher should deal with this too, so lets make it a library all of the apts can hook into. -- Package-specific info: -- (no /etc/apt/preferences present) -- -- /etc/apt/sources.list -- #deb http://dict-common.alioth.debian.org testing/ deb http://deb.opera.com/opera sid non-free #deb http://deb.samad.com.au/multimedia unstable main deb http://www.debian-multimedia.org sid main deb-src http://www.debian-multimedia.org sid main #deb http://kernel-archive.buildserver.net/debian-kernel trunk main #deb http://kernel-archive.buildserver.net/debian-kernel sid main #apt-cacher: 3142 #apt-proxy: 9999 ###deb http://scuzzie:9999/debian stable main contrib non-free ###deb http://scuzzie:9999/debian testing main contrib non-free ###deb http://scuzzie:9999/debian unstable main contrib non-free ###deb http://scuzzie:9999/debian project/experimental/main/binary-$(ARCH)/ ###deb http://scuzzie:9999/debian/ ../project/experimental main ###deb-src http://scuzzie:9999/debian stable main contrib non-free ###deb-src http://scuzzie:9999/debian testing main contrib non-free ###deb-src http://scuzzie:9999/debian unstable main contrib non-free ###disabled again: #renamed from mirror.internote.on.net to mirror.linux.org.au temporarily for swinburne since throttled to mirror.internode otherwise (20080422) deb http://mirror.internode.on.net/pub/debian stable main contrib non-free deb http://mirror.internode.on.net/pub/debian testing main contrib non-free deb http://mirror.internode.on.net/pub/debian unstable main contrib non-free deb http://mirror.internode.on.net/pub/debian project/experimental/main/binary-$(ARCH)/ deb http://mirror.internode.on.net/pub/debian/ ../project/experimental main #deb-src http://mirror.internode.on.net/pub/debian stable main contrib non-free #deb-src http://mirror.internode.on.net/pub/debian testing main contrib non-free #deb-src http://mirror.internode.on.net/pub/debian unstable main contrib non-free #deb-src http://mirror.internode.on.net/pub/debian project/experimental/main/binary-$(ARCH)/ deb http://ftp.debian.org/debian stable main contrib non-free deb http://ftp.debian.org/debian testing main contrib non-free deb http://ftp.debian.org/debian unstable main contrib non-free deb http://ftp.debian.org/debian project/experimental/main/binary-$(ARCH)/ deb http://ftp.au.debian.org/pub/debian/ ../project/experimental main deb-src http://ftp.debian.org/debian stable main contrib non-free deb-src http://ftp.debian.org/debian testing main contrib non-free deb-src http://ftp.debian.org/debian unstable main contrib non-free #deb-src http://ftp.debian.org/debian project/experimental/main/binary-$(ARCH)/ deb http://security.debian.org/ stable/updates main contrib non-free deb-src http://security.debian.org/ stable/updates main contrib non-free #deb http://snapshot.debian.net/archive/2006/05/04/debian unstable main contrib non-free #deb http://snapshot.debian.net/archive/2006/06/01/debian unstable main contrib non-free #deb http://ftp.au.debian.org/pub/debian/ stable main non-free contrib #deb http://ftp.au.debian.org/pub/debian/ testing main non-free contrib #deb http://ftp.au.debian.org/pub/debian/ unstable main non-free contrib #deb http://ftp.au.debian.org/debian project/experimental/main/binary-$(ARCH)/ #deb http://ftp.au.debian.org/pub/debian/ ../project/experimental main #deb http://mirror.aarnet.edu.au/pub/debian/ stable main non-free contrib #deb http://mirror.aarnet.edu.au/pub/debian/ testing main non-free contrib #deb http://mirror.aarnet.edu.au/pub/debian/ unstable main non-free contrib #deb http://mirror.aarnet.edu.au/debian project/experimental/main/binary-$(ARCH)/ #deb http://mirror.aarnet.edu.au/pub/debian/ ../project/experimental main #deb http://ftp.wa.au.debian.org/debian stable main contrib non-free #deb http://ftp.wa.au.debian.org/debian testing main contrib non-free #deb http://ftp.wa.au.debian.org/debian unstable main contrib non-free #deb http://ftp.wa.au.debian.org/debian project/experimental/main/binary-$(ARCH)/ #deb http://ftp.wa.au.debian.org/debian ../project/experimental main #deb http://ftp.monash.edu.au/pub/linux/debian/ stable main contrib non-free #deb http://ftp.monash.edu.au/pub/linux/debian/ testing main contrib non-free #deb http://ftp.monash.edu.au/pub/linux/debian/ unstable main contrib non-free #deb http://ftp.monash.edu.au/pub/linux/debian/ ../project/experimental main #deb-src http://ftp.wa.au.debian.org/debian/ stable main non-free contrib #deb-src http://ftp.wa.au.debian.org/debian/ testing main non-free contrib #deb-src http://ftp.wa.au.debian.org/debian/ unstable main non-free contrib #deb-src http://ftp.wa.au.debian.org/debian/ ../project/experimental main #deb-src http://mirror.aarnet.edu.au/pub/debian/ stable main non-free contrib #deb-src http://mirror.aarnet.edu.au/pub/debian/ testing main non-free contrib #deb-src http://mirror.aarnet.edu.au/pub/debian/ unstable main non-free contrib #deb-src http://mirror.aarnet.edu.au/pub/debian/ ../project/experimental main #deb http://tonelli.sns.it/pub/mplayer/sarge/ ./ ##deb ftp://ftp.nerim.net/debian-marillat/ stable main ##deb ftp://ftp.nerim.net/debian-marillat/ testing main ##deb ftp://ftp.nerim.net/debian-marillat/ unstable main #deb http://marillat.free.fr/ stable main #deb http://marillat.free.fr/ testing main #deb http://marillat.free.fr/ unstable main #http://debian.video.free.fr/ #deb http://mirror.aarnet.edu.au/pub/debian-non-US stable/non-US main contrib non-free #deb http://mirror.aarnet.edu.au/pub/debian-non-US testing/non-US main contrib non-free #deb http://mirror.aarnet.edu.au/pub/debian-non-US unstable/non-US main contrib non-free #deb-src http://mirror.aarnet.edu.au/pub/debian-non-US stable/non-US main contrib non-free #deb-src http://mirror.aarnet.edu.au/pub/debian-non-US testing/non-US main contrib non-free #deb-src http://mirror.aarnet.edu.au/pub/debian-non-US unstable/non-US main contrib non-free #deb http://security.debian.org/ testing/updates main contrib non-free #deb http://ftp.debian.org/ stable main non-free contrib #deb http://ftp.debian.org/ testing main non-free contrib #deb http://ftp.debian.org/ unstable main non-free contrib #deb http://ftp.debian.org/ ../project/experimental main #temporary #deb http://kanotix.com/files/debian/ ./ -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.25 (SMP w/2 CPU cores) Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages apt depends on: ii debian-archive-keyring 2008.04.16+nmu1 GnuPG archive keys of the Debian a ii libc6 2.7-12 GNU C Library: Shared libraries ii libgcc1 1:4.3.0-5 GCC support library ii libstdc++6 4.3.0-5 The GNU Standard C++ Library v3 apt recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]