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

Re: Installing a new machine with a selected list of package ...



Hi ALL,

    Yeah, I think the person that kmself was resopnding to left out
doing the 'apt-get update' before doing the 'dselect install'.


     Just to let you know, I made a script that does this.... if your
interested in it. It just makes doing these several commands easier. You
know, automates the process, plus it stores the package state on  a
floppy. That way if your system needs a re-install from scratch, you can
get back to having your same exact packages again. It's real good for
replicating the package state of a system to others. But, as shown in
the letter below, it can be done by entering several commands on the
command line. If your interested though, my script can be found at
sourceforge and freshmeat and it's called 'clone-debian'.


Regards,

Jimmy Richards




On 19 Mar 2001 13:34:24 -0800, kmself@ix.netcom.com wrote:
> on Thu, Mar 15, 2001 at 06:36:19PM +0100, Bruno BEAUFILS (Bruno.Beaufils@lifl.fr) wrote:
> > 
> > I would like to install my new laptop with the same packages as those
> > installed on my desktop (which is a sid debian).
> > 
> > So I installed a basic potato debian without selecting any packages, then after
> > the first reboot I mount (via NFS) a directory where I stored a debian ftp
> > site mirror plus some specific packages (a home made kernel (build with
> > kernel-package) and such packages (alsa-modules, pcmcia-modules)).
> > 
> > I configure apt such that it looks for package on this nfs mounted directory.
> > 
> > I then installed my own packages (kernel, pcmcia, etc.) reboot the system,
> > then I do on my desktop
> > 
> > dpkg --get-selections > mylist
> > 
> > and on my laptop
> > 
> > cat mylist | dpkg --set-selections 
> > 
> > I have then done a :
> > 
> > dselect install
> 
> I believe what you want to do is 'apt-get update' rather than run
> deselect at this point.
> 
> -- 
> Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
>  What part of "Gestalt" don't you understand?       There is no K5 cabal
>   http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org



Reply to: