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

Re: Image disk for debian



On Wed, Jun 20, 2001 at 04:10:55PM +0200, Teun Vink wrote:
> > Is there a way of selecting packages and storing them in a flat text
> > file, that debian uses to reference in the installation procedure.
> 
> dpkg --get-selections > file
> dpkg --set-selections < file
>
> should do the trick if you only want to store package names...

if you want the status of all packages (including purged/removed
packages) to be included, then use:

   dpkg --get-selections "*" > file


without the "*", --get-selections only outputs the status of installed
packages.

craig

-- 
craig sanders <cas@taz.net.au>

Fabricati Diem, PVNC.
 -- motto of the Ankh-Morpork City Watch



Reply to: