#include "header.gtml"
<title>zsync Client Use</title>
#include "head.gtml"

<h2>Debian Package Lists</h2>

<p>I am offering .zsync's for the main Debian Packages files (downloading these rather bulky files is a daily nuisance for Debian users) &#8212; these are updated every 30 minutes. Feel free to use them:</p>
<p style="font-family: monospace;">
$ zsync -i /var/lib/apt/lists/<i>server</i>.debian.org_debian_dists_lenny_main_binary-i386_Packages http://zsync.moria.org.uk/s/lenny/Packages.zsync <br />
$ su root <br />
$ mv Packages /var/lib/apt/lists/<i>server</i>.debian.org_debian_dists_lenny_main_binary-i386_Packages
</p>

<p>Or for etch:</p> 
<p style="font-family: monospace;">
$ zsync -i /var/lib/apt/lists/<i>server</i>.debian.org_debian_dists_etch_main_binary-i386_Packages http://zsync.moria.org.uk/s/etch/Packages.zsync <br />
$ su root <br />
$ mv Packages /var/lib/apt/lists/<i>server</i>.debian.org_debian_dists_etch_main_binary-i386_Packages
</p>

<p>Or for unstable:</p> 
<p style="font-family: monospace;">
$ zsync -i /var/lib/apt/lists/<i>server</i>.debian.org_debian_dists_unstable_main_binary-i386_Packages http://zsync.moria.org.uk/s/unstable/Packages.zsync <br />
$ su root <br />
$ mv Packages /var/lib/apt/lists/<i>server</i>.debian.org_debian_dists_unstable_main_binary-i386_Packages
</p>

<p>Typicaly zsync only has to download the ~70kB control, file, and ~100kB to update the local Packages file. It's a big saving on downloading the whole file.</p>
<blockquote>
<pre>
#################### 100.0% 14.3 kBps DONE     

Read Packages. Target 98.9% complete.      
downloading from
http://ftp.uk.debian.org/debian/dists/sarge/main/binary-i386/Packages.gz:
#################### 100.0% 16.8 kBps DONE     8 ETA  

verifying download...checksum matches OK
used 12400640 local, fetched 71487
</pre>
</blockquote>

#include "foot.gtml"
