Description of problem: sagemath requires only /usr/bin/lua, but scriptlet failes due missing posix package. so additional dependency is needed - lua-posix Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. dnf install sagemath 2. check output 3. dnf install lua{,=posix} 4. dnf install sagemath 5. check output Actual results: step 2: .... Total 2.9 MB/s | 640 MB 03:42 Running transaction check Error: transaction check vs depsolve: /usr/bin/lua is needed by sagemath-8.0-2.fc28.x86_64 To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'. You probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue. The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Expected results: dnf install sagemath passed for first time Additional info:
The lua scriptlet was removed some time ago. I do not believe that any currently supported version of Fedora (i.e., Fedora 29+) suffers from this problem. If that is wrong, please reopen this bug.