[Bug 1780366] Re: sourcing in .bashrc error on windows Version 10.0.17134 Build 17134

Balint Reczey balint.reczey at canonical.com
Wed Mar 6 13:39:14 UTC 2019


The parentheses in the PATH elements need to be escaped, but please seek
for help with similar errors on users' forums instead of using the bug
tracker.

** Changed in: update-manager-core (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager-core in Ubuntu.
https://bugs.launchpad.net/bugs/1780366

Title:
  sourcing in .bashrc error on windows  Version 10.0.17134 Build 17134

Status in update-manager-core package in Ubuntu:
  Invalid

Bug description:
  I am running wsl with ubuntu 18.04(tried with 16.04 too). I installed OpenFoam and sourced it in .bashrc. 
  but when I run source $HOME/.bashrc, I get the error below.   

  -bash: eval: line 38: syntax error near unexpected token `('
  -bash: eval: line 38: `PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/ProgramData/Oracle/Java/javapath_target_313789484:/mnt/c/Program:Files:(x86)/Intel/iCLS:Client:Files/Intel/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:(x86)/Intel/Intel(R):Management:Engine:Components/DAL:Files/Intel/Intel(R):Components/IPT:(x86)/NVIDIA:Corporation/PhysX/Common:Files/Microsoft:SQL:Server/130/Tools/Binn:Server/120/Tools/Binn:Files/Git/cmd:Files/PuTTY:(x86)/Windows:Live/Shared:Files/Common:Files/Autodesk:Shared:(x86)/Autodesk/Backburner:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Users/delaq/AppData/Local/Microsoft/WindowsApps:/snap/bin:'
  -bash: eval: line 62: syntax error near unexpected token `('
  -bash: eval: line 62: `PATH=/home/dela/OpenFOAM/ThirdParty-v1806/platforms/linux64Gcc63/openmpi-1.10.4/bin:/home/dela/OpenFOAM/ThirdParty-v1806/platforms/linux64/gcc-6.3.0/bin:/home/dela/OpenFOAM/dela-v1806/platforms/linux64Gcc63DPInt32Opt/bin:/home/dela/OpenFOAM/site/v1806/platforms/linux64Gcc63DPInt32Opt/bin:/home/dela/OpenFOAM/OpenFOAM-v1806/platforms/linux64Gcc63DPInt32Opt/bin:/home/dela/OpenFOAM/OpenFOAM-v1806/bin:/home/dela/OpenFOAM/OpenFOAM-v1806/wmake:/home/dela/OpenFOAM/ThirdParty-v1806/platforms/linux64Gcc63/gperftools-2.5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/ProgramData/Oracle/Java/javapath_target_313789484:/mnt/c/Program:Files:(x86)/Intel/iCLS:Client:Files/Intel/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:(x86)/Intel/Intel(R):Management:Engine:Components/DAL:Files/Intel/Intel(R):Components/IPT:(x86)/NVIDIA:Corporation/PhysX/Common:Files/Microsoft:SQL:Server/130/Tools/Binn:Server/120/Tools/Binn:Files/Git/cmd:Files/PuTTY:(x86)/Windows:Live/Shared:Files/Common:Files/Autodesk:Shared:(x86)/Autodesk/Backburner:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Users/delaq/AppData/Local/Microsoft/WindowsApps:/snap/bin:'
  -bash: eval: line 38: syntax error near unexpected token `('
  -bash: eval: line 38: `PATH=/home/dela/OpenFOAM/ThirdParty-v1806/platforms/linux64Gcc63/gperftools-2.5/bin:/home/dela/OpenFOAM/ThirdParty-v1806/platforms/linux64Gcc63/openmpi-1.10.4/bin:/home/dela/OpenFOAM/ThirdParty-v1806/platforms/linux64/gcc-6.3.0/bin:/home/dela/OpenFOAM/dela-v1806/platforms/linux64Gcc63DPInt32Opt/bin:/home/dela/OpenFOAM/site/v1806/platforms/linux64Gcc63DPInt32Opt/bin:/home/dela/OpenFOAM/OpenFOAM-v1806/platforms/linux64Gcc63DPInt32Opt/bin:/home/dela/OpenFOAM/OpenFOAM-v1806/bin:/home/dela/OpenFOAM/OpenFOAM-v1806/wmake:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/ProgramData/Oracle/Java/javapath_target_313789484:/mnt/c/Program:Files:(x86)/Intel/iCLS:Client:Files/Intel/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:(x86)/Intel/Intel(R):Management:Engine:Components/DAL:Files/Intel/Intel(R):Components/IPT:(x86)/NVIDIA:Corporation/PhysX/Common:Files/Microsoft:SQL:Server/130/Tools/Binn:Server/120/Tools/Binn:Files/Git/cmd:Files/PuTTY:(x86)/Windows:Live/Shared:Files/Common:Files/Autodesk:Shared:(x86)/Autodesk/Backburner:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Users/delaq/AppData/Local/Microsoft/WindowsApps:/snap/bin'

  
  please I need help.
  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager-core/+bug/1780366/+subscriptions



More information about the foundations-bugs mailing list