08-01-2019, 04:09 PM
(08-01-2019, 09:02 AM)tuxd3v Wrote:(08-01-2019, 08:13 AM)g_t_j Wrote: Anyone could help with these dependecies...
When I run:
update-alternatives --install /usr/bin/lua lua /usr/bin/lua5.3 1
and
update-alternatives --install /usr/bin/luac luac /usr/bin/luac5.3 1
I get the following eeror:
update-alternatives: error: alternative link /usr/bin/lua is already managed by lua-interpreter
Subsequently, I can then install luarocks
apt-get install luarocks
but when I try to install ats with the following command
luarocks build https://raw.githubusercontent.com/tuxd3v...0.rockspec
I'm getting the missing dependiecies errors:
Missing dependencies for ats master-0:
lua >= 5.3 (5.1-1 provided by VM)
ats master-0 depends on lua >= 5.3 (5.1-1 provided by VM)
Error: Could not satisfy dependency lua >= 5.3: No results matching query were found
I obviously have done something wrongs as I previosuly had successfully installed ats a couple of times!
Any help will be greatly appreciated otherwise I have no choice but reinstalling the whole thing from scratch....
Hello g_t_j,
What is the output of:
Code:apt-get install --reinstall lua5.3 lua5.3-dev gcc make
Also after this, the output of:
Code:ls -l /usr/bin/lua{,c}
Regards,
Hello.
Thanks for your help!
output of the 1st command:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'liblua5.3-dev' for regex 'lua5.3-dev'
0 upgraded, 0 newly installed, 4 reinstalled, 0 to remove and 0 not upgraded.
Need to get 796 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main arm64 gcc arm64 4:6.3.0-4 [5204 B]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main arm64 liblua5.3-dev arm64 5.3.3-1 [418 kB]
Get:3 http://cdn-fastly.deb.debian.org/debian stretch/main arm64 lua5.3 arm64 5.3.3-1 [86.4 kB]
Get:4 http://cdn-fastly.deb.debian.org/debian stretch/main arm64 make arm64 4.1-9.1 [286 kB]
Fetched 796 kB in 1s (789 kB/s)
(Reading database ... 127082 files and directories currently installed.)
Preparing to unpack .../gcc_4%3a6.3.0-4_arm64.deb ...
Removing old gcc doc directory.
Unpacking gcc (4:6.3.0-4) over (4:6.3.0-4) ...
Preparing to unpack .../liblua5.3-dev_5.3.3-1_arm64.deb ...
Unpacking liblua5.3-dev:arm64 (5.3.3-1) over (5.3.3-1) ...
Preparing to unpack .../lua5.3_5.3.3-1_arm64.deb ...
Unpacking lua5.3 (5.3.3-1) over (5.3.3-1) ...
Preparing to unpack .../make_4.1-9.1_arm64.deb ...
Unpacking make (4.1-9.1) over (4.1-9.1) ...
Setting up make (4.1-9.1) ...
Setting up gcc (4:6.3.0-4) ...
Setting up liblua5.3-dev:arm64 (5.3.3-1) ...
Setting up lua5.3 (5.3.3-1) ...
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fb319f950>
Traceback (most recent call last):
File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fb319f950>
Traceback (most recent call last):
File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
output of the 2nd:
lrwxrwxrwx 1 root root 33 Aug 1 14:50 /usr/bin/lua -> /etc/alternatives/lua-interpreter
lrwxrwxrwx 1 root root 30 Aug 1 14:50 /usr/bin/luac -> /etc/alternatives/lua-compiler