Bug#236468: apt: --reinstall should allow to renew configuration files
On Tue, 9 Mar 2004, Scott James Remnant wrote:
> On Tue, 2004-03-09 at 13:36, Martin Michlmayr wrote:
> > * Matt Zimmerman <firstname.lastname@example.org> [2004-03-08 21:03]:
> > > This behaviour is managed by dpkg, and apt does not override it. You are
> > > correct that by default, dpkg does not do anything about a missing
> > > configuration file (this is considered a configuration change by the
> > > administrator, and preserved). You can override that with --force-confmiss
> > > (a dpkg option, not an apt option).
> > BTW, this may be a stupid question, but is there a way to tell apt to
> > pass some options to dpkg? I needed this the other day and couldn't
> > easily find it.
> apt-get -o Dpkg::options=...
apt-get -o Dpkg::Options::=--first-arg -o Dpkg::Options::=--second-arg
The apt option key is case insensitive. Note the trailing ::.