我最近安装了Python3.8,一切正常,在终端中成功使用了各种版本的Python。几天后,我打电话给sudo apt update,效果很好,但是当我这样做时,sudo apt upgrade我收到了下面的错误消息。我尝试这样做sudo apt --fix-broken install,但子进程返回了错误代码。
当我尝试sudo apt upgrade
输出时
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
dh-python : Depends: python3-distutils but it is not installed
python3-dev : Depends: python3-distutils (>= 3.6.7-1~) but it is not installed
python3-pip : Depends: python3-distutils but it is not installed
python3-setuptools : Depends: python3-distutils …Run Code Online (Sandbox Code Playgroud)