CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

Errors while installing openfoam on ubuntu 12.04 AND 11.10

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree5Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   August 7, 2012, 07:06
Default
  #21
New Member
 
John Eckart
Join Date: Feb 2012
Posts: 4
Rep Power: 3
johneck is on a distinguished road
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.
johneck is offline   Reply With Quote

Old   August 7, 2012, 07:15
Default
  #22
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,337
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
Mmm... I understood from your description that the problem was that the words "lsb_release" appeared instead of "precise" during the update...
wyldckat is offline   Reply With Quote

Old   August 7, 2012, 07:48
Default
  #23
New Member
 
John Eckart
Join Date: Feb 2012
Posts: 4
Rep Power: 3
johneck is on a distinguished road
yes, but not in every case. It seemed that most of the fetch commands worked properly. Only a few had the problem.
johneck is offline   Reply With Quote

Old   August 25, 2012, 11:02
Default
  #24
New Member
 
Chris Pellegrino
Join Date: Aug 2012
Location: USA
Posts: 4
Rep Power: 2
crispy is on a distinguished road
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.
crispy is offline   Reply With Quote

Old   August 25, 2012, 13:41
Default
  #25
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,337
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
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
wyldckat is offline   Reply With Quote

Old   September 5, 2012, 00:18
Default
  #26
New Member
 
Chris Pellegrino
Join Date: Aug 2012
Location: USA
Posts: 4
Rep Power: 2
crispy is on a distinguished road
Dang - you guys are awesome. Thanks - worked.
crispy is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble installing OpenFoam 2.10 on Ubuntu 11.10 LucasCG OpenFOAM Installation 17 January 27, 2013 14:58
OpenFOAM 2.1 on Ubuntu SERVER 11.10 samiam1000 OpenFOAM Installation 2 March 7, 2012 02:40
openFOAM installation in ubuntu 11.10 kirubhakaran OpenFOAM Installation 5 February 17, 2012 02:16
.deb installation of OpenFOAM 2.1.0 on Ubuntu 11.10 (Oneiric Ocelot). kxk7607 OpenFOAM Installation 7 January 21, 2012 11:57
[SOLVED] Intel Compiler 12.1 + Ubuntu 11.10 (gcc 4.6) + OpenFOAM 2.0.x wyldckat OpenFOAM Installation 0 November 4, 2011 15:52


All times are GMT -4. The time now is 00:34.