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

The /etc/vim directory and the symlinks from /usr/share/vim to it are missing. Does anyone know how to re-create the directory and links?

I've already tried:

sudo apt-get purge vim
sudo apt-get install vim
share|improve this question
Did you delete them, or did they just disappear somehow? – Kris Harper Nov 1 '11 at 16:55

You need to force apt-get to reinstall the package files, since a regular 'install' command will take shortcuts. You may also need to reinstall some of the other vim-related packages. Try this:

sudo apt-get install --reinstall vim vim-common
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.