问题遇到的现象和发生背景
我安装了一个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,但是报错。