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

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?

Thanks,
Richard

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

A sane way to merge config file differences during package insta

Hi,

On Sun, Sep 02, 2007 at 11:55:05AM +0200, Richard Hartmann wrote:
> 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.

I'd like that too. At the moment I just hit Z to suspend and then
do vimdiff manually.

Cheers,
Andy

A sane way to merge config file differences during package insta

-----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.

- --
Ron Johnson, Jr.
Jefferson LA USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG24cqS9HxQb37XmcRAhBCAJ9iZfnQMCJ2kOwngrPikn5pkFLxzgCffNhT
GQeKAXwzNrtxALBXw0JunZc=
=j1cH
-----END PGP SIGNATURE-----

--

A sane way to merge config file differences during package insta

On Sun, 02 Sep 2007 23:01:46 -0500
Ron Johnson 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

--

A sane way to merge config file differences during package insta

On Tue, Sep 04, 2007 at 09:39:27AM -0400, Celejar wrote:

> > 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.

Huh, I must be getting old, I can barely remember that. I think I got
that from debian-devel.

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Syndicate content