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

[OpenFOAM.org] Installation on Ubuntu Subsytem - Failed to fetch

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By engingreed

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2019, 12:52
Unhappy Installation on Ubuntu Subsytem - Failed to fetch
  #1
New Member
 
Semih
Join Date: Mar 2017
Posts: 6
Rep Power: 9
engingreed is on a distinguished road
Hello everyone,

Manytimes, I installed OpenFoam on my home computer and office pc. However, nowadays I can not re-install OpenFoam on my home pc. I tried everything and look at every forum. But I could not solve the problem. While I tried to install OF, I follow the instructures. But after, sudo apt-get update; I write the sudo apt-get -y install openfoam6 and I get this:
Code:
E: Failed to fetch https://netix.dl.sourceforge.net/pro...0620_amd64.deb  Could not handshake: The TLS connection was non-properly terminated. [IP: 87.121.121.2 443]
E: Failed to fetch https://netix.dl.sourceforge.net/pro...0221_amd64.deb  Could not handshake: The TLS connection was non-properly terminated. [IP: 87.121.121.2 443]E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
In upper lines I saw this:
Code:
Need to get 153 MB/318 MB of archives.
After this operation, 1929 MB of additional disk space will be used.
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgstreamer1.0-0 amd64 1.14.4-1~ubuntu18.04.1 [862 kB]Err:1 https://netix.dl.sourceforge.net/pro...am/foam/ubuntu bionic/main amd64 openfoam6 amd64 20190620
  Could not handshake: The TLS connection was non-properly terminated. [IP: 87.121.121.2 443]
Err:2 https://netix.dl.sourceforge.net/pro...am/foam/ubuntu bionic/main amd64 paraviewopenfoam56 amd64 0-20190221
  Could not handshake: The TLS connection was non-properly terminated. [IP: 87.121.121.2 443]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgstreamer-plugins-base1.0-0 amd64 1.14.4-1ubuntu1.1~ubuntu18.04.1 [684 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-54.58 [1004 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gstreamer1.0-plugins-base amd64 1.14.4-1ubuntu1.1~ubuntu18.04.1 [585 kB]
Fetched 3136 kB in 12s (257 kB/s)

Last edited by wyldckat; July 9, 2019 at 19:55. Reason: Added [CODE][/CODE] markers
engingreed is offline   Reply With Quote

Old   July 9, 2019, 19:56
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Quick answer: After a quick search for:
Code:
ubuntu wsl Could not handshake: The TLS connection was non-properly terminated.
it seems that it's due to a proxy error for HTTPS handling. Brief instructions on how to fix that are provided here: https://askubuntu.com/a/1014978
__________________
wyldckat is offline   Reply With Quote

Old   August 3, 2019, 11:45
Default
  #3
New Member
 
Semih
Join Date: Mar 2017
Posts: 6
Rep Power: 9
engingreed is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick answer: After a quick search for:
Code:
ubuntu wsl Could not handshake: The TLS connection was non-properly terminated.
it seems that it's due to a proxy error for HTTPS handling. Brief instructions on how to fix that are provided here: https://askubuntu.com/a/1014978
OK the problem was occured becaouse of my antivir-software. It solved now. Thank you.!!
wyldckat likes this.
engingreed is offline   Reply With Quote

Old   October 7, 2020, 15:06
Default
  #4
VVN
New Member
 
Vijay
Join Date: Feb 2020
Posts: 7
Rep Power: 6
VVN is on a distinguished road
I am getting the same error. Do I need to restart the process of installation from beginning or do we have any other solution? Please help
VVN is offline   Reply With Quote

Old   October 8, 2020, 08:58
Default
  #5
Member
 
Petros Ampatzidis
Join Date: Oct 2018
Location: Bath, UK
Posts: 64
Rep Power: 8
petros is on a distinguished road
Hi,

The error related to the initial post was due to the fact that an antivirus tool was blocking the installation.

If this is not the case for you, clean everything and restart the installation following step by step the respective guides. See here.

Best,
Petros
petros is offline   Reply With Quote

Old   October 8, 2020, 14:26
Default
  #6
VVN
New Member
 
Vijay
Join Date: Feb 2020
Posts: 7
Rep Power: 6
VVN is on a distinguished road
Thank you for reply. The error was due to bad network. But I restarted the process by entering:

sudo apt-get update

sudo apt-get -y install openfoam8

and it worked
VVN is offline   Reply With Quote

Old   June 17, 2021, 15:40
Default
  #7
New Member
 
Manaf Muhammed
Join Date: Oct 2018
Posts: 21
Rep Power: 8
manafaero is on a distinguished road
First Uninstall the OpenFOAM
https://askubuntu.com/questions/1246...g-from-openfoa

sudo apt-get clean

Then try Using
1. sudo apt-get update
2. sudo apt-get upgrade
Then try to reinstall Openfoam
manafaero is offline   Reply With Quote

Reply

Tags
err, openfoam6, windows 10


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
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel U.Golling OpenFOAM Running, Solving & CFD 52 September 23, 2023 04:35
Initial conditions for uniform flow andreas OpenFOAM 5 November 16, 2012 16:00
[OpenFOAM] ParaView/Parafoam error when making animation Disco_Caine ParaView 6 September 28, 2010 10:54
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31
user defined function cfduser CFX 0 April 29, 2006 11:58


All times are GMT -4. The time now is 07:21.