Re: Centralizing apt-get downloads
On Tue, Sep 18, 2001 at 11:17:19AM -0400, Andrew Perrin wrote:
> My question is this: effectively, each time they upgrade, I'm downloading
> three copies of each package separately. Is there a relatively easy way to
> archive the files locally and have the two boxen behind the ipmasq'ed
> computer just get their updates from it?
Sure. Here are three:
- Check out the apt-move package if you want to build your own
partial mirror of the official archives
- Roll your own archive using dpkg-scanpackages if you don't want
updates to come down automatically
- Use NFS to export /var/cache/apt to all machines - apt-get update
will run separately on each box, but when it comes time to install
packages, they're already in /var/cache/apt/archives, so they won't
be re-downloaded
--
With the arrest of Dimitry Sklyarov it has become apparent that it is not
safe for non US software engineers to visit the United States. - Alan Cox
"To prevent unauthorized reading..." - Adobe eBook reader license
Reply to: