View Issue Details

IDProjectCategoryView StatusLast Update
0000381OpenFOAMBugpublic2012-01-09 17:56
Reporteruser321Assigned Tochris  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformVirtual box VMs on windows xpOSubuntu OS Version11.10
Summary0000381: cannot download openfoam v2.1.0
DescriptionFrom ubuntu, cannot download openfoam v2.1.0 as per web instructions below.
I think I still get the error that was fixed yesterday ??
000380: Latest Deb pack - 404 not found
Regards,
Floren

1.In a terminal window, add OpenFOAM to the list of repository locations for apt to search, by copying and pasting the following in a terminal prompt (Applications -> Accessories -> Terminal).

VERS=`lsb_release -cs`
sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu $VERS main > /etc/apt/sources.list.d/openfoam.list"
.
..Note 1: Line 1 stores the version name of your Ubuntu distribution (e.g. maverick) under $VERS, which is used in line 2
Note 2: This only needs to be done once for a given system

2.Update the apt package list to account for the new download repository location
.
sudo apt-get update.
 ..
3.Install OpenFOAM (210 in the name refers to version 2.1.0):

.


sudo apt-get install openfoam210
TagsNo tags attached.

Activities

chris

2012-01-07 10:15

manager   ~0000905

The openfoam210 package for ubuntu 11.10 is available and downloadable from the internet.

So perhaps there is something wrong with your apt setup. Please type the following in a terminal window. If it returns nothing, there is a problem with the setup of apt; if it returns something, I suspect a problem with your internet connection:

sudo apt-cache show openfoam210

wyldckat

2012-01-07 10:19

updater   ~0000906

Last edited: 2012-01-07 10:20

Hi! Here's a command that is useful for seeing the download link, which is also useful for diagnosing if that is a problem with the link generation:
apt-get -qq --print-uris install openfoam210

Oh, and the other possibility is that the VM itself doesn't have access to the internet...

user321

2012-01-07 23:55

  ~0000908

Hi, thanks to both of you for your help.
when I type in:
sudo apt-cache show openfoam210
It asks for my virual machine's password, then I get:
N: Unable to locate package openfoam210
E: No package found

when I type in:
apt-get -qq --print-uris install openfoam210
then I get:
E: Unable to locate package openfoam210

when I previously typed in:
sudo apt-get update
I got:a huge list of, with the last one before an error:
Hit http://security.ubuntu.com oneiric-security/universe translation-en
followed by:
Err http://www.openfoam.org lsb_release/-cs i386 Packages
  404 not found
then more messages

You may be right about something wrong with my internet access. I am putting all my messages into the internet from the same machine running windows xp, but from the virtual machine with Ubuntu, I get to the openfoam website fine, but when I click on the 'bug reporting' link, I get an Error across all the screen:
Blocked by Content security policy
This page has a content security policy that prevents it from being embedded in this way.
Firefox prevented this page from loading in this way because the page has a content security policy that disallows it.

Cheers,
Floren

user321

2012-01-08 03:27

  ~0000909

Hi, there was a link on the screen with the 'blocked by security policy' error, something about security. I clicked on it, and then I could get into the 'bugs' area. This note is typed in firefox in ubuntu in the virtual machine. I started again in the terminal from 1. to 3. notes to download openfoam2.1.0, but got the same errors, 404 etc
Cheers,
Floren

chris

2012-01-08 10:20

manager   ~0000910

It looks like you made a mistake when copying step 1 from the website. It requires backquotes `, not upright quotes '.

For your case, using 11.10 (oneiric), do the following to fix the problem. In a terminal, type:

sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu oneiric main > /etc/apt/sources.list.d/openfoam.list"

Then resume the instructions from step 2 (sudo apt-get update)

user321

2012-01-09 08:09

  ~0000911

Hi Chris, Thank you, that fixed it.
Cheers,
Floren

chris

2012-01-09 17:56

manager   ~0000913

Problem fixed.

Issue History

Date Modified Username Field Change
2012-01-07 08:57 user321 New Issue
2012-01-07 10:15 chris Note Added: 0000905
2012-01-07 10:15 chris Assigned To => chris
2012-01-07 10:15 chris Status new => feedback
2012-01-07 10:19 wyldckat Note Added: 0000906
2012-01-07 10:20 wyldckat Note Edited: 0000906
2012-01-07 23:55 user321 Note Added: 0000908
2012-01-07 23:55 user321 Status feedback => assigned
2012-01-08 03:27 user321 Note Added: 0000909
2012-01-08 10:20 chris Note Added: 0000910
2012-01-09 08:09 user321 Note Added: 0000911
2012-01-09 17:56 chris Note Added: 0000913
2012-01-09 17:56 chris Status assigned => resolved
2012-01-09 17:56 chris Resolution open => fixed