Ubuntu上下左右键以及删除键错乱问题
由于ubuntu 预安装的是tiny版本,导致上述问题,安装vim的full版本后,就正常了。
解决方法:
卸载tiny版本
sudo apt-get remove vim-common
安装full版本
sudo apt-get install vim
(y,继续运行)
可能出现的报错:
当Ubuntu install某个东西时,给出下面提示
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarly unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is an other process using it?
删除锁定文件,重试
sudo rm /var/lib/dpkg/lock-frontend
sudo rm /var/lib/dpkg/lock