[softupdate] force-confnew on specific package.

Darshaka Pathirana dpat at syn-net.org
Thu Mar 18 15:37:47 CET 2010


Hi!

I just stubled over [1] and wonder how one can set "--force-confnew"
when attempting a softupdate on a specific package.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=313397

For now I've created /etc/apt/apt.conf.d/90mypackage:

DPkg
{
   Options {"--force-confnew";}
}

So the question is: how do I set this option on a specific package
just for a softupdate. (I would like to have this file removed after softupdate.)

Do I have to write a hook to remove this file afterwards?

Thx && HAND,
 - Darsha


More information about the linux-fai mailing list