SCIENTIFIC-LINUX-USERS Archives

June 2007

SCIENTIFIC-LINUX-USERS@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:
John Summerfield <[log in to unmask]>
Reply To:
John Summerfield <[log in to unmask]>
Date:
Thu, 21 Jun 2007 07:04:29 +0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (81 lines)
Troy Dawson wrote:
> John Summerfield wrote:
>> John Summerfield wrote:
>>> Paul A. Rombouts wrote:
>>>> John Summerfield wrote:
>>>> [snip]
>>>>> My immediate problem is my preferred browser is Mozilla - er - 
>>>>> Seamonkey. I couldn't find it with yum, nor with Google, nor can I 
>>>>> see that anyone's asked about it for SL5.
>>>>>
>>>>> Does anyone have it? or should I just build it myself? Might have a 
>>>>> src.rpm around here someplace....
>>>>>
>>>>
>>>> I had the same problem and I actually asked about seamonkey for SL5 on
>>>> this list before you did, John.
>>>>
>>>> I recommend building this src rpm from releases.mozilla.org:
>>>> http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.2/contrib/FC_RPMS/source/seamonkey-1.1.2-1.src.rpm 
>>>
>>>
>>>
>>>
>>> Hmm. A mere 34 mbytes. Okay, I pull bigger things through my modem. 
>>> Thanks Paul.
>>
>> Er:
>> 15:05 [summer@numbat ~]$ sudo rpm -Fvh 
>> /usr/src/redhat/RPMS/i386/seamonkey-1.1.2-1.i386.rpm /usr/src/re 
>>                        dhat/RPMS/i386/seamonkey-mail-1.1.2-1.i386.rpm 
>> /usr/src/redhat/RPMS/i386/seamonkey-chat-1.1.2-1.i386.rp                
>> m /usr/src/redhat/RPMS/i386/seamonkey-js-debugger-1.1.2-1.i386.rpm 
>> /usr/src/redhat/RPMS/i386/seamonkey- dom-inspector-1.1.2-1.i386.rpm
>> Password:
>> Preparing...                
>> ########################################### [100%]
>>    1:seamonkey              
>> ########################################### [ 50%]
>> error: %post(seamonkey-1.1.2-1.i386) scriptlet failed, exit status 255
>>    2:seamonkey-mail         
>> ########################################### [100%]
>> error: %post(seamonkey-mail-1.1.2-1.i386) scriptlet failed, exit 
>> status 255
>> error: %preun(seamonkey-1.0.8-0.2.el4.i386) scriptlet failed, exit 
>> status 255
>> 15:05 [summer@numbat ~]$
>>
>>
>> Is there a good way to see what the problem is?
>>
> 
> rpm -qp --scripts /usr/src/redhat/RPMS/i386/seamonkey-1.1.2-1.i386.rpm
> rpm -qp --scripts /usr/src/redhat/RPMS/i386/seamonkey-mail-1.1.2-1.i386.rpm
> 
> Note: You don't have to be root to look at the scripts.

That tells me why I can't see why some of them didn't work. But take 
this for example:
preuninstall scriptlet (using /bin/sh):
# is a final removal?
if [ "$1" == "0" ]; then
   /bin/rm -rf /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo
   /bin/rm -f /usr/lib/mozilla-seamonkey-1.0.8/chrome/*.rdf
fi

(it appears twice).
That should not produce any error unless something goes wrong and the 
only thing I can think of is that root cannot delete those files.



-- 

Cheers
John

-- spambait
[log in to unmask]  [log in to unmask]

Please do not reply off-list

ATOM RSS1 RSS2