J'ai rencontré un petit soucis lors de la tentative d'installation de Vim sur Debian, avec un message d'erreur
# apt-get install vim
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
vim : Depends: vim-common (= 2:7.2.445+hg~cb94c42c0e1a-1) but 2:7.3.035+hg~8fdc12103333-1 is to be installed
E: Broken packages
# apt-get install vim-common vim
Reading package lists... Done
Building dependency tree
Reading state information... Done
vim-common is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
vim : Depends: vim-common (= 2:7.2.445+hg~cb94c42c0e1a-1) but 2:7.3.035+hg~8fdc12103333-1 is to be installed
E: Broken packages
La solution pour y remédier était juste de désinstaller vim-common, puis d'installer Vim de suite après et tout est bon.
# apt-get remove vim-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
xulrunner-1.9.1
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
vim-common vim-tiny
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 1,114 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 116281 files and directories currently installed.)
Removing vim-tiny ...
update-alternatives: using /usr/bin/see to provide /usr/bin/view (view) in auto mode.
Removing vim-common ...
Processing triggers for man-db ...
Une fois l'application terminée, vous pouvez lancer vimtutor pour apprendre les bases concernant l'utilisation de Vim dans un terminal
$ vimtutor