[Gllug] CFengine and dpkg/dselect

Russell Howe rhowe at wiss.co.uk
Wed Mar 16 01:12:43 UTC 2005


On Tue, Mar 15, 2005 at 10:58:37PM +0000, Bruce Richardson wrote:
> On Tue, Mar 15, 2005 at 10:44:13PM +0000, Russell wrote:
> > On Tue, Mar 15, 2005 at 09:03:10PM +0000, Rich Walker wrote:
> > > What can I replace the apt-get with, so that the next time I run
> > > dselect/apt-get install from the console of the machine, it does the
> > > install then, and asks the questions then?
> > 
> > dpkg --{set,get}-selections?
> 
> That doesn't install anything, it just sets preferences for what happens
> next time you use (for example) dselect to install packages.

That's what I understood the OP to want... It does mean that he'd have
to use dselect, but that is no bad thing[0] as long as he's not got a
'speciailist' apt configuration (sources.list lines for unstable on a
testing box, for example). dselect will always go for the latest and
greatest packages it can find, which might not always be desirable.

[0] - after doing "echo expert >> /etc/dpkg/dselect.cnf", of course.

-- 
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