By default, when overwriting config files, dpkg will ask about it and
the default action will be no. On Desktop systems with inexperienced
users, the default action may not be a good idea (for .e.g. when
updating sudoers).
So is there a way to preserve only some conf files and overwrite the
rest (as default action)? These configuration files are the ones that
the admin modified so they should remain the default.
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4ED3CA00.5050002@gmail.com">http://lists.debian.org/4ED3CA00.5050002@gmail.com
11-28-2011, 06:22 PM
Raphael Hertzog
Only preserve a few conf files.
Hello,
On Mon, 28 Nov 2011, dE . wrote:
> By default, when overwriting config files, dpkg will ask about it
> and the default action will be no. On Desktop systems with
> inexperienced users, the default action may not be a good idea (for
> .e.g. when updating sudoers).
>
> So is there a way to preserve only some conf files and overwrite the
> rest (as default action)? These configuration files are the ones
> that the admin modified so they should remain the default.
Please ask such questions to debian-user@lists.debian.org.
debian-dpkg@lists.debian.org is about the development of dpkg.
(There's the --force-confnew switch that you can use but it
can't be selectively applied only for some configurations files. It's an
all or nothing kind of option.)
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Pre-order a copy of the Debian Administrator's Handbook and help
liberate it: http://debian-handbook.info/go/ulule-rh/
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111128192213.GB11570@rivendell.home.ouaza.com">h ttp://lists.debian.org/20111128192213.GB11570@rivendell.home.ouaza.com
11-28-2011, 09:24 PM
Jonathan Nieder
Only preserve a few conf files.
Hi,
On Mon, Nov 28, 2011 at 08:22:13PM +0100, Raphael Hertzog wrote:
> On Mon, 28 Nov 2011, dE . wrote:
>> By default, when overwriting config files, dpkg will ask about it
>> and the default action will be no. On Desktop systems with
>> inexperienced users, the default action may not be a good idea (for
>> .e.g. when updating sudoers).
>>
>> So is there a way to preserve only some conf files and overwrite the
>> rest (as default action)? These configuration files are the ones
>> that the admin modified so they should remain the default.
>
> Please ask such questions to debian-user@lists.debian.org.
Actually I think this question was about a bug in the sudo package, so
the existing report about it against the sudo package would be the
right place to start.
Luckily it has already been fixed:
| sudo (1.8.3p1-2) unstable; urgency=low
|
| * if upgrading from squeeze, and the sudoers file is unmodified, avoid
| the packaging system prompting the user about a change they didn't make
| now that sudoers is a conffile, closes: #612532, #636049
dE, the behavior you propose is already the default behavior of dpkg.
Hope that helps,
Jonathan
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111128222436.GB20677@elie.hsd1.il.comcast.net">h ttp://lists.debian.org/20111128222436.GB20677@elie.hsd1.il.comcast.net
11-29-2011, 07:09 AM
"dE ."
Only preserve a few conf files.
On 11/29/11 03:54, Jonathan Nieder wrote:
Hi,
On Mon, Nov 28, 2011 at 08:22:13PM +0100, Raphael Hertzog wrote:
On Mon, 28 Nov 2011, dE . wrote:
By default, when overwriting config files, dpkg will ask about it
and the default action will be no. On Desktop systems with
inexperienced users, the default action may not be a good idea (for
.e.g. when updating sudoers).
So is there a way to preserve only some conf files and overwrite the
rest (as default action)? These configuration files are the ones
that the admin modified so they should remain the default.
Please ask such questions to debian-user@lists.debian.org.
Actually I think this question was about a bug in the sudo package, so
the existing report about it against the sudo package would be the
right place to start.
Luckily it has already been fixed:
| sudo (1.8.3p1-2) unstable; urgency=low
|
| * if upgrading from squeeze, and the sudoers file is unmodified, avoid
| the packaging system prompting the user about a change they didn't make
| now that sudoers is a conffile, closes: #612532, #636049
dE, the behavior you propose is already the default behavior of dpkg.
Hope that helps,
Jonathan
Yeah, I did modify the sudoers file. Thanks. Now I use sudoers.d
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4ED4931C.4080409@gmail.com">http://lists.debian.org/4ED4931C.4080409@gmail.com