[plug] Debian script / automated installation?

Jeff Williams jw at globaldial.com
Sun Sep 1 22:10:17 WST 2002


You probably want to use:

      dpkg --get-selections [pattern...]
              Get  list  of  package  selections, and write it to
              stdout.

       dpkg --set-selections
              Set package selections using file read from  stdin.

Just do:

dpkg --get-selections > packages

Then copy 'packages' to the new machine and do:

apt-get update
dpkg --set-selections < packages
apt-get dist-upgrade

And you should be all done.

Jeff

Daniel wrote:

>Hello All, I have searched the net but may not be looking in the right
>places. I know Mandrake has an option to create a script to do another
>installation with the same properties as your current system.  Can
>anyone tell me what the options are with Debian please? [I have been
>told you could make a dummy package whose dependencies are all the
>packages you want ... but that sounds complex and probably requires a
>base system ... ]
>
>Thanks very much,
>Daniel
>
>
>
>.
>
>  
>

-- 
There are 10 kinds of people in the world, those that can do binary
arithmetic and those that can't.





More information about the plug mailing list