This repository has been archived by the owner on Apr 16, 2019. It is now read-only.
forked from gianm/zsync
/
client.gtml
43 lines (35 loc) · 1.82 KB
/
client.gtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#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) — 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"