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

[OpenFOAM.org] Redirection from https ..... openfoam.org ...... is forbidden

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2020, 00:42
Default Redirection from https ..... openfoam.org ...... is forbidden
  #1
New Member
 
Alan Erickson
Join Date: Apr 2020
Posts: 1
Rep Power: 0
alanerickson is on a distinguished road
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.
alanerickson is offline   Reply With Quote

Old   October 13, 2020, 17:47
Default
  #2
New Member
 
Nolan
Join Date: Oct 2020
Posts: 1
Rep Power: 0
CorsaGT is on a distinguished road
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.
CorsaGT is offline   Reply With Quote

Old   October 14, 2020, 05:38
Default
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,679
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by CorsaGT View Post
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.

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
olesen is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
OpenFOAM.com versus OpenFOAM.org: Which version to use? wyldckat OpenFOAM 19 March 25, 2023 08:50


All times are GMT -4. The time now is 00:33.