I've just installed a LAMP appliance. But when I try to run apt-get install vim, I get a broken packages message.
The following packages have unmet dependencies:
vim: Depends: vim-common (= 1:7.1-138+1ubuntu3.1) but 1:7.1.293-2ubuntu1 is to be installed
E: Broken packages
Even after apt-get upgrade, I still get the same error message.