|
[Sponsors] |
[OpenFOAM.org] Cannot Install Paraview 4.1.0 on Ubuntu 14.04 LTS |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 23, 2015, 23:03 |
Cannot Install Paraview 4.1.0 on Ubuntu 14.04 LTS
|
#1 |
New Member
Join Date: Feb 2013
Posts: 5
Rep Power: 13 |
Hello all! I am very new to both OpenFOAM and Ubuntu/Liinux.
(I have Ubuntu installed in a VMWare virtual machine on a mac running OSX 10.6.8 SL if that matters). I am following the instructions at: http://www.openfoam.org/download/ubuntu.php exactly. They are quite simple, so I am not sure what the problem is. OF seems to install correctly. However, when I run Code:
sudo apt-get install paraviewopenfoam410 Code:
saladsamurai@ubuntu:~$ 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. Code:
sudo apt-add-repository universe sudo apt-get update Last edited by Saladsamurai; February 24, 2015 at 22:21. |
|
February 24, 2015, 17:32 |
ParaView
|
#2 |
New Member
Sture Smidt
Join Date: Mar 2013
Posts: 27
Rep Power: 13 |
I have the exact same problem, please help.
Sture |
|
February 26, 2015, 23:01 |
|
#3 |
New Member
Join Date: Feb 2013
Posts: 5
Rep Power: 13 |
What is particularly bothersome is that I am following the instructions on the openFOAM website exactly. Why would they post incorrect instructions. Anyway, it seems like I am missing some dependencies. I an not sure, though, that I understand the syntax of the error.
I will edit this post later. I am using the app right now, which is awful. |
|
February 27, 2015, 01:20 |
|
#4 |
New Member
Join Date: Jun 2012
Posts: 11
Rep Power: 14 |
Same problem here. I think it has something to do with the ubuntu updates.
It works if I use an older ubuntu installation 14.04.1, do the updates and then install parafoam, but not with the actual one 14.04.2 wich you can download from www.ubuntu.com. |
|
February 27, 2015, 05:33 |
Ubuntu roll-back
|
#5 |
New Member
Sture Smidt
Join Date: Mar 2013
Posts: 27
Rep Power: 13 |
Is it possible to roll back the Ubuntu version?
Otherwise i am urgently needing a fix as I am in the middle of a commercial project. Sture |
|
February 27, 2015, 05:50 |
|
#6 |
New Member
Join Date: Jun 2012
Posts: 11
Rep Power: 14 |
You could use paraview instead of parafoam, this worked for me.
sudo apt-get install paraview parafoam is paraview with some little modifications. To use paraview with openfoam you have to run paraFoam -touch in your case directory to create a case.OpenFOAM file which can be opened with paraview. I don't know how to roll back Ubuntu except from a new installation. |
|
February 28, 2015, 16:30 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
------------- edit: see the next post for a simpler solution. ------------- [RANT] Sorry, I gotta start off by complaining about Ubuntu: it hasn't been the same since Canonical started investing time in their own "Unity" and "Mir" projects... with any luck, 15.04 will have these growth related issues solved... but I'm not counting on it. This to say that I suspect that this latest issue reported on this thread is actually the result from a fix to an issue that occurred in 14.04.1 or earlier, for which the fix actually breaks the package dependencies for ParaView 4.1.0 that is provided by OpenFOAM.org. Now, back to fixing this problem... [/RANT] I've installed Ubuntu 14.04.2 x86_64 (aka 64-bit) a couple of times on a virtual machine, to test this problem and to double-check if the fix I figured out works properly or not. I've followed the same installation instructions from http://www.openfoam.org/download/ubuntu.php - and I've gotten the same error message, namely: Code:
ofuser@ofuser-virtual-machine:~$ 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. Code:
sudo apt-get remove libcheese7 Anyway, by removing this package, the default Unity desktop will be broken and it will no longer be able to start the normal desktop after rebooting. Therefore, I've carefully tested the following instructions, therefore, please do not skip any of the steps (because if you do, it won't be my fault ):
Bruno
__________________
Last edited by wyldckat; February 28, 2015 at 20:20. Reason: see "edit:" |
|
February 28, 2015, 20:19 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
OK, I think I've figured it out. Here's the "easy" instructions, where there is no need to go around installing a 2nd desktop and no need to remove "libcheese7":
Code:
sudo apt-get download paraviewopenfoam410 --allow-unauthenticated sudo dpkg -i paraviewopenfoam410_0-1_amd64.deb sudo apt-get install qt4-dev-tools sudo dpkg -i paraviewopenfoam410_0-1_amd64.deb Last edited by wyldckat; March 1, 2015 at 05:06. Reason: fixed typo |
|
March 1, 2015, 07:18 |
It WORKS!
|
#10 |
New Member
Sture Smidt
Join Date: Mar 2013
Posts: 27
Rep Power: 13 |
Hi,
Thank you Wyldckat, it WORKS. I am happy again (and able to deliver to my customer)! Sture |
|
March 4, 2015, 16:06 |
|
#11 | |
New Member
Stefan
Join Date: Mar 2015
Location: Bavaria
Posts: 7
Rep Power: 11 |
Hi,
sadly I have the same problem as others. Unfortunately wyldckat's post did not solve the problem. Quote:
That's what I get when I want to start paraFoam Code:
deve@deve:~/OpenFOAM/deve-2.3.1/run/tutorials/incompressible/icoFoam/cavity$ paraFoam FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers ./Allwclean ./Allwmake Thanks in advance Last edited by deve; March 4, 2015 at 16:07. Reason: typo |
||
March 4, 2015, 17:41 |
|
#12 |
Senior Member
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 13 |
I solved this problem using synaptic instead of apt-get
Code:
sudo apt-get install synaptic Code:
sudo synaptic Anyone tried using vmware with paraviewopenfoam410? every time I install this package it won't let me boot to the graphical interface. It seems an odd problem with xorg dependencies |
|
March 6, 2015, 16:29 |
|
#13 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi ssss and deve,
@deve: Please provide more specific details on how you made your installation. In addition, please indicate if you have more than OpenFOAM version installed or not. @ssss: Thanks for the other solution! I didn't even remember about trying Synaptic to properly resolve dependencies! Quote:
Best regards, Bruno |
||
March 7, 2015, 21:53 |
Trouble after Install: Where is everything?
|
#14 | |
New Member
Join Date: Feb 2013
Posts: 5
Rep Power: 13 |
It's good to see that this thread is proving useful to others and it's not just my awful linux skills
I am still having some trouble, but I think it's down to 'operator error' now ... maybe someone can guide me a little here. As I said, I am pretty much new to all of this, so I think I am just in the weeds here.
It says to Quote:
When it says to "create a directory within the $HOME/OpenFOAM directory, "I naturally expect that there exists a directory named $HOME/OpenFOAM .... I cannot locate one anywhere ... actually, searching my machine using the Ubunuta search, I find nothing using the keywords 'openfoam' or 'foam' ... maybe I am not using the search function properly. Either way, in terminal, there is nothing openfoam related within my home directory. |
||
March 8, 2015, 09:12 |
|
#15 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Saladsamurai,
The idea is that if a folder doesn't exist yet, you should create it. In specific, if you run: Code:
mkdir -p $FOAM_RUN Code:
echo $FOAM_RUN Best regards, Bruno
__________________
|
|
March 8, 2015, 12:16 |
Directories and such...
|
#16 |
New Member
Sture Smidt
Join Date: Mar 2013
Posts: 27
Rep Power: 13 |
Hi,
Copy and paste the following in a terminal window: mkdir -p $FOAM_RUN and the directory is made for you... I did and it works. |
|
March 9, 2015, 03:32 |
|
#17 | |
New Member
Stefan
Join Date: Mar 2015
Location: Bavaria
Posts: 7
Rep Power: 11 |
Quote:
thanks for the answer: i followed the instructions given at the openfoam webpage http://www.openfoam.org/download/ubuntu.php I only tried to install ONE version of OpenFOAM and ParaFoam respectively. By now I used to install paraview, which helps a little, but I'm still struggling with ParaFoam |
||
March 9, 2015, 13:34 |
|
#18 | |
Senior Member
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 13 |
Quote:
Thank you for the comment about VMPlayer and the 3D acceleration. I used to have ubuntu 14.04.1 and it was practically imposible to use the UI without de 3D acceleration. But if a used the 3D acceleration then I couldn't use paraview. So there are two solutions
Code:
sudo apt-get install lubuntu-desktop Hope that now everyone can happily use VBox or VMware with ubuntu14.04 and responsive UI. Last edited by wyldckat; March 14, 2015 at 07:37. Reason: fixed broken links |
||
March 16, 2015, 11:15 |
|
#19 |
New Member
Stefan
Join Date: Mar 2015
Location: Bavaria
Posts: 7
Rep Power: 11 |
I tried it again today and it worked perfectly. I have no idea why but I guess that another weird Ubuntu update might have fixed it.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] not even starting on Ubuntu 14.04 LTS | jet_engine | OpenFOAM Installation | 0 | May 4, 2016 08:20 |
I cant find openfoam for ubuntu 14.04 LTS | seju | OpenFOAM Installation | 15 | August 30, 2014 13:07 |
How to Install Openfoam 2.2.2 in Ubuntu 14.04? | satty_00 | OpenFOAM Installation | 7 | May 18, 2014 11:04 |
Installation of OF 2.3.0 on Ubuntu 14.04 LTS | marluc | OpenFOAM Installation | 1 | May 15, 2014 09:38 |
[swak4Foam] Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 | kobayashi | OpenFOAM Community Contributions | 2 | January 5, 2014 18:33 |