Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.