Beautiful!

Matthew that worked a treat!

> apt-proxy does exactly that.

Wowo! This is the one! I installed it and it almost walked into the kitchen
and
baked me a  cake.. almost .. there was a bit of configuring first.

It needed a few things which weren't setup as dependancies (shame .. oh well)
-- it needs rsync (this is a NEW system, remember, the HDD died on the
weekend)
apt-get install rsync

> Packages get saved to /var/cache/apt/archives after download.  You can then
> transfer them out to somewhere more tasty after that.

apt-proxy comes with a neato tool called apt-proxy-import

It requires dpkg-dev (to get info on each package in the archive, to work out
what
structure to put them under.)

You just modify the /etc/apt/sources.list
adding your apt-server as the sources .. (for eg)

deb http://saxon:9999/main woody main contrib non-free
deb http://saxon:9999/non-US woody/non-US main contrib non-free
deb-src http://saxon:9999/main woody main contrib non-free
deb-src http://saxon:9999/non-US woody/non-US main contrib non-free
deb http://saxon:9999/security woody/non-US main contrib non-free

and then update it all

# apt-get update

and then
# apt-proxy-import /var/cache/apt/archives

And then I imported the other three Debian boxes via ...

# mkdir /tmp/ibook_apt && cd /tmp/ibook_apt && ssh 192.168.1.112 tar cvfz - -C
/var/cache/apt archives | tar xfz -
# apt-proxy-import /tmp/ibook_apt/archives

remove those and do next box..

> [1] Minty-fresh breath not guaranteed.

Mmmm .. Minty-fresh breath obtained.

ramon




-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to