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

Re: Piped package list



On Wed, 11 Aug 2004 17:42:10 +0100, Thomas Adam wrote:

>> I seem to recall seeing once that one of the package
>> tools (dpkg, apt, or another, I don't remember) could
>> save a package list that could later be piped as input
>> to return a system to an identical list of packages
>> with one command.  Am I crazy, and if not, how is this
>> done?
> 
> One method of cloning debian installs is to take a current debian 
> machine that is setup with the packages you want. Run the  command 
> "dpkg --get-selections > ~/selectionfile". Then, after the base 
> install on other machines use that file and do: "dpkg 
> --set-selections < ./selectionfile && apt-get dselect-upgrade".

The dpkg --get-selections/--set-selections is a great way to save the
energy that you've spent. Yet it is not enough. 

Go to the List-Archive http://lists.debian.org/debian-user/ and follow the
recent thread of "Configuration DB", if you want to save more of your
energy.

Subject:     Configuration DB
Date:        Sat, 07 Aug 2004 14:20:53 -0400

tong





Reply to: