Re: Dselect question - mirroring packages on new box
anthonyg@orangemail.com.au (Anthony Green) wrote:
>Just a quick Dselect question.
>
>I have a box running Deb 2.1 using dselect and apt, which main hd now has
>errors everywhere .. so im about to blow away space on another hd and do
>a re-install of debian etc. time for a cleanup anyways.
>
>Is there a way to copy the exact package list of what I have installed now
>over to the new box ? .. so that when i run dselect on the new box .. all
>the packages that i now have will be selected .. and it will just start
>downloading and installing them etc.
You'll want to look at 'dpkg --get-selections' on the old box, and 'dpkg
--set-selections' on the new one.
HTH,
--
Colin Watson [cjw44@cam.ac.uk]
Reply to: