Anno domini 2019 Tue, 22 Oct 13:44:58 -0600
Jorge Padilla scripsit:
Hi Nik
Thanks for your advice
But now the script results in two errors:
Could not start tdestartupconfig. Check your installation. AND
Call to lnusertemp failed (temporary directory full?) Check your
installation
And this is observed in the shell:
./starttde
[starttde] Starting starttde.
[starttde] This script is ./starttde
[starttde] TDE version is R14.0.6
[starttde] TDE base directory is /opt/trinity
[starttde] TDEHOME is not set.
[starttde] Set TDEHOME to /home/jpadilla/.trinity.
[starttde] Setting TDEROOTHOME to /root/.trinity.
./starttde: line 22: test: too many arguments
./starttde: line 22: test: too many arguments
./starttde: line 46: test: too many arguments
./starttde: eval: line 55: syntax error near unexpected token `('
./starttde: eval: line 55: `export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/trinity/games:/usr/games:/usr/local/games:/mnt/c/Program:Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_1804.2019.521.0_x64__79rhkp1fndgsc:/mnt/c/Program:Files:(x86)/Common:Files/Oracle/Java/javapath:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program:Files/PuTTY:/mnt/c/Program:Files/Intel/WiFi/bin:/mnt/c/Program:Files/Common:Files/Intel/WirelessCommon:/mnt/c/Program:Files:(x86)/Microsoft:SQL:Server/150/DTS/Binn/:/mnt/c/Program:Files:(x86)/Common:Files/PCXTools:/mnt/c/Program:Files/Microsoft:SQL:Server/Client:SDK/ODBC/130/Tools/Binn:/mnt/c/Program:Files:(x86)/Microsoft:SQL:Server/140/Tools/Binn:/mnt/c/Program:Files/Microsoft:SQL:Server/140/Tools/Binn:/mnt/c/Program:Files/Microsoft:SQL:Server/140/DTS/Binn:/mnt/c/Program:Files/MacType:/mnt/c/Users/jorge.padilla/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program:Files:(x86)/Nmap:/snap/bin'
./starttde: line 22: test: too many arguments
./starttde: line 22: test: too many arguments
./starttde: line 46: test: too many arguments
./starttde: eval: line 55: syntax error near unexpected token `('
./starttde: eval: line 55: `export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/opt/trinity/bin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program:Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_1804.2019.521.0_x64__79rhkp1fndgsc:/mnt/c/Program:Files:(x86)/Common:Files/Oracle/Java/javapath:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program:Files/PuTTY:/mnt/c/Program:Files/Intel/WiFi/bin:/mnt/c/Program:Files/Common:Files/Intel/WirelessCommon:/mnt/c/Program:Files:(x86)/Microsoft:SQL:Server/150/DTS/Binn/:/mnt/c/Program:Files:(x86)/Common:Files/PCXTools:/mnt/c/Program:Files/Microsoft:SQL:Server/Client:SDK/ODBC/130/Tools/Binn:/mnt/c/Program:Files:(x86)/Microsoft:SQL:Server/140/Tools/Binn:/mnt/c/Program:Files/Microsoft:SQL:Server/140/Tools/Binn:/mnt/c/Program:Files/Microsoft:SQL:Server/140/DTS/Binn:/mnt/c/Program:Files/MacType:/mnt/c/Users/jorge.padilla/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program:Files:(x86)/Nmap:/snap/bin'
[starttde] XDG_DATA_DIRS:
/opt/trinity/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
sh: 1: tdedostartupconfig: not found
./starttde: line 450: test: : integer expression expected
./starttde: line 454: test: : integer expression expected
./starttde: line 500: tde-config: command not found
[starttde] TDEDIR: /opt/trinity
[starttde] TDEDIRS:
./starttde: line 629: lnusertemp: command not found
[starttde] Call to lnusertemp failed (temporary directories full?). Check
your installation.
"Wellcome to the bright world of shiny WindoZ(tm)! Now we have Linugs here, too!
Look, bash is working! And everything else! How shiny! No, don't look at the corner,
that's no dead cockroach there! That's a feature!"
Sorry, just could not resist. WSL is just like a visit at home depot: you almost get what
you want - but not quite. Just so much that it passes on first sight, but different enough
from you wanted,so you will have a hard time to get it working - if you get it working at
all.
The "eval test" does not call the bash/sh builtin "test" nor gnu test,
but a "windows improved" version. That's where your problems begin. Now you
can start to build a "sane" environment, e.g install coreutils etc. You can go
down that rabbit hole, but be prepared that it will take you "some" time to find
the exit to wonderland.
Alternative: for all lines with errors:
- change "eval test" to "test"
- change "eval export" to "export"
- change "lnusertemp" "/opt/trinity/bin/lnusertemp" (or wherever it is
in your system)
Oh, if it works, be prepared to modify all scripts accordingly.
Nik
Greetings
El mar., 22 de oct. de 2019 a la(s) 12:52, Dr. Nikolaus Klepp (
office(a)klepp.biz) escribió:
> Anno domini 2019 Tue, 22 Oct 12:01:04 -0600
> Jorge Padilla scripsit:
> > Hello
> >
> > Anoyone have tried to install TDE in Ubuntu WSL?
> >
> > I tried to start it but some errors arose:
> > :/opt/trinity/bin$ /opt/trinity/bin/starttde
> > [starttde] Starting starttde.
> > [starttde] This script is /opt/trinity/bin/starttde
> > [starttde] TDE version is R14.0.6
> > [starttde] TDE base directory is /opt/trinity
> > [starttde] TDEHOME is not set.
> > [starttde] Set TDEHOME to /home/jpadilla/.trinity.
> > [starttde] Setting TDEROOTHOME to /root/.trinity.
> > /opt/trinity/bin/starttde: 1: test:
> >
>
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program:
> > unexpected operator
> > /opt/trinity/bin/starttde: 1: test:
> >
>
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program:
> > unexpected operator
> > /opt/trinity/bin/starttde: 1: test:
> >
>
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program:
> > unexpected operator
> > /opt/trinity/bin/starttde: 1: eval: Syntax error: "(" unexpected
> >
> >
> > I can start kdesktop and twin and konqueror but not the whole desktop
> > experience.
> >
> > Can you help me?
> >
> > Greetings
> >
>
> Try to replace /bin/sh with /bin/bash.
>
> Nik
--
Please do not email me anything that you are not comfortable also sharing with the NSA,
CIA ...