[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: re-using cached .deb files on new installation



I have also had similar thoughts.  One solution is to nfs mount
/var/cache/apt/archives from the first machine as
/var/cache/apt/archives on the second machine.  Then when apt checks for
a package in its archives it finds it already there, and you only need
to download each .deb once for each machine.

Any other method (ie. by adding /var/cache/apt/archive to sources.list
by file:/ or ftp:/) requires you to build a Packages file in that
directory.

Tom

Bill Moseley wrote:
> 
> I'm sure this is a FAQ, so URLs are welcome.
> 
> I'm going from Potato -> Sid (over and over, to learn about installing).
> I'm using the diskette boot method and then a network install.
> 
> Boot, install Potato base system.
> apt-get update / apt-get dist-upgrade
> 
> update sources.list and repeat for Woody, and then for Sid.
> 
> Seems to work, but I'm not sure if that's the "right" or fastest path to
> Sid or not.
> 
> I'll be doing this again on another machine.  Is there a way to use the
> .deb files in /var/cache/apt/archives for a new install to save the network
> time?
> 
> I looked at using "deb file:" in sources.list, but that doesn't seem right.
> 
> Thanks,
> --
> Bill Moseley
> mailto:moseley@hank.org
> 
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: