aboutsummaryrefslogtreecommitdiff
path: root/content/posts/2003-12-15-poor-man-s-debian-mirror.html
diff options
context:
space:
mode:
Diffstat (limited to 'content/posts/2003-12-15-poor-man-s-debian-mirror.html')
-rw-r--r--content/posts/2003-12-15-poor-man-s-debian-mirror.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/content/posts/2003-12-15-poor-man-s-debian-mirror.html b/content/posts/2003-12-15-poor-man-s-debian-mirror.html
new file mode 100644
index 0000000..d58819c
--- /dev/null
+++ b/content/posts/2003-12-15-poor-man-s-debian-mirror.html
@@ -0,0 +1,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>
+