好。是的。想要重新开始,因为我有依赖性混淆,所以我运行了“whereis python”并从字面上删除了所有出现的文件和目录。然后当我去运行 apt-get install python 时,我当然会遇到很多错误。有没有办法在 ubuntu 上重新安装 python 而不只是进行干净的擦拭?
这是尝试安装 python 二进制文件的输出:
root@ubuntu14-server:/home/kpoole# apt-get install python
Reading package lists... Done
Building dependency tree
Reading state information... Done
python is already the newest version.
The following packages were automatically installed and are no longer required:
libexpat1-dev libpython-dev libpython2.7-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
15 not fully installed or removed.
After this operation, 0 B of additional disk …Run Code Online (Sandbox Code Playgroud)