系统Ubuntu 14.04
由https://www.cnblogs.com/songfucai/p/7976623.html
执行卸载python3.4:
sudo apt-get remove --purge python3.4
哈哈,卸载掉了桌面相关的依赖,浏览器啥也没有了啊 我吓得都不敢重启,生怕起不来系统。
幸好我浏览器还没关,我百度到了下面命令修复:
sudo apt-get install ubuntu-minimal ubuntu-standard ubuntu-desktop
原来我白高兴了 不行。哈哈哈
重新百度如下:
1、按ctrl+alt+f1 进入命令行界面,然后 输入你的账号跟密码。不要跟我说你不知道账号在哪里找?不然我只能说你不适合这个世界。
2、输入下面命令
sudo dpkg --configure -a
3、输入下面命令
sudo apt install -f
4、输入下面命令
sudo apt-get install ubuntu-minimal ubuntu-standard ubuntu-desktop
5、等待安装结束重启,问题解决
还有个修复:
ctrl+alt+F1进入console
sudo apt-get install ubuntu-minimal ubuntu-standard ubuntu-desktop
sudo reboot