我使用此命令卸载python后,一半的OS不再工作
sudo apt-get remove --auto-remove python
就像sudo不能正常工作我给了这个命令
sudo apt-get install python3.7
bash: /usr/bin/sudo: No such file or directory
并且我的LXDE不起作用并且网络无法正常工作
我该怎么办?
Python,perl和sh / bash / dash是debian的主要解释器。许多重要的debian脚本和软件包都依赖于这三个脚本之一。您不能删除它,而仅当您真正知道自己在做什么时才可以删除它。您可以使用以下方法再次安装它:
#become root with
su -
apt-get install python
您可能还删除了桌面环境。以root用户身份从命令行启动taskel,以安装您选择的桌面环境。