yum install mock Loaded plugins: langpacks, product-id, subscription-manager epel/x86_64/metalink | 19 kB 00:00:00 epel | 3.7 kB 00:00:00 (1/2): epel/x86_64/group_gz | 163 kB 00:00:00 (2/2): epel/x86_64/primary_db | 1.6 MB 00:00:10 Resolving Dependencies --> Running transaction check ---> Package mock.noarch 0:1.1.38-1.el7 will be installed --> Processing Dependency: python-decoratortools for package: mock-1.1.38-1.el7.noarch --> Processing Dependency: pigz for package: mock-1.1.38-1.el7.noarch --> Running transaction check ---> Package pigz.x86_64 0:2.2.5-2.el7 will be installed ---> Package python-decoratortools.noarch 0:1.8-6.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================= Installing: mock noarch 1.1.38-1.el7 epel 218 k Installing for dependencies: pigz x86_64 2.2.5-2.el7 epel 46 k python-decoratortools noarch 1.8-6.el7 epel 29 k Transaction Summary ============================================================================================================================================================= Install 1 Package (+2 Dependent packages) Total download size: 292 k Installed size: 819 k Is this ok [y/d/N]: y Downloading packages: (1/3): python-decoratortools-1.8-6.el7.noarch.rpm | 29 kB 00:00:00 (2/3): pigz-2.2.5-2.el7.x86_64.rpm | 46 kB 00:00:00 (3/3): mock-1.1.38-1.el7.noarch.rpm | 218 kB 00:00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 460 kB/s | 292 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum. Installing : python-decoratortools-1.8-6.el7.noarch 1/3 Installing : pigz-2.2.5-2.el7.x86_64 2/3 Installing : mock-1.1.38-1.el7.noarch 3/3 warning: %post(mock-1.1.38-1.el7.noarch) scriptlet failed, exit status 254 Non-fatal POSTIN scriptlet failure in rpm package mock-1.1.38-1.el7.noarch Verifying : pigz-2.2.5-2.el7.x86_64 1/3 Verifying : python-decoratortools-1.8-6.el7.noarch 2/3 Verifying : mock-1.1.38-1.el7.noarch 3/3 Installed: mock.noarch 0:1.1.38-1.el7 Dependency Installed: pigz.x86_64 0:2.2.5-2.el7 python-decoratortools.noarch 0:1.8-6.el7 Complete!
ohh and the reason is that: rpm -q --nosignature --qf "%{VERSION}" --whatprovides redhat-release return 7.0 not 7
Fixed in msuchy-work branch in commit 1494c39bf19e574d44bcc8fa1e69197c36d1627f
@Miroslav, that commit will not fix this bug across all RHEL versions. Please see 1090073 for a patch that will. *** This bug has been marked as a duplicate of bug 1090073 ***
mock-1.1.39-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.39-1.fc19
mock-1.1.39-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.39-1.el6
mock-1.1.39-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.39-1.fc20
mock-1.1.39-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.39-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.40-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.40-2.fc20
mock-1.1.40-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.40-2.fc19
mock-1.1.40-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.40-2.el6
mock-1.1.41-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.41-1.fc20
mock-1.1.41-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.41-1.fc19
mock-1.1.41-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.41-1.el6
mock-1.1.41-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.41-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.41-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.41-2.fc19
mock-1.1.41-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.41-3.fc19
mock-1.1.41-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.