CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Errors while installing openfoam on ubuntu 12.04 AND 11.10 (https://www.cfd-online.com/Forums/openfoam-installation/103129-errors-while-installing-openfoam-ubuntu-12-04-11-10-a.html)

johneck August 7, 2012 07:06

Actually the command to set the variable VERS worked as it was supposed to. The first thing I checked was to make sure that the variable was assigned correctly. It seemed to work for all but about 4 parts of the download when "update" was run.

wyldckat August 7, 2012 07:15

Mmm... I understood from your description that the problem was that the words "lsb_release" appeared instead of "precise" during the update...

johneck August 7, 2012 07:48

yes, but not in every case. It seemed that most of the fetch commands worked properly. Only a few had the problem.

crispy August 25, 2012 11:02

I too am having similar issues. I have Ubuntu 10.04 LTS running on a 64bit machine (dual boot alongside Windows.) Following the instructions in http://www.openfoam.org/download/ubuntu.php ends up having issues with the GET UPDATE command. All the lines referring to openfoam begin with Ign (Ignore I presume?) At the end it's trying to get "main Packages" and "-cs Packages" from www.openfoam.org lsb_release/ with Ign at the beginning of each line and finally says Err instead of Ign then "W: Failed to fetch" from the same locations when it tries to get the Packages.gz file (it tried to get it from /-cs/binary-amd64 and also from /main/binary-amd64/.)

Is this something going on at OpenFOAM's end and I should just try again later?

I don't know how to copy/paste from the terminal window, so please excuse the lack of detailed information.

wyldckat August 25, 2012 13:41

Greetings Chris and welcome to the forum!

You can copy from the from the terminal by pressing the key combination Ctrl+Shift+C
For pasting on the terminal you can use Ctrl+Shift+V
Selection is with the mouse. ;)

As for the commands for installing, try these instead:
Code:

VERS=$(lsb_release -cs)     
sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu $VERS main > /etc/apt/sources.list.d/openfoam.list"

Then proceed with the remaining commands. But if still doesn't work, you now know how to copy-paste from the terminal ;)

Best regards,
Bruno

crispy September 5, 2012 00:18

Dang - you guys are awesome. Thanks - worked.

makaveli_lcf November 19, 2013 09:52

For my problem with ATI radeon X1400 the following magic worked:

Quote:

sudo apt-get remove --purge xorg-driver-fglrx fglrx*
sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo apt-get remove --purge fglrx fglrx-amdcccle
sudo apt-get remove --purge fglrx-updates fglrx-amdcccle-updates
sudo dpkg-reconfigure xserver-xorg
+ reboot

Now it uses standard Radeon driver with GLX support.

Cheers,
Alex

aerothermal May 1, 2021 12:10

I just installed a brand new driver from NVIDIA.
I am using a NVIDIA Quadro 600

My OS is SUSE SLES 15 not Ubuntu!

Code:

(  4.058s) [paraview        ]vtkXOpenGLRenderWindow.:637    ERR| vtkXOpenGLRenderWindow (0x559c0d04a560): Cannot create GLX context.  Aborting.
SUSE does not have the command below:

Code:

VERS=$(lsb_release -cs)
Paraview is not working in SUSE SLES despite I installed it from Package Hub from SUSE SLES repository.


All times are GMT -4. The time now is 11:15.