Bug#257538: vim's syntax error

Pierre Habouzit Pierre Habouzit <madcoder@madism.org>, 257538@bugs.debian.org
Tue, 15 Mar 2005 09:15:50 +0100

On Sun, Jul 04, 2004 at 12:09:56PM +0800, ee_halcyon@sohu.com wrote:
> Package: vim
> Version: 1:6.2-532+4
> Severity: normal
> after upgrade, when i run vi, there are some error as discribe below
> Error detected while processing /usr/share/vim/vimrc:
> line   34:
> E484: Can't open file /usr/share/vim/syntax/syntax.vim
> Hit ENTER or type command to continue

  do you still experience the bug ?

  if yes, can you reproduce it with :

    vim -u NONE -U NONE

  and then type in vim :

    :syntax on

  on my box, I cannot reproduce the problem.


  this can happen if you didn't upgrade your /etc/vim/{g,}vimrc that
should have in the firsts lines :

  set runtimepath=3D~/.vim,/etc/vim,/usr/share/vim/vimfiles,/usr/share/vi=

  since syntax/syntax.vim now lives in /usr/share/vim/vim63

  If you don't have /usr/share/vim/vim63 in the runpath, then the prolem
is here

  non vimrc upgrade may come from the fact that you locally modified
/etc/vim/{g,}vimrc and that you refused to apply maintainer changes to
the file.  if it is the case, please consider using
/etc/vim/{g,}vimrc.local to put your changes in (the files are
auto-saved) and then, if you have (and I guess they will exists) some
/etc/vim/{g,}vimrc.dpkg-new, please consider using them to replace your
current /etc/vim/{g,}vimrc files.

=B7O=B7  Pierre Habouzit
OOO                                                http://www.madism.org