Bug 1372262

Summary: Broken dependencies in glibc-all-langpacks
Product: [Fedora] Fedora Reporter: Matej Habrnal <mhabrnal>
Component: glibcAssignee: Carlos O'Donell <codonell>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: arjun.is, codonell, dj, fweimer, jakub, law, mfabian, pfrankli, siddhesh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-01 09:47:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Matej Habrnal 2016-09-01 09:37:18 UTC
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:

Comment 1 Florian Weimer 2016-09-01 09:47:19 UTC
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).

Comment 2 Matej Habrnal 2016-09-05 12:18:21 UTC
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.

Comment 3 Florian Weimer 2016-09-05 12:19:33 UTC
(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).