Re: re-using cached .deb files on new installation
On Sun, Feb 17, 2002 at 08:06:23PM -0800, Bill Moseley wrote:
> 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.
If you want to cheat, go to console and edit sources.list to start with
unstable without installing packages from stable. I used to do it.
ALT-F2 is your friend.
> 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.
Set up proxy on your net. I do this with squid.
Or NFS mount/copy any deb already downloaded to /var/cache/apt/archives
then it will not download. So I heard.
> 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?
Yep. apt, I heard, will not download files already downloaded.
Maybe you need to run apt-get update? I think I did this few times but
not sure.
squid gives speed up for all package activity transparently. Less
hassle.
> I looked at using "deb file:" in sources.list, but that doesn't seem right.
No
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D
Visit Debian reference http://www.debian.org/doc/manuals/quick-reference/
There are 6 files: index.{en|fr|it}.html quick-reference.{en|fr|it}.txt
I welcome your constructive criticisms and corrections.
Reply to: