|
[Sponsors] |
[OpenFOAM.org] Redirection from https ..... openfoam.org ...... is forbidden |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 6, 2020, 00:42 |
Redirection from https ..... openfoam.org ...... is forbidden
|
#1 |
New Member
Alan Erickson
Join Date: Apr 2020
Posts: 1
Rep Power: 0 |
Trying to do my first openfoam install on ubuntu 18.04 and running into the error below. Thought it might be something with my isp and so I tried a vpn but that didn't help. Maybe something with my router, which is pfsense? Any help would be appreciated. Thanks.
Code:
root@alan-HP-ProDesk-400-G4-MT:~# sudo add-apt-repository http://dl.openfoam.org/ubuntu Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease Hit:3 http://dl.openfoam.org/ubuntu bionic InRelease Hit:4 http://dl.google.com/linux/chrome/deb stable Release Hit:5 http://us.archive.ubuntu.com/ubuntu bionic InRelease Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:8 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:9 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease Ign:2 https://www.openfoam.org/download/ubuntu bionic InRelease Err:10 https://www.openfoam.org/download/ubuntu bionic Release Redirection from https to 'http://dl.openfoam.org/ubuntu/dists/bionic/Release' is forbidden [IP: 52.56.138.82 443] Reading package lists... Done E: The repository 'http://www.openfoam.org/download/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. |
|
October 13, 2020, 17:47 |
|
#2 |
New Member
Nolan
Join Date: Oct 2020
Posts: 1
Rep Power: 0 |
Better super late than never. I've just completed my first OpenFOAM (and HELYX-OS) install on Ubuntu 20.04, and ran into the same problem along the way.
The problem is that add-apt-repository, by default, doesn't allow redirection from https to http URLs. I have no idea why parts of the OpenFOAM repo are not secure. Check out these documentation pages for add-apt-repository:
You need to copy /usr/share/doc/apt/examples/apt.conf to /etc/apt/ and add 'AllowInsecureRepositories "true";' within the 'Acquire' group. I also commented out all of the other sample options. |
|
October 14, 2020, 05:38 |
|
#3 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
Hi Nolan, Do we have any of the same issues with the openfoam-com version? https://develop.openfoam.com/Develop...ompiled/debian Thanks in advance. /mark |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM.com versus OpenFOAM.org: Which version to use? | wyldckat | OpenFOAM | 19 | March 25, 2023 08:50 |