当我尝试在ubuntu上删除python3.5时,它总是报告错误
sudo apt-get remove python3.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
python3-commandnotfound : Depends: python3-gdbm but it is not going to be installed
python3-pip : Depends: python-pip-whl (= 1.5.4-1ubuntu4) but it is not going to be installed
Recommends: python3-dev (>= 3.2) but it is not going to be installed
python3-software-properties : Depends: unattended-upgrades but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
在这种情况下,我尝试重新安装依赖,但最后,它总是报告像
python3-commandnotfound : Depends: python3-gdbm but it is not going to be installed
python3-pip : Depends: python-pip-whl (= 1.5.4-1ubuntu4) but it is not going to be installed
Recommends: python3-dev (>= 3.2) but it is not going to be installed
我也试过apt-get remove / reinstall / autoremove / update / upgrade,但它无法正常工作。我终于可以看到同样的错误。不会安装依赖文件。 它看起来我已陷入死循环。如何手动删除所有内容?