我安装了一个windwos子系统KALI
自带VI方向键乱跳,删除键也不能用。
┌──(root㉿yubai)-[/]
└─# apt remove vim-common
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libc-bin : Depends: libc6 (< 2.34) but 2.36-4 is to be installed
Recommends: manpages but it is not going to be installed
vim-tiny : Depends: vim-common (= 2:9.0.0135-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
┌──(root㉿yubai)-[/]
└─# apt install vim
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libc-bin : Depends: libc6 (< 2.34) but 2.36-4 is to be installed
Recommends: manpages but it is not going to be installed
vim : Depends: vim-common (= 2:9.0.0813-1) but 2:9.0.0135-1 is to be installed
Depends: vim-runtime (= 2:9.0.0813-1) but it is not going to be installed
Depends: libgpm2 (>= 1.20.7) but it is not going to be installed
Depends: libsodium23 (>= 1.0.14) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
┌──(root㉿yubai)-[/]
└─#
自带VI方向键乱跳,删除键也不能用。我只想改个源而已,这编辑器太痛苦了
我尝试安装vim,但是报错。
vi的删除和上下左右好像要先esc切换模式,反正我是受不了直接升级vim,不知道这个你试过没有
http://t.zoukankan.com/yugengde-p-8638829.html