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

Re: the apt-get cache, backing up and using to install debain on another machine

On Sun, Oct 06, 2002 at 02:15:57PM -0500, Jason Pepas wrote:
> On Sunday 06 October 2002 13:20, Jim Hribar wrote:
> > I used apt-get to install the packages I wanted on my Debian machine
> > after a "network install".  I know that apt-get caches downloads so you
> > don't have to download the packages more than once.
> >
> > How could I backup these "cached" packages?  Where are they? I intend
> > just to move them to another machine using ftp.
> /var/cache/apt/archives

As someone else mentioned, apt-proxy will do this nicely.  I've also had
good experiences with apt-move and apache.  If you're just doing this
once tho, your ftp idea is fine.

> > Additionally, I want to install Debian on another machine (I have no
> > CDs, just the network-install disks).  Could I somehow install Debian
> > (fresh) by pointing the install to my current machine and/or package
> > cache?
> on old machine:
> dpkg --get-selections > selections.txt
> on new machine:
> cat selections.txt | dpkg --set-selections
> apt-get install

I think you want to do `apt-get dselect-upgrade' instead.


Attachment: pgpWD7YTGbBwJ.pgp
Description: PGP signature

Reply to: