On Tue, 1 Dec 1998, Ben Collins wrote:

> On Wed, Dec 02, 1998 at 12:49:12AM +0100, Ben Jorgensen wrote:
> > I'll take the suggestion first :)
> > 
> > Wouldn't it be nice if a configuration of all installed packages could be
> > saved in some data file that you could put on a disk and whenever you want
> > to install a new machine or go back to this good configuration you just
> > load the data-file into dselect or whatever program that gets/installs
> > packages. Some different default configs could also be shipped with
> > the dist to be used by new debian people.
> > 
> > Maybe this is already possible? Tell me please!
> 
> You could copy your /var/lib/dpkg/status file and replace lines like:
> 
>       Status: install ok installed
> with:
>       Status: install ok not-installed
> 
> Then after installing the base system replace the status file with your
> copy and startup dselect.

Would dpkg --get-selections >> foo
        dpkg --set-selections << foo

not do this?

Matthew

-- 
Elen sila lumenn' omentielvo

Steward of the Cambridge Tolkien Society
Selwyn College Computer Support
http://www.geocities.com/Area51/Chamber/8841/
http://www.cam.ac.uk/CambUniv/Societies/tolkien/
http://pick.sel.cam.ac.uk/

Reply via email to