|
[Sponsors] |
July 27, 2011, 10:59 |
openfoam installation
|
#1 |
New Member
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 16 |
hello ! I am a bigginer in ubuntu
please help me I wanted to install openfoam 2.00 but I got an error with ( sudo apt-get update ) this is the error: E: Malformed line 61 in source list /etc/apt/sources.list (dist parse) E: The list of sources could not be read. then I typed the code :cat /etc/apt/sources.list and below is the out put: #deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://ir.archive.ubuntu.com/ubuntu/ natty main restricted deb-src http://ir.archive.ubuntu.com/ubuntu/ natty main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://ir.archive.ubuntu.com/ubuntu/ natty-updates main restricted deb-src http://ir.archive.ubuntu.com/ubuntu/ natty-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://ir.archive.ubuntu.com/ubuntu/ natty universe deb-src http://ir.archive.ubuntu.com/ubuntu/ natty universe deb http://ir.archive.ubuntu.com/ubuntu/ natty-updates universe deb-src http://ir.archive.ubuntu.com/ubuntu/ natty-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://ir.archive.ubuntu.com/ubuntu/ natty multiverse deb-src http://ir.archive.ubuntu.com/ubuntu/ natty multiverse deb http://ir.archive.ubuntu.com/ubuntu/ natty-updates multiverse deb-src http://ir.archive.ubuntu.com/ubuntu/ natty-updates multiverse ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://ir.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse # deb-src http://ir.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu natty-security main restricted deb-src http://security.ubuntu.com/ubuntu natty-security main restricted deb http://security.ubuntu.com/ubuntu natty-security universe deb-src http://security.ubuntu.com/ubuntu natty-security universe deb http://security.ubuntu.com/ubuntu natty-security multiverse deb-src http://security.ubuntu.com/ubuntu natty-security multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu natty partner # deb-src http://archive.canonical.com/ubuntu natty partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu natty main deb-src http://extras.ubuntu.com/ubuntu natty main deb http://www.openfoam.com/download/ubuntu maverick main deb http://www.openfoam.com/download/ubuntu maverick main deb http://www.openfoam.com/download/ubuntu main deb http://www.openfoam.com/download/ubuntu maverick main deb http://www.openfoam.com/download/ubuntu maverick main now what shoud I do thanks |
|
July 29, 2011, 03:14 |
|
#2 |
Member
Jan Goebel
Join Date: Mar 2009
Location: Mannheim, Baden Wuerttemberg, Germany
Posts: 35
Rep Power: 17 |
Hi javad,
open a shell and become root by typing sudo -i. Then edit the file /etc/apt/sources.list with your favorite editor and remove all entries according to openfoam (the last five lines)--> close and save --> type: apt-get update (the error should now disappear) echo "deb http://www.openfoam.com/download/ubuntu maverick main">>/etc/apt/sources.list apt-get update apt-get install openfoam |
|
July 29, 2011, 09:24 |
hi jango
|
#3 |
New Member
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 16 |
excuseme I am abigginer in ubuntu please explian how i can edit the file /etc/apt/sources.list and how to remove all entries according to openfoam .
how can i save it? thanks a lot |
|
July 29, 2011, 09:36 |
|
#4 |
Senior Member
|
just type
gedit /etc/apt/sources.list remove the entries about openfoam then save. |
|
July 29, 2011, 09:41 |
of installation
|
#5 |
Member
Jan Goebel
Join Date: Mar 2009
Location: Mannheim, Baden Wuerttemberg, Germany
Posts: 35
Rep Power: 17 |
and see screenshot below how to open a console...
Have fun and a nice weekend, Jan |
|
July 29, 2011, 18:22 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
For the sake of completeness: And then run: Code:
gksu gedit /etc/apt/sources.list Best regards, Bruno
__________________
|
|
August 2, 2011, 06:10 |
hello friends
|
#7 |
New Member
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 16 |
my problem is solved
thanks for your detailed helps |
|
January 27, 2012, 11:31 |
|
#8 |
New Member
Danille7
Join Date: Jan 2012
Posts: 1
Rep Power: 0 |
Thanks for this info!
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam 2.0.0 installation | Jan_Peters | OpenFOAM Installation | 86 | April 27, 2012 05:32 |
Critical errors during OpenFoam installation in OpenSuse 11.0 | amscosta | OpenFOAM | 5 | May 1, 2009 14:06 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 04:48 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 18:07 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 14:25 |