Lua alternatives links are wrong. They should be updated to 5.3. $ ll /etc/alternatives/lua* lrwxrwxrwx 1 root root 15 mars 28 00:22 /etc/alternatives/lua -> /usr/bin/lua5.3 lrwxrwxrwx 1 root root 16 mars 28 00:22 /etc/alternatives/luac -> /usr/bin/luac5.3 $ ll /usr/bin/lua* -rwxr-xr-x 1 root root 24056 avril 4 08:35 /usr/bin/lua* lrwxrwxrwx 1 root root 6 avril 2 21:43 /usr/bin/lua-5.1 -> lua5.1* -rwxr-xr-x 1 root root 201280 avril 2 21:43 /usr/bin/lua5.1* -rwxr-xr-x 1 root root 192704 avril 4 08:35 /usr/bin/luac* lrwxrwxrwx 1 root root 7 avril 2 21:43 /usr/bin/luac-5.1 -> luac5.1* -rwxr-xr-x 1 root root 142032 avril 2 21:43 /usr/bin/luac5.1* $ rpm -q -f /usr/bin/lua* lua-5.4.3-4.mga9 lua5.1-5.1.5-20.mga9 lua5.1-5.1.5-20.mga9 lua-5.4.3-4.mga9 lua5.1-5.1.5-20.mga9 lua5.1-5.1.5-20.mga9
CC: (none) => boulshet
Alternatives support was dropped when lua was updated to 5.4. At the same time we dropped lua 5.2 and lua 5.3. Only the latest lua and lua5.1 are supported. /usr/bin/lua and /usr/bin/luac are always coming from the latest lua version we have and aren't alternatives symlinks anymore. Proper handling of all alternatives file removal is a bit problematic because of how lua was packaged earlier. I'll try to figure out how to handle updating from older releases better. At least we don't have %postun scriptlet errors or warnings anymore.
CC: (none) => jani.valimaa
Thanks for your learned comments, Jani. Makes me wonder whether this can be closed forthwith; or whether you prefer to leave it open until you manage to concoct something. Assigning to you because of your existing involvement & work on lua.
Assignee: bugsquad => jani.valimaa
why not just removing deprecated links in pre 5.4 install ?
Updating from mga8 should be now smooth. Cauldron users needs to remove leftover files by hand from /etc/alternatives and /var/lib/alternatives. This might also work even though it will output a warning. # update-alternatives --remove-all lua
Resolution: (none) => FIXEDStatus: NEW => RESOLVED