0

I am trying to install Openfoam on Ubuntu (WSL2) My wsl installation is fine. I have no issues with that. Followed the guide to install Openfoam: Step 1:

curl -s https://dl.openfoam.com/add-debian-repo.sh | sudo bash

O/P:

Detected distribution code-name: noble
Overwrote /etc/apt/sources.list.d/openfoam.list
Importing openfoam gpg key... done
Overwrote /etc/apt/trusted.gpg.d/openfoam.gpg
Running apt-get update... done

The repository is setup! You can now install packages.

Step 2:

sudo apt-get install openfoam2412-default

O/P:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package openfoam2412-default

I tried to update:

sudo apt-get update

O/P:

Ign:1 https://sourceforge.net/projects/openfoam/files/repos/deb noble InRelease
Ign:1 https://sourceforge.net/projects/openfoam/files/repos/deb noble InRelease
Ign:1 https://sourceforge.net/projects/openfoam/files/repos/deb noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Err:1 https://sourceforge.net/projects/openfoam/files/repos/deb noble InRelease
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 104.18.12.149 443]
Hit:5 http://security.ubuntu.com/ubuntu noble-security InRelease
Reading package lists... Done
W: Failed to fetch https://dl.openfoam.com/repos/deb/dists/noble/InRelease  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 104.18.12.149 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.

I tried to also do:

sudo apt-get install ca-certificates

O/P:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20240203).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Has anyone else encountered this issue? any help is appreciated. Thank you

0 Answers0