我正在尝试重新安装vim,但我遇到了以下问题。无论我做什么,如果我使用,例如,sudo apt install vim-addon-manager
我得到
Reading package lists... Done
Building dependency tree
Reading state information... Done
vim-addon-manager is already the newest version (0.5.10).
0 upgraded, 0 newly installed, 0 to remove, and 0 not upgraded.
但做vim-addon-manager --version
回报
Command 'vim-addon-manager' not found, but can be installed with:
sudo apt install vim-addon-manager
我必须安装NVIM因为古典的vim我再也无法工作了。
谁能给我提示一下这里发生了什么?原则上,我想要经典的 VIM,而不是其他任何东西,你可以使用sudo apt install vim
.
答案1
看来你需要强制重新安装:
sudo apt reinstall vim-addon-manager
(或者sudo apt install --reinstall ...
如果您的版本apt
早于 1.8.0)。