aboutsummaryrefslogtreecommitdiff
path: root/content/posts/2003-12-15-poor-man-s-debian-mirror.html
blob: d58819ce58a0f3de1411fa583cd3fe009a3c2d99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
date: "2003-12-15T12:07:09Z"
title: Poor Man's Debian Mirror
---

<p>
I'm not sure if I've posted this before, but if you <a href='http://www.debian.org/'>Debian</a> users drop this in root's crontab, you'll save a whole lot of download time:
</p>

<pre>
# cache latest packages at 5am
1 5 * * * apt-get -q update &amp;&amp; apt-get -qfmuy --download-only dist-upgrade
</pre>

<p>
That'll cache the latest packages every morning.  This isn't my idea, I stole it from <a href='http://www.linuxbrit.co.uk/'>Tom (giblet)</a>, and I have no idea who he stole it from.
</p>