未满足的依赖关系-该怎么办?

未满足的依赖关系-该怎么办?
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:
 mplayer : Depends: libavcodec52 (>= 4:0.5.1-1) but it is not installable or
                    libavcodec-extra-52 (>= 4:0.5.1-1) but it is not installable
           Depends: libavformat52 (>= 4:0.5.1-1) but it is not installable or
                    libavformat-extra-52 (>= 4:0.5.1-1) but it is not installable
           Depends: libjack0 (>= 0.118+svn3796) but it is not installed
           Depends: libjpeg62 but it is not installed
           Depends: liblzo2-2 but it is not installed
           Depends: libmpcdec3 but it is not installable
           Depends: libx264-85 but it is not installable
           Recommends: apport-hooks-medibuntu but it is not installable
E: Unmet dependencies. Try using -f.

答案1

打开终端并运行:

sudo apt-get -f install

请小心它删除、更新和安装的软件包。如果您确定,请回答是并让它完成工作。如果您不确定,请在此处发布完整输出,我会尝试给您一些建议。

看来您添加了第三方存储库,但它与您的 Ubuntu 版本不太兼容。

添加第三方存储库时,请确保它与您现在运行的 Ubuntu 版本完全相同。另外,不要信任任何第三方存储库,因为它们可能会破坏您的系统。

相关内容