Package 'vim' has no installation candidate

view full story

http://serverfault.com – I installed ubuntu inside windows 7 using VMware. I wanted to execute a c program in ubuntu. when I tried I got like this, b@ubuntu:~/examples$ vim a.c The program 'vim' can be found in the following packages: * vim * vim-gnome * vim-tiny * vim-gtk * vim-nox Try: sudo apt-get install <selected-package> b@ubuntu:~/examples$ sudo apt-get install vim [sudo] password for b: Reading package lists... Done Building Dependency tree Reading state information... Done Package vim is not available, but is referred to by another Package. This may mean that the package is missing, has been obse (HowTos)