###常见问题:
1、vi不能够正常使用时:
a、用gedit进行编辑;
b、删除重新安装:sudo apt-get remove vim-common;sudo apt-get install vim
c、gedit /etc/vim/vimrc
set nocompatible
set backspace=2 //效果不佳
2、遇见Package has no installation candidate问题时:
sudo apt-get update
sudo apt-get upgrade
3、出现Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend)问题解决:
https://blog.csdn.net/shimadear/article/details/90598646
ps aux | grep -i apt
sudo kill -9 <process id>
4、Authentication failure解决办法
1.sudo passwd root
2.输入当前账户密码
3.输root账户密码
4.重复输入root账户密码
###删除目录:rm -rf xxx