Deb packages on Ubuntu 16.04: Problem with bash file
I installed OF on Ubuntu 16.04 LTS and it was not working properly. I realised then that two versions of OpenFoam were installed: 4 and -dev, I removed both and I tried to reinstall the former. However, after typing the commands:
sudo apt-get update I got the following error: > W: GPG error: https://apt.dockerproject.org/repo ubuntu-yakkety > InRelease: The following signatures couldn't be verified because the > public key is not available: NO_PUBKEY F76221572C52609D W: The > repository 'https://apt.dockerproject.org/repo ubuntu-yakkety > InRelease' is not signed. N: Data from such a repository can't be > authenticated and is therefore potentially dangerous to use. N: See > apt-secure(8) manpage for repository creation and user configuration > details. Furthermore, in my terminal these two messages appear: bash: /opt/openfoam-dev/etc/bashrc: No such file or directory bash: /opt/openfoam4/etc/bashr: No such file or directory And I don't know how to remove them. Can anyone help me to fix this? I would like to perform a correct installation once for all! |
or the first problem I think I have solved: it is sufficient to type
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys keyNo where the last "keyNo" is the missing key. As for the latter problem, opening the bash file and removing the last line(s) the problem desappears! |
Greetings f.fp and welcome to the forum!
Many thanks for letting us know how you solved your problems! Quote:
You can then source (active) one of the "bashrc" files for the OpenFOAM version that you want to use. If you want to be able to switch between versions of OpenFOAM, follow the instructions given here: https://openfoamwiki.net/index.php/I...nFOAM_versions Best regards, Bruno |
All times are GMT -4. The time now is 11:54. |