Ububtu 未满足的依赖项

Ububtu 未满足的依赖项

我正在尝试在 Ubuntu 18.04 上配置虚幻引擎,当我运行时./Setup.sh,我收到一个具有未满足依赖项的包的错误:以下包具有未满足的依赖项:

libmono-system-web-extensions4.0-cil : Depends: libmono-system-drawing4.0-cil (>= 3.0.6) but it is not going to be installed
Depends: libmono-system-servicemodel4.0a-cil (>= 3.2.3) but it is not going to be installed
Depends: libmono-system-web-services4.0-cil (>= 1.0) but it is not going to be installed
Depends: libmono-system-web4.0-cil (>= 2.10.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我该如何解决这个问题?

这就是我所运行的apt-cache policy

libmono-system-web-extensions4.0-cil: Installed: (none) 
Candidate: 5.14.0.177-0xamarin3+ubuntu1604b1 
Version table: 5.14.0.177-0xamarin3+ubuntu1604b1 500
500 https://download.mono-project.com/repo/ubuntu stable-xenial/main amd64 Packages 
500 https://download.mono-project.com/repo/ubuntu stable-xenial/main i386 Packages 

答案1

尝试运行sudo apt install -f以修复损坏的包。

输出结果如下:

E: Sub-process /usr/bin/dpkg returned an error code (1)

相关内容