OpenFOAM231和Paraview410安装过程中出现的问题

OpenFOAM231和Paraview410安装过程中出现的问题

我刚刚在笔记本电脑的一个分区上安装了 Ubuntu 14.04 lts,在安装了几个应用程序后,我尝试按照其网站上的说明运行 OpenFOAM 的安装 -http://www.openfoam.org/download/ubuntu.php 直到第 3 步,一切似乎都正常,但是当我输入时,sudo apt-get install paraviewopenfoam410我收到以下消息:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libcheese-gtk23 : Depends: libclutter-gtk-1.0-0 (>= 0.91.8) but it is not going to be installed
                   Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
 libcheese7 : Depends: libclutter-gst-2.0-0 (>= 0.10.0) but it is not going to be installed
              Depends: gstreamer1.0-clutter but it is not going to be installed
 libclutter-1.0-0 : Depends: libcogl-pango15 (>= 1.15.8) but it is not going to be installed
                    Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

我已经尝试了这里解释的一切 -添加 PPA 后如何解决未满足的依赖关系?- 但我无法解决这个问题。

答案1

我在 Ubuntu 14.04.2 lts 上安装 OpenFOAM2.3.1 时遇到了同样的问题,您必须手动更新所有未满足的依赖项。

尝试此链接在 Ubuntu 14.04 LTS 上安装 qt4

在您的终端(以 root 用户身份)输入命令:apt-get install libglew-dev libcheese7 libcheese-gtk23 libclutter-gst-2.0-0 libcogl15 libclutter-gtk-1.0-0 libclutter-1.0-0

这应该更新所有未满足的依赖项,以便您可以安装 OpenFOAM 所需的所有包。

祝你好运!

相关内容