CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.com] The repo is not longer signed (OpenFOAM.com) (https://www.cfd-online.com/Forums/openfoam-installation/243709-repo-not-longer-signed-openfoam-com.html)

finzeo July 1, 2022 11:30

The repo is not longer signed (OpenFOAM.com)
 
Hi all,


I have already installed openfoam.com successfully months ago. Suddenly today trying to run sudo apt-get update from Ubuntu 18.04 I got the following error:



Code:

sudo apt-get update

Obj:1 http://ubuntu.unc.edu.ar/ubuntu bionic InRelease

Obj:2 http://ubuntu.unc.edu.ar/ubuntu bionic-updates InRelease

Obj:3 http://dl.openfoam.org/ubuntu bionic InRelease

Obj:4 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu bionic InRelease

Obj:5 http://ubuntu.unc.edu.ar/ubuntu bionic-backports InRelease

Obj:6 http://ubuntu.unc.edu.ar/ubuntu bionic-security InRelease

Des:8 https://mega.nz/linux/repo/xUbuntu_18.04 ./ InRelease [2.993 B]

Obj:9 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease

Ign:7 https://sourceforge.net/projects/openfoam/files/repos/deb bionic InRelease

Des:10 https://sourceforge.net/projects/openfoam/files/repos/deb bionic Release [1.881 B]

Ign:11 https://sourceforge.net/projects/openfoam/files/repos/deb bionic Release.gpg Reading package list... Done

E: The repository "https://dl.openfoam.com/repos/deb bionic Release" is not signed.

N: You can't update from a repository like this safely and so it's disabled by default.

N: See the apt-secure(8) man page for details on creating repositories and configuring users.

Obviously I have a signature problem. I can't find another person who had the same problem (only one, and it didn't solve the issue). Sorry if I'm not translating well from my Spanish.

Thanks in advance

olesen July 4, 2022 03:39

Just wild guessing, could see if your CA-certificates are expired. The coward's solution might be to upgrade to focal (20.04) or even jammy (22.04) and see if that is it.

finzeo July 4, 2022 10:00

Quote:

Originally Posted by olesen (Post 830938)
Just wild guessing, could see if your CA-certificates are expired. The coward's solution might be to upgrade to focal (20.04) or even jammy (22.04) and see if that is it.


Thanks. I tried running in the terminal "sudo update-ca-certificates" and nothing was added or removed. Also, I ran "sudo apt-get install ca-certificates" and find that the package is already updated to its latest version.
The strange thing is that it only happens to me with that repository added manually (I have added others manually), and I can't find anyone who has had the same problem in forums.

finzeo July 5, 2022 11:44

I was able to solve the problem by editing the corresponding line in /etc/apt/sources.list (in the particular case of OpenFOAM, which is what gave me problems, the file is /etc/apt/sources.list.d/openfoam.list). I added the trusted=yes option, as shown below:


Code:

deb [arch=amd64 trusted=yes] https://dl.openfoam.com/repos/deb bionic main
(do not copy the previous line as is, in case you are using another version of Ubuntu or some other difference; just add the trusted=yes option to what you already have)


All times are GMT -4. The time now is 01:24.