Hide Forgot
Description of problem: I run: '$ sudo /usr/bin/mock -v -r fedora-25-x86_64 --install glibc-all-langpacks' on rhel6.8 and the command finished with error 30 because of a dependency error: Downloading packages: glibc-all-langpacks-2.24-3.fc25.x86_64.rpm Running transaction check ERROR You need to update rpm to handle: rpmlib(ScriptletExpansion) <= 4.9.0-1 is needed by glibc-all-langpacks-2.24-3.fc25.x86_64 RPM needs to be updated Version-Release number of selected component (if applicable): mock-1.2.20-1.el6.noarch How reproducible: always Steps to Reproduce: 1. install mock from epel-testing 2. run '$ sudo /usr/bin/mock -v -r fedora-25-x86_64 --install glibc-'all-langpacks 3. Additional info:
You need a newer yum version. Scriptlet expansion is an RPM feature approved for use in Fedora, so this is not a glibc bug. Even if we fixed this, you will likely run into other issues (such as bug 1360781, or the really old kernel in Red Hat Enterprise Linux 6).
I have the newest yum version installed: $ rpm -q yum yum-3.4.3-118.el6eng.noarch Also tried it with version 3.2.29-69.el6 with the same result.
(In reply to Matej Habrnal from comment #2) > I have the newest yum version installed: > $ rpm -q yum > yum-3.4.3-118.el6eng.noarch > > Also tried it with version 3.2.29-69.el6 with the same result. This yum bug has not been fixed (not even in Fedora).