1 Problem: every time you use mkchroot.sh the hundreds of megabytes of
2 packages are downloaded again.
4 Solution: set up the approx package to cache these packages.
6 1. install the approx package,
8 % sudo aptitude install approx
10 2. add the following lines to /etc/approx/approx.conf,
12 debian http://http.us.debian.org/debian
13 security http://security.debian.org/
17 % sudo /etc/init.d/approx restart
19 4. follow README, but during the creation of the root filesystem, add
20 the --local-apt-mirror option, like this:
23 --config-type debxo-kde \
25 "deb http://localhost:9999/debian lenny main contrib non-free
26 deb http://localhost:9999/security lenny/updates main contrib non-free" \