[Gllug] CFengine and dpkg/dselect

Russell Howe rhowe at wiss.co.uk
Thu Mar 17 00:30:16 UTC 2005


On Wed, Mar 16, 2005 at 05:02:06PM +0000, Rich Walker wrote:
> echo docbook-ebnf install | dpkg --set-selections
> 
> does what you'd expect, so that's that sorted :->

--set-selections should accept the output of --get-selections IIRC so
you could use that as a guide.

You can use this to get the same package set installed on multiple
machines, for example...

machine1# dpkg --get-selections > ~/selections
machine1# scp ~/selections machine2: # Ignoring the ssh as root...
machine2# dpkg --set-selections < ~/selections
machine2# dselect

-- 
Russell Howe       | Why be just another cog in the machine,
rhowe at siksai.co.uk | when you can be the spanner in the works?
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list