相关疑难解决方法(0)

以下软件包具有未满足的依赖项 python 3.7

在尝试安装时随机出现此错误,sudo apt-get upgrade并且已经尝试运行 apt-get -f安装但没有成功,我该怎么办?

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:
 libpython3.7-stdlib : Depends: libpython3.7-minimal (= 3.7.3-1+xenial1) but 3.7.3-2~16.04.york0 is installed
 python3.7 : Depends: libpython3.7-stdlib (= 3.7.3-2~16.04.york0) but 3.7.3-1+xenial1 is installed
E: Unmet dependencies. Try using -f.
Run Code Online (Sandbox Code Playgroud)

编辑:

apt policy python3.7 libpython3.7-stdlib libpython3.7-minimal输出

python3.7:
  Installed: 3.7.3-2~16.04.york0
  Candidate: 3.7.3-2~16.04.york0
  Version table:
 *** 3.7.3-2~16.04.york0 500
        500 …
Run Code Online (Sandbox Code Playgroud)

upgrade package-management dependencies python3

7
推荐指数
1
解决办法
1万
查看次数