###常见问题:
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.youkuaiyun.com/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
本文详细介绍了如何修复Vim无法使用、Package没有安装候选、dpkg锁问题,以及Authentication失败的解决方案。包括切换到gedit编辑器、重新安装vim、更新和升级软件包、锁定和杀死dpkg进程等实用技巧。
1441

被折叠的 条评论
为什么被折叠?



