saving . . . saved Installation problem in OpenFoam has been deleted. Installation problem in OpenFoam has been hidden .
Installation problem in OpenFoam
Title
Question

Dear Sir,

I have used Synaptic Package Manager to install OpenFoam. It failed with errors. Following is the list of errors.


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libx/libxt/libxt-dev_1.1.1-2_i386.deb
Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libi/libibverbs/libibverbs1_1.1.3-2ubuntu1_i386.deb
Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/o/openmpi/libopenmpi1.3_1.4.3-2.1ubuntu1_i386.deb
Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/s/scotch/libscotch-5.1_5.1.11.dfsg-7_i386.deb
Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/s/scotch/libptscotch-5.1_5.1.11.dfsg-7_i386.deb
Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/o/openmpi/openmpi-common_1.4.3-2.1ubuntu1_all.deb
Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libi/libibverbs/libibverbs-dev_1.1.3-2ubuntu1_i386.deb
Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/o/openmpi/libopenmpi-dev_1.4.3-2.1ubuntu1_i386.deb
Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/m/mpi-defaults/mpi-default-dev_0.6ubuntu1_i386.deb
Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/z/zlib/zlib1g-dev_1.2.3.4.dfsg-3ubuntu3_i386.deb
Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/s/scotch/libscotch-dev_5.1.11.dfsg-7_i386.deb
Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/o/openmpi/openmpi-bin_1.4.3-2.1ubuntu1_i386.deb
Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]


W: Failed to fetch http://www.openfoam.org/download/ubuntu/./dists/oneiric/main/binary-i386/openfoam210_0-1_i386.deb
Could not connect to kaz.dl.sourceforge.net:80 (88.204.157.163). - connect (101: Network is unreachable)


W: Failed to fetch http://www.openfoam.org/download/ubuntu/./dists/oneiric/main/binary-i386/paraviewopenfoam3120_0-1_i386.deb
Unable to connect to kaz.dl.sourceforge.net:http:


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/s/scotch/libptscotch-dev_5.1.11.dfsg-7_i386.deb
Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/o/openmpi/openmpi-checkpoint_1.4.3-2.1ubuntu1_i386.deb
Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80]

Please suggest the solution. Thanks.


OpenFOAM General None min None sec 04-02-14, 11:05 a.m. arunendra kumar tiwari

Answers:

Dear Arunendra,

All the above errors are due to the proxy issues in your college. You can try installing OpenFOAM from source pack , but it will take about 5/6 hours. Follow the steps on this link : http://openfoam.org/download/source.php

I hope this works out for you.

Regards,

Rahul
06-02-14, 9:03 a.m. rahuljoshi


Dear Arunendra,

Please mention the version of Ubuntu you are using. Above error also states 'Network is unreachable'. So I am not sure if this is due to proxy. If at all you are behind a proxy-server, please use below syntax(in the terminal) :

export http_proxy="<username:password@Your-proxy-server-name-or address:proxy-port>/"
export https_proxy="<username:password@Your-proxy-server-name-or address:proxy-port>/"
export ftp_proxy="<username:password@Your-proxy-server-name-or address:proxy-port>/"
export socks_proxy="<username:password@Your-proxy-server-name-or address:proxy-port>/"

for example:

export http_proxy="<sachin:supersecretpassword@192.168.1.12:3128/"
export https_proxy="<sachin:supersecretpassword@192.168.1.12:3128/"
export ftp_proxy="<sachin:supersecretpassword@192.168.1.12:3128/"
export socks_proxy="<sachin:supersecretpassword@192.168.1.12:3128/"


Also you have to configure proxy for synaptic.

edit the file '/etc/apt/apt.conf' and put similar lines into it:

Acquire::http::proxy "Your-proxy-server-name-or address:proxy-port/";
Acquire::https::proxy "Your-proxy-server-name-or address:proxy-port/";
Acquire::ftp::proxy "Your-proxy-server-name-or address:proxy-port/";
Acquire::socks::proxy "Your-proxy-server-name-or address:proxy-port/";

for example:

Acquire::https:proxy "http://192.168.1.12:3128/";
Acquire::https:proxy "http://192.168.1.12:3128/";
Acquire::ftp::proxy "http://192.168.1.12:3128/";
Acquire::socks::proxy "http://192.168.1.12:3128/";
<span style="line-height: 1.428571429;"> </span>
14-02-14, 11:36 a.m. isachin


Log-in to answer to this question.