Or you can use apt-proxy. You can choose 1 workstation as your
apt-proxy server. Then point other machines to this apt-proxy.
apt-proxy will cache downloaded packages by any of the workstation
that use the apt-proxy server as a mirror. Hope that helps.

On 3/24/06, Dominique Cimafranca <[EMAIL PROTECTED]> wrote:
> Hi, all,
>
>  I was reinstalling Ubuntu (Breezy Badger) on a couple of my machines.  As
> you know, after the installation, Ubuntu looks for the updated files.  Given
> the age of Breezy, it's now at 74MB worth of files to download.
>
>  Rather than update each machine, I only updated one.  I then copied the
> downloaded deb files to the other machine and created a custom repository so
> that it wouldn't have to download these files anymore.  In case someone out
> there is going through the same situation, I'm posting the steps.
>
>  Here are the steps I took:
>
>  1) Downloaded the update files to the target machine machine.  deb files
> are in /var/cache/apt/archives.  Copied the deb files to the target machine.
>  (in this case, /home/dominique/debs)
>
>  2) Installed the dpkg-dev package on the target machine.  We need this
> because of dpkg-scanpackages command, not installed by default.
>
>  3) In the debs directory (containing the packages), run
>
>        dpkg-scanpackages . /dev/null | gzip > debs/Packages.gz
>
>  This will create /home/dominique/debs/debs/Packages.gz
>
>  4) Launched synaptic, cleared out the repositories (just in case)
>
>  5) In Synaptic, added new custom repository
>
>  deb file:/home/dominique/debs debs/
>
>  6) Rescan repositories.  Synaptic should see the files to be upgraded.
> Mark all upgrades, then apply.
>
>
>  This sequence can be adapted for a local network repository.
>
>  I hope this helps.  If someone can suggest refinements, please do so.
> Thanks.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to