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 上安裝 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-libcogl15 libclutter-gtk-1.0-0 libclutter-1.0-0

這應該會更新所有未滿足的依賴項,以便您可以安裝 OpenFOAM 所需的所有軟體包。

祝你好運!

相關內容