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

Trouble installing OpenFoam 2.10 on Ubuntu 11.10

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2012, 12:01
Default Trouble installing OpenFoam 2.10 on Ubuntu 11.10
  #1
New Member
 
Lucas Caetano Grosche
Join Date: Jan 2012
Posts: 3
Rep Power: 14
LucasCG is on a distinguished road
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
LucasCG is offline   Reply With Quote

Old   January 27, 2012, 12:55
Default
  #2
New Member
 
Zoltan Hernadi
Join Date: Jul 2010
Posts: 12
Rep Power: 15
zhernadi is on a distinguished road
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
zhernadi is offline   Reply With Quote

Old   January 27, 2012, 13:31
Default
  #3
Member
 
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 15
Leech is on a distinguished road
Hi,

i got the same problem. Just found this:http://changelog.complete.org/archiv...-authenticated
But it dodtn helped?

Any suggestions?
Leech is offline   Reply With Quote

Old   January 27, 2012, 13:42
Default
  #4
Member
 
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 15
Leech is on a distinguished road
Quote:
Originally Posted by LucasCG View Post
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


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!
Leech is offline   Reply With Quote

Old   January 27, 2012, 13:54
Default
  #5
New Member
 
Lucas Caetano Grosche
Join Date: Jan 2012
Posts: 3
Rep Power: 14
LucasCG is on a distinguished road
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
LucasCG is offline   Reply With Quote

Old   January 27, 2012, 13:55
Default
  #6
Member
 
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 15
Leech is on a distinguished road
Quote:
Originally Posted by LucasCG View Post
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
yes
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
Leech is offline   Reply With Quote

Old   January 27, 2012, 14:20
Thumbs up
  #7
New Member
 
Lucas Caetano Grosche
Join Date: Jan 2012
Posts: 3
Rep Power: 14
LucasCG is on a distinguished road
Hi everybody,

The OpenFoam is working now.

Thanks for helping!
LucasCG is offline   Reply With Quote

Old   January 28, 2012, 15:12
Default
  #8
New Member
 
Join Date: Jan 2012
Posts: 1
Rep Power: 0
Krøllebølle is on a distinguished road
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




Quote:
Originally Posted by LucasCG View Post
Hi everybody,

The OpenFoam is working now.

Thanks for helping!
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 15:30.
Krøllebølle is offline   Reply With Quote

Old   January 28, 2012, 17:43
Default
  #9
Member
 
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 15
Leech is on a distinguished road
Quote:
Originally Posted by Krøllebølle View Post
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!


http://www.openfoam.com/mantisbt/view.php?id=399

Bruno wrote an answer there. Hope this gets fixed soon.
Leech is offline   Reply With Quote

Old   January 28, 2012, 19:16
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

Quote:
Originally Posted by Leech View Post
http://www.openfoam.com/mantisbt/view.php?id=399

Bruno wrote an answer there. Hope this gets fixed soon.
I only wrote more debugging notes about this issue. Right now there is no quick fix, all thanks to Sourceforge.net having changed their mirror management system

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
It's not very pretty, but it does the trick And when I say "copy-pasting", I do mean literally copy-pasting these lines, because if you mistype any character, it will not work

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 28, 2012, 23:59
Default
  #11
Member
 
Joe
Join Date: Dec 2011
Location: Groton, CT
Posts: 69
Rep Power: 14
jferrari is on a distinguished road
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?
jferrari is offline   Reply With Quote

Old   January 29, 2012, 04:21
Default
  #12
Member
 
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 15
Leech is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings to all!


I only wrote more debugging notes about this issue.

yes, right sorry
Leech is offline   Reply With Quote

Old   January 29, 2012, 09:42
Default
  #13
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!
Quote:
Originally Posted by jferrari View Post
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?
Same happened to me, but only after I had already downloaded the packages. Try running these commands:
  • To see the URL that apt-get shows us:
    Code:
    apt-get -qq --print-uris install openfoam210
  • You can check if the packages are already present in the cache folder:
    Code:
    ls -l /var/cache/apt/archives/
Nonetheless, a (somewhat temporary) solution has been implemented. You should be able to use the official instructions without any problems... albeit perhaps a bit slow, depending on the country you're downloading from.

Quote:
Originally Posted by Leech View Post
yes, right sorry
No problem! Apparently your guess was right, because a solution has been put into effect thanks to my debugging

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 26, 2013, 15:14
Default
  #14
New Member
 
David Walsh
Join Date: Jan 2013
Location: Ireland
Posts: 3
Rep Power: 13
WalshD is on a distinguished road
Quote:
Originally Posted by zhernadi View Post
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
I've been having a similar problem to the original poster so have downloaded the files. My problem now is that I can't put them into the folder mentioned above, I get a permission denied error message.

Would anyone know why this is? Or how to get around it?

I'm completely new to Ubuntu.
WalshD is offline   Reply With Quote

Old   January 26, 2013, 15:19
Default
  #15
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   January 26, 2013, 16:58
Default
  #16
New Member
 
David Walsh
Join Date: Jan 2013
Location: Ireland
Posts: 3
Rep Power: 13
WalshD is on a distinguished road
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
WalshD is offline   Reply With Quote

Old   January 27, 2013, 13:55
Default
  #17
New Member
 
David Walsh
Join Date: Jan 2013
Location: Ireland
Posts: 3
Rep Power: 13
WalshD is on a distinguished road
I un installed Ubuntu 12.10 and installed v12.04 LTS to which there was no problems installeding OpenFOAM 2.1.1.
WalshD is offline   Reply With Quote

Old   January 27, 2013, 14:58
Default
  #18
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi David,

Quote:
Originally Posted by WalshD View Post
I un installed Ubuntu 12.10 and installed v12.04 LTS to which there was no problems installeding OpenFOAM 2.1.1.
Thanks for the feedback! I'm glad it's working. I was starting to get worried that there was another problem with the Sourceforge.net website...

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
err installingopenfoam2.1

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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 05:11
.deb installation of OpenFOAM 2.1.0 on Ubuntu 11.10 (Oneiric Ocelot). kxk7607 OpenFOAM Installation 7 January 21, 2012 11:57
Compiling OpenFOAM 1.7.1 on Ubuntu 10.10 samiam1000 OpenFOAM Installation 4 November 24, 2010 08:00
Installing OpenFOAM 1.7.0 on Ubuntu Hardy 64bit nuovodna OpenFOAM 2 July 1, 2010 09:24
Trouble with installing OpenFOAM on Ubuntu Milos OpenFOAM Installation 16 November 16, 2009 02:44


All times are GMT -4. The time now is 04:37.