On Fri, 2010-07-02 at 14:42:44 +0200, Daniel Bock wrote:
Am 02.07.2010 13:43, schrieb Guillem Jover:
I might have missed something but isn't:
$ dpkg --force-confmiss --force-confnew -i foo.deb
what you are looking for (given the patch you've sent)?
(Regardless of the prospective dpkg-conffile support etc).
No, it's definitely not.
--force-confmiss --force-confnew
are just for file conflicts, which are not handled automatically.
Edit your
/etc/dhcp3/dhclient.conf
and try your command. It won't be replaced.
Ah! Ok, so it seems I missread your mail. Yes, this was already filed
as bug #102609, for which Henning Makholm had provided a really simple
patch, that I've now merged (after little shoehorning into the current
code). It adds a new --force-confask, which can optionally be combined
with either --force-confnew and --force-confmiss:
<http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=bd0ae9a4>
And the new functional test for it:
<http://git.debian.org/?p=dpkg/pkg-tests.git;a=commitdiff;h=e980657b>
regards,
guillem