In going to su (root) just started getting a lua version issue. Must be just a warning as I still went to root. Same message came up during dup update but didn’t stop everything.
See below:
(base) tom@mydesktop: ~ $ su -
Password:
/usr/bin/lua5.5: version mismatch: app. needs 504.0, Lua core provides 505.0
stack traceback:
[C]: in ?
[C]: in global 'require'
/usr/share/lua/5.4/posix/init.lua:23: in main chunk
[C]: in global 'require'
/usr/share/lmod/lmod/libexec/addto:65: in main chunk
[C]: in ?
/usr/bin/lua5.5: version mismatch: app. needs 504.0, Lua core provides 505.0
stack traceback:
[C]: in ?
[C]: in global 'require'
/usr/share/lua/5.4/posix/init.lua:23: in main chunk
[C]: in global 'require'
/usr/share/lmod/lmod/libexec/lmod:61: in main chunk
[C]: in ?
mydesktop:~ #
All available lua is installed. See below:
(base) tom@mydesktop: ~ $ szi lua
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
'lua' not found in package names. Trying capabilities.
'lua53' providing 'lua' is already installed.
'lua54' providing 'lua' is already installed.
'lua55' providing 'lua' is already installed.
'luajit' providing 'lua' is already installed.
Resolving package dependencies...
Nothing to do.
(base) tom@mydesktop: ~ $
This just started in the last day. I have made no purposeful change to anything login related. The same message came up during a “sudo zypper dup” this am. I didn’t capture the output surrounding that message. But that means It comes up more than when logging in.
In sudo zypper dup update, I also got same message and some additional ones. Perhaps these give some clue to cause. What logs might have some additional info?
194/201) Installing: nvidia-compute-G06-580.159.03-52.1.x86_64 ...............................................................................[done]
(195/201) Installing: nvidia-compute-utils-G06-580.159.03-52.1.x86_64 .........................................................................[done]
(196/201) Installing: nvidia-compute-G06-32bit-580.159.03-52.1.x86_64 .........................................................................[done]
(197/201) Installing: nvidia-userspace-meta-G06-580.159.03-51.1.x86_64 ........................................................................[done]
(198/201) Installing: nvidia-driver-G06-kmp-meta-580.159.03-51.1.x86_64 .......................................................................[done]
(199/201) Installing: MozillaThunderbird-openpgp-librnp-140.10.2-1.1.x86_64 ...................................................................[done]
/usr/bin/lua5.5: version mismatch: app. needs 504.0, Lua core provides 505.0
stack traceback:
[C]: in ?
[C]: in global 'require'
/usr/share/lua/5.4/posix/init.lua:23: in main chunk
[C]: in global 'require'
/usr/share/lmod/lmod/libexec/addto:65: in main chunk
[C]: in ?
/usr/bin/lua5.5: version mismatch: app. needs 504.0, Lua core provides 505.0
stack traceback:
[C]: in ?
[C]: in global 'require'
/usr/share/lua/5.4/posix/init.lua:23: in main chunk
[C]: in global 'require'
/usr/share/lmod/lmod/libexec/lmod:61: in main chunk
[C]: in ?
(200/201) Installing: MozillaThunderbird-140.10.2-1.1.x86_64 ..................................................................................[done]
/usr/bin/lua5.5: version mismatch: app. needs 504.0, Lua core provides 505.0
stack traceback:
[C]: in ?
[C]: in global 'require'
/usr/share/lua/5.4/posix/init.lua:23: in main chunk
[C]: in global 'require'
/usr/share/lmod/lmod/libexec/addto:65: in main chunk
[C]: in ?
/usr/bin/lua5.5: version mismatch: app. needs 504.0, Lua core provides 505.0
stack traceback:
[C]: in ?
[C]: in global 'require'
/usr/share/lua/5.4/posix/init.lua:23: in main chunk
[C]: in global 'require'
/usr/share/lmod/lmod/libexec/lmod:61: in main chunk
[C]: in ?
(201/201) Installing: MozillaFirefox-150.0.2-1.1.x86_64 .......................................................................................[done]
%transfiletriggerin(info-7.3-1.2.x86_64) script output:
install-info: warning: no info dir entry in `/usr/share/info/notes.info.gz'
Running post-transaction scripts ..............................................................................................................[done]
There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run 'zypper ps -s' to list these programs.
Since the last system boot core libraries or services have been updated.
Reboot is suggested to ensure that your system benefits from these updates.
(base) tom@mydesktop:
Another possible clue. In going to root w/o the (-) I don’t get message. Using su -, I get the message. So what gets run when you use su - ?
(base) tom@mydesktop: ~ $ su
Password:
(base) root@mydesktop: /home/tom $ su -
/usr/bin/lua5.5: version mismatch: app. needs 504.0, Lua core provides 505.0
stack traceback:
[C]: in ?
[C]: in global 'require'
/usr/share/lua/5.4/posix/init.lua:23: in main chunk
[C]: in global 'require'
/usr/share/lmod/lmod/libexec/addto:65: in main chunk
[C]: in ?
/usr/bin/lua5.5: version mismatch: app. needs 504.0, Lua core provides 505.0
stack traceback:
[C]: in ?
[C]: in global 'require'
/usr/share/lua/5.4/posix/init.lua:23: in main chunk
[C]: in global 'require'
/usr/share/lmod/lmod/libexec/lmod:61: in main chunk
[C]: i
@tckosvic do you not see the version difference in the output… AFAIK the default is lua 5.4 (It all I have installed), your alts is pointing at lua 5.5…
/usr/bin/lua5.5: version mismatch: /usr/share/lua/5.4/.....
Is the lua 5.5 from Tumbleweed or from a non standard repo…
I do see what it is saying re: version difference. But there are 3 lua versions installed as I showed in my first post. Something is calling wrong lua version for some reason and I can’t figure out what.
My system was updated from leap 15.6 to tumbleweed using opensise-migration-tool. All repos are standard tumbleweed repos as set up by openSUSE. I do have some special tumbleweed repos like science, games, etc. see below.
Maybe I should remove 5.3 and 5.5. Perhaps they can’t coexist. Especially if you only have 5.4.
@tckosvic the command I showed? /usr/bin/lua -v even then it’s pointing to 5.3, fix it up and should be fine as root user via update-alternatives command.