|
[Sponsors] | |||||
|
|
|
#21 |
|
New Member
John Eckart
Join Date: Feb 2012
Posts: 4
Rep Power: 3 ![]() |
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.
|
|
|
|
|
|
|
|
|
#22 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,337
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Mmm... I understood from your description that the problem was that the words "lsb_release" appeared instead of "precise" during the update...
__________________
|
|
|
|
|
|
|
|
|
#23 |
|
New Member
John Eckart
Join Date: Feb 2012
Posts: 4
Rep Power: 3 ![]() |
yes, but not in every case. It seemed that most of the fetch commands worked properly. Only a few had the problem.
|
|
|
|
|
|
|
|
|
#24 |
|
New Member
Chris Pellegrino
Join Date: Aug 2012
Location: USA
Posts: 4
Rep Power: 2 ![]() |
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. |
|
|
|
|
|
|
|
|
#25 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,337
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
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" ![]() Best regards, Bruno
__________________
|
|
|
|
|
|
|
|
|
#26 |
|
New Member
Chris Pellegrino
Join Date: Aug 2012
Location: USA
Posts: 4
Rep Power: 2 ![]() |
Dang - you guys are awesome. Thanks - worked.
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |