SCIENTIFIC-LINUX-DEVEL Archives

December 2014

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Pat Riehecky <[log in to unmask]>
Reply To:
Pat Riehecky <[log in to unmask]>
Date:
Tue, 2 Dec 2014 08:58:12 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (92 lines)
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
>
> ..... blast
>
> I'll see if I can get a workaround put together tomorrow.....
>
> Pat
>

Clever tricks with OrderWithRequires do not resolve.

Looks like experimenting with a trigger is in the future to see if this 
can be further pushed down the line....

Pat

-- 
Pat Riehecky

Scientific Linux developer
http://www.scientificlinux.org/

ATOM RSS1 RSS2