|
[Sponsors] |
[OpenFOAM.org] Deb packages on Ubuntu 16.04: Problem with bash file |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 17, 2017, 08:09 |
Deb packages on Ubuntu 16.04: Problem with bash file
|
#1 |
New Member
Join Date: Apr 2017
Posts: 2
Rep Power: 0 |
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! |
|
April 17, 2017, 11:51 |
|
#2 |
New Member
Join Date: Apr 2017
Posts: 2
Rep Power: 0 |
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! |
|
April 24, 2017, 14:31 |
|
#3 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
||
Tags |
bashrc, installation, openfoam 4.0, ubuntu 16.04 lts |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to calculate mass flow rate on patches and summation of that during the run? | immortality | OpenFOAM Post-Processing | 104 | February 16, 2021 09:46 |
[swak4Foam] Installation Problem with OF 6 version | Aurel | OpenFOAM Community Contributions | 14 | November 18, 2020 17:18 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |