小编OMY*_*OMY的帖子

Ubuntu 20.04 升级包的问题

我在升级 Ubuntu 软件包时遇到错误,它建议运行apt --fix-broken install,但这样做并没有成功。我进行了搜索,发现的唯一答案是删除我不愿意做的软件包,因为我可能会把它搞砸。

python3.10几个月前安装了,我的项目依赖它。

  • sudo apt-get upgrade
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:
 libpython3.10 : Depends: libpython3.10-stdlib (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
 libpython3.10-dev : Depends: libpython3.10-stdlib (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
 python3.10 : Depends: libpython3.10-stdlib (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
 python3.10-minimal : Depends: libpython3.10-minimal (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
E: Unmet dependencies. …
Run Code Online (Sandbox Code Playgroud)

package-management apt dpkg dependencies

0
推荐指数
1
解决办法
1472
查看次数

标签 统计

apt ×1

dependencies ×1

dpkg ×1

package-management ×1