* da...@lang.hm <da...@lang.hm> [100423 16:46]:
> hopefully this is a quick answer fro someone
> 
> I am scripting a upgrade on a debian derived system and one particular 
> package insists on prompting me for infomation. I don't want to have to 
> have someone sit and tell it to shutup on each of a couple hundred 
> systems.
> 
> I know there is a preseeding option for this, but what I'm finding from a 
> google search is horrible overkill (talking about requireing an initrd, 
> etc. I'm not rebuilding the machine, just scripting one dpkg -i command)
> 
> anyone have a quick pointer they can send me?
> 

Setting the environment variable DEBIAN_FRONTEND=noninteractive will
prevent dpkg from being interactive.

If you're comfortable with just sticking with your old configs you can
also add this line to /etc/dpkg/dpkg.cfg:

    force-confold

My cfengine invocations of dpkg run that way.

Ben

-- 
________________________________________________________________________
PGP (318B6A97):  3F23 EBC8 B73E 92B7 0A67  705A 8219 DCF0 318B 6A97

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Discuss mailing list
Discuss@lopsa.org
http://lopsa.org/cgi-bin/mailman/listinfo/discuss
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to