Gerris flow solver Installation on Ubuntu

Asked by aossama

I am installing Gerris Flow Solver on Ubuntu and I followed the written steps on " http://gfs.sourceforge.net/wiki/index.php/Ubuntu/Debian_installation "

But when I typed: " sudo apt-get install {gerris,gfsview}-snapshot "

I got this message on the terminal:

"
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
  gerris-snapshot: Depends: libg2c0 (>= 1:3.4.4-5) but it is not installable
                   Depends: libopenmpi1 but it is not installable
E: Broken packages

 "

I tried to search for libg2c0 and libopenmpi1 on synaptic Package manager but I foud nothing, and i searched on the internet and tried to install these packages but there is an error somewhere.

If anyone knows a solution for this problem please tell me because i am beginner.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu yelp Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Try running the following commands instead:

sudo aptitude update

sudo aptitude install gerris

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#2

According to the following link, gerris is part of the science-engineering metapackage in Karmic Koala (Ubuntu 9.10):

http://packages.ubuntu.com/lt/karmic/misc/science-engineering

Revision history for this message
wojox (wojox) said :
#3

Note also that while the packages are nominally built for Ubuntu Hardy (8.04), they should install and run fine on both Intrepid (8.10) and Jaunty (9.04).

Revision history for this message
aossama (ahmed-ossama-ghanem) said :
#4

I tried the commands:

sudo aptitude update

sudo aptitude install gerris

But I got this message:

"
E: Malformed line 56 in source list /etc/apt/sources.list (dist parse)
E: Malformed line 56 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
E: Malformed line 56 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
E: Malformed line 56 in source list /etc/apt/sources.list (dist parse)
E: Couldn't read list of package sources
"
I tried also to get and install the science-engineering metapackage using synaptic package manager but i got the same error.

Revision history for this message
aossama (ahmed-ossama-ghanem) said :
#5

Thanks for your answers

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#6

The error "E: Malformed line 56 in source list /etc/apt/sources.list (dist parse)" means that line 56 in /etc/apt/sources.list contains an error.

Use the following command to open the file (then find and remove the offending line):

gksudo gedit /etc/apt/sources.list

Revision history for this message
aossama (ahmed-ossama-ghanem) said :
#7

I removed line 56 and tried th command:

sudo aptitude update

and i removed the line 56 again but the same message appeared.
But this message appeared:

"
E: Malformed line 56 in source list /etc/apt/sources.list (dist parse)
E: Malformed line 56 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
E: Malformed line 56 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
E: Malformed line 56 in source list /etc/apt/sources.list (dist parse)
E: Couldn't read list of package sources

"
and i removed the line 56 again but the same message appeared.

Revision history for this message
aossama (ahmed-ossama-ghanem) said :
#8

I typed the commands again :

sudo aptitude update

sudo aptitude install gerris

And I searched for gerris in the menus but i didnt find it. But i found it installed in the synaptic package manager. I dont know how to open it.

Also I tried to install " gerris-snapshot " but i got this message:

"
 gerris-snapshot:
 Depends: libg2c0 (>=1:3.4.4-5) but it is not installable
 Depends: libopenmpi1 but it is not installable
 "
I dont know how to start gerris and how to install gerris-snapshot.

Any suggestions ? Thanks

Can you help with this problem?

Provide an answer of your own, or ask aossama for more information if necessary.

To post a message you must log in.