Re: A sane way to merge config file differences during package installation?



On Sun, 02 Sep 2007 23:01:46 -0500
Ron Johnson <ron.l.johnson@xxxxxxx> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/02/07 04:55, Richard Hartmann wrote:
Everyone will know a message like this:

Configuration file `/etc/sysctl.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** sysctl.conf (Y/I/N/O/D/Z) [default=N] ?

What I would want is something like

M: merge files interactively

which would then call vimdiff, probably via $DIFF_EDITOR
or some other variable if something like it does already exist.

Is anyone aware of any such solution or has good suggestions
on custom-creating it?

Great idea! File a wishlist bug against debconf.

There was a sub-thread about this back in March:

http://lists.debian.org/debian-user/2007/03/msg02895.html

Andrei said that there was work in progress for a merge
option.

Ron Johnson, Jr.

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages