On 12/02/2014 08:58 AM, Pat Riehecky wrote: > On 12/01/2014 05:02 PM, Pat Riehecky wrote: >> On 12/01/2014 04:43 PM, Orion Poplawski wrote: >>> On 12/01/2014 02:46 PM, Orion Poplawski wrote: >>>> On 12/01/2014 09:54 AM, Pat Riehecky wrote: >>>>> On 12/01/2014 10:43 AM, Orion Poplawski wrote: >>>>>> DEBUG util.py:283: /var/tmp/rpm-tmp.UX4TgJ: line 8: >>>>>> /usr/bin/mkdir: No such >>>>>> file or directory >>>>>> DEBUG util.py:283: /var/tmp/rpm-tmp.UX4TgJ: line 9: >>>>>> /usr/bin/chmod: No such >>>>>> file or directory >>>>>> DEBUG util.py:283: /var/tmp/rpm-tmp.UX4TgJ: line 11: >>>>>> /etc/yum/vars/slreleasever: No such file or directory >>>>>> DEBUG util.py:283: /var/tmp/rpm-tmp.UX4TgJ: line 12: >>>>>> /usr/bin/chmod: No such >>>>>> file or directory >>>>>> DEBUG util.py:283: warning: %post(sl-release-7.0-1.2.sl7.x86_64) >>>>>> scriptlet >>>>>> failed, exit status 127 >>>>>> DEBUG util.py:283: Non-fatal POSTIN scriptlet failure in rpm >>>>>> package >>>>>> sl-release-7.0-1.2.sl7.x86 >>>>>> >>>>>> Needs: >>>>>> >>>>>> Requires(post): coreutils >>>>>> >>>>>> and whatever provides /etc/yum/vars/slreleasever >>>>>> >>>>>> >>>>> hmmmm..... >>>>> >>>>> I show the correct requires around line 65 of >>>>> http://ftp.scientificlinux.org/linux/scientific/7/SRPMS/SL/sl-release-7.0-1.sl7.src.rpm >>>>> >>>>> which is the version you've got...... >>>>> >>>>> Pat >>>>> >>>> this is because of a dependency loop: >>>> >>>> glibc -> basesystem -> setup -> system-release/sl-release -> >>>> coreutils -> glibc >>>> >>>> I think you are going to need to not have scripts in sl-release. >>>> >>>> this is new in EL7 - >>>> https://bugzilla.redhat.com/show_bug.cgi?id=1075578 >>>> >>>> >>> I suspect this deploop is breaking other package scriptlets on >>> initial install: >>> >>> >>> 20:13:15,591 INFO packaging: /var/tmp/rpm-tmp.RLBzye: line 2: >>> /usr/sbin/groupadd: No such file or directory >>> 20:13:15,591 INFO packaging: /var/tmp/rpm-tmp.RLBzye: line 3: >>> /usr/sbin/groupadd: No such file or directory >>> 20:13:15,591 INFO packaging: warning: group utempter does not exist >>> - using root >>> 20:13:15,592 INFO packaging: warning: group utmp does not exist - >>> using root >>> 20:13:15,592 INFO packaging: warning: >>> %post(shared-mime-info-1.1-7.el7.x86_64) >>> scriptlet failed, exit status 127 >>> >>> 20:13:15,594 INFO packaging: /var/tmp/rpm-tmp.FTkn6y: line 3: >>> install: command >>> not found >>> 20:13:15,594 INFO packaging: warning: %post(pam-1.1.8-9.el7.x86_64) >>> scriptlet >>> failed, exit status 127 >> I believe I've got a trigger based solution working. Posted in sl-testing just a moment ago. The script's Requires should be met by what they trigger against, so I've excluded /bin/bash and coreutils from its Requires list. My testing seems to avoid the loop shown above (but it seems I was lucky and didn't hit it much before). Can I get few external testers looking at: sl-release-7.0-2.1.sl7.x86_64.rpm yum-conf-sl7x-7.0-2.1.sl7.noarch.rpm Pat -- Pat Riehecky Scientific Linux developer http://www.scientificlinux.org/