Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sometimes when you perform packages updates, you'll be prompted with action to take when apt tries to update packages which contain updated configs.

I'd like to know if there's a way to invoke vimdiff in place of diff when pressing D in this question.

Configuration file `/etc/gnome/defaults.list'
 ==> 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     : start a shell to examine the situation
 The default action is to keep your current version.
*** defaults.list (Y/I/N/O/D/Z) [default=N] ? D
share|improve this question
There is an open feature request: bug #473996 – beerbajay May 20 '13 at 19:12
up vote 1 down vote accepted

I wish there was (I should do something about that, I suppose). But no.

However, you can do:

  • Press Z.
  • vimdiff /etc/gnome/defaults.list{,.dpkg-new}
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.