小编sha*_*_07的帖子

无法从 ubuntu 20.04LTS 中删除 python 3.10

Ubuntu 20.04 附带 python 3.8 作为默认版本。我通过添加deadsnakes ppa安装了python 3.10。运行“sudo apt remove python3.10”时出现以下错误。

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:
python3.10-minimal : Depends: libpython3.10-minimal (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is to be installed
                  Recommends: python3.10 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)

我该如何解决?我按照建议运行了“sudo apt --fix-broken install”;它给出以下错误:

Reading …
Run Code Online (Sandbox Code Playgroud)

gnome python apt python3

6
推荐指数
1
解决办法
9293
查看次数

标签 统计

apt ×1

gnome ×1

python ×1

python3 ×1