|
[Sponsors] |
Trouble installing OpenFoam 2.10 on Ubuntu 11.10 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 27, 2012, 13:01 |
Trouble installing OpenFoam 2.10 on Ubuntu 11.10
|
#1 |
New Member
Lucas Caetano Grosche
Join Date: Jan 2012
Posts: 3
Rep Power: 14 |
Hi everybody,
I'm trying to install OpenFoam 2.10 on Ubuntu 11.10 but I've got stuck in a error and I'm not being able to find out any solution. Can someone help me, please? The error message i get is this: WARNING: The following packages cannot be authenticated! openfoam210 Install these packages without verification [y/N]? y Err http://www.openfoam.org/download/ubuntu/ oneiric/main openfoam210 i386 0-1 Got a single header line over 360 chars Failed to fetch http://www.openfoam.org/download/ubu...0_0-1_i386.deb Got a single header line over 360 chars E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Can someone help me with that? Thanks, Lucas |
|
January 27, 2012, 13:55 |
|
#2 |
New Member
Zoltan Hernadi
Join Date: Jul 2010
Posts: 12
Rep Power: 16 |
Hello Lucas,
Try manually downloading the .deb file. Move it to /var/cache/apt/archives/ (e.g. sudo mv openfoam210*.deb /var/cache/apt/archives/) then try again: sudo apt-get install openfoam210 Zoltan |
|
January 27, 2012, 14:31 |
|
#3 |
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 16 |
Hi,
i got the same problem. Just found this:http://changelog.complete.org/archiv...-authenticated But it dodtn helped? Any suggestions? |
|
January 27, 2012, 14:42 |
|
#4 | |
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 16 |
Quote:
Hey! I found it! Use the second link of the error message. Youll get the right .deb. Move it to /var/cache.. just as posted. Then install again. Worked! |
||
January 27, 2012, 14:54 |
|
#5 |
New Member
Lucas Caetano Grosche
Join Date: Jan 2012
Posts: 3
Rep Power: 14 |
Hi Zoltan,
Thanks for answering my question, but i still have the same problem . As you see below I tried to download the file and again it gave me an error message: administrator@ubuntu:~$ sudo apt-get download openfoam210 Err Downloading openfoam210 0-1 Got a single header line over 360 chars Is there any other way to download manually the .deb file? Thanks, Lucas |
|
January 27, 2012, 14:55 |
|
#6 | |
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 16 |
Quote:
use this link as i wrote before: http://www.openfoam.org/download/ubu...0_0-1_i386.deb u download the file over your browser, then move it to the apt/archives folder and then type install |
||
January 27, 2012, 15:20 |
|
#7 |
New Member
Lucas Caetano Grosche
Join Date: Jan 2012
Posts: 3
Rep Power: 14 |
Hi everybody,
The OpenFoam is working now. Thanks for helping! |
|
January 28, 2012, 16:12 |
|
#8 |
New Member
Join Date: Jan 2012
Posts: 1
Rep Power: 0 |
Nevermind this post, I downloaded the wrong file. I'll leave for records in case anyone does the same. I downloaded this file:
http://sourceforge.net/projects/foam...se_mirror=kent but this one worked for me: http://sourceforge.net/projects/foam...se_mirror=garr It still isn't working for me even though I have downloaded the deb packaged and put it in the /var/cache/.. directory. I use Ubuntu oneiric and the file openfoam.list in /etc/apt/sources.list.d/ contains "deb http://www.openfoam.org/download/ubuntu oneiric main". I have tried to sudo apt-get update before using sudo apt-get install openfoam210, but I still get the error message: After this operation, 452 MB of additional disk space will be used. Do you want to continue [Y/n]? y WARNING: The following packages cannot be authenticated! openfoam210 Install these packages without verification [y/N]? y Err http://www.openfoam.org/download/ubuntu/ oneiric/main openfoam210 amd64 0-1 Got a single header line over 360 chars Failed to fetch http://www.openfoam.org/download/ubu..._0-1_amd64.deb Got a single header line over 360 chars E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? I appreciate any comments you may have! Last edited by Krøllebølle; January 28, 2012 at 16:30. |
|
January 28, 2012, 18:43 |
|
#9 | |
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 16 |
Quote:
http://www.openfoam.com/mantisbt/view.php?id=399 Bruno wrote an answer there. Hope this gets fixed soon. |
||
January 28, 2012, 20:16 |
|
#10 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Quote:
Well, expect perhaps copy-pasting these lines of code (for installing OpenFOAM 2.1.0 and ParaView 3.12.0 that goes along with it): Code:
sudo wget `apt-get -qq --print-uris install openfoam210 | sed "s='\(.*\)'.*=\1="` -P /var/cache/apt/archives/ sudo wget `apt-get -qq --print-uris install paraviewopenfoam3120 | sed "s='\(.*\)'.*=\1="` -P /var/cache/apt/archives/ sudo apt-get install openfoam210 paraviewopenfoam3120 Best regards, Bruno
__________________
|
||
January 29, 2012, 00:59 |
|
#11 |
Member
Joe
Join Date: Dec 2011
Location: Groton, CT
Posts: 69
Rep Power: 15 |
Bruno,
Trying your method, but I'm getting the following error from the first command wget: missing URL Usage: wget [OPTION]... [URL]... Try `wget --help' for more options. Do you know what this means? |
|
January 29, 2012, 05:21 |
|
#12 |
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 16 |
||
January 29, 2012, 10:42 |
|
#13 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Quote:
No problem! Apparently your guess was right, because a solution has been put into effect thanks to my debugging Best regards, Bruno
__________________
|
||
January 26, 2013, 16:14 |
|
#14 | |
New Member
David Walsh
Join Date: Jan 2013
Location: Ireland
Posts: 3
Rep Power: 13 |
Quote:
Would anyone know why this is? Or how to get around it? I'm completely new to Ubuntu. |
||
January 26, 2013, 16:19 |
|
#15 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings David and welcome to the forum!
It would help if you could detail what exact version of Ubuntu you are using and which version of OpenFOAM are you trying to install! Additionally, knowing what errors you're getting would also help. Nonetheless, if you are using Ubuntu 12.10 and trying to install OpenFOAM 2.1.1, try following the first couple of options given here: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.10 Best regards, Bruno
__________________
|
|
January 26, 2013, 17:58 |
|
#16 |
New Member
David Walsh
Join Date: Jan 2013
Location: Ireland
Posts: 3
Rep Power: 13 |
Hi Bruno, thanks for the welcome.
I've a windows operating system so have created a virtual machine that is now running Ubuntu 12.04 LTS (slowly) and I'm trying install OpenFOAM 2.1.1. I've followed the first and second step on the Ubuntu Deb Pack Installation page but get the error: W: Failed to fetch http://www.openfoam.org/download/ubu...-i386/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. Now I have downloaded the openfoam211_0-1_amd64.deb and the paraviewopenfoam3120_0-1_amd64.deb files but I can't seem to move them from the download folder to the vars/cache/apt/archives folder. I have tried a few other things today, been at it a couple of hours now, but none were successful. Edit: Actually I just checked and it's Ubuntu 12.10 I've installed, so I've uninstalled it and I'm now installing v12.04 LTS |
|
January 27, 2013, 14:55 |
|
#17 |
New Member
David Walsh
Join Date: Jan 2013
Location: Ireland
Posts: 3
Rep Power: 13 |
I un installed Ubuntu 12.10 and installed v12.04 LTS to which there was no problems installeding OpenFOAM 2.1.1.
|
|
January 27, 2013, 15:58 |
|
#18 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi David,
Quote:
Best regards, Bruno
__________________
|
||
Tags |
err installingopenfoam2.1 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] OpenFOAM 1.7.1 installation on LINUX UBUNTU 10.10 | electrosin | OpenFOAM Installation | 40 | May 31, 2016 06:11 |
.deb installation of OpenFOAM 2.1.0 on Ubuntu 11.10 (Oneiric Ocelot). | kxk7607 | OpenFOAM Installation | 7 | January 21, 2012 12:57 |
Compiling OpenFOAM 1.7.1 on Ubuntu 10.10 | samiam1000 | OpenFOAM Installation | 4 | November 24, 2010 09:00 |
Installing OpenFOAM 1.7.0 on Ubuntu Hardy 64bit | nuovodna | OpenFOAM | 2 | July 1, 2010 10:24 |
Trouble with installing OpenFOAM on Ubuntu | Milos | OpenFOAM Installation | 16 | November 16, 2009 03:44 |