I want installed vim 6.2 and had not installed vim 6.1 When I edit any file, I have this message. >Error detected while processing /etc/vim/vimrc: >line 47: >E484: Can't open file /usr/share/vim/vim61/syntax/syntax.vim I think the file vim/vimrc must be modified and change '/usr/share/vim/vim61/syntax/syntax.vim' to '/usr/share/vim/vim62/syntax/syntax.vim' Reproducible: Always Steps to Reproduce: 1. vim "any file" 2. 3. Actual Results: Error detected while processing /etc/vim/vimrc: line 47: E484: Can't open file /usr/share/vim/vim61/syntax/syntax.vim Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://files.gentoo.gr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde gnome libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis pdflib png qt quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline X gpm pam ssl python imlib gtk acpi alsa -arts cdr dvd gtk2 junit ldap mozilla perl plotutils sasl scanner -tcpd tiff usb wmf opengl ofx"
no file /etc/env.d/40vim In this file (vim 6.1) VIMRUNTIME=/usr/share/vim/vim61 To resolv this bug, add a file /etc/env.d/40vim VIMRUNTIME=/usr/share/vim/vim62
could you attach your /etc/vim/vimrc?
Created attachment 19471 [details] /etc/vim/vimrc It 's the orignal vimrc from ebuild package.
this is a relict from the 6.1 ebuild, there is a warning about it in the 6.2 version.
when update vim 6.1 to 6.2, the old files from vim 6.1 are not removed.
That's because /etc is CONFIG_PROTECT(ed) but there is a warning about this in pkg_postinst.
But /usr/share/vim/vim61 isn't protected ? Why this directory and all contains are not removed ?
emerge gentoolkit qpkg -f /usr/share/vim/vim61/syntax/syntax.vim
/usr/share/vim/vim61/syntax/syntax.vim not find
so what content do you have in your vim61 dir ;)